0 votes
162 views
in Control panels by

We had a problem over the weekend with the python environment. We have made adjustments to the application but the error keeps appearing .

The question is to understand the problem since the environment and the version of python that we use are the recommended ones.
The system we have on the server is a simple catalog system with a ratio of 100 or more monthly users. We need to find stability in the environment since it is the tool that directly affects our sales team and the business.

I've seen some errors in the stderr.log file inside the website app folder that come from the system and I can't turn them off.

One is the message "[UID:1075][1280921] Child process with pid: 1281204 was killed by signal: 15, core dump: 0". It is like the process of php stopped with SIGTERM by the web server. This affects the performance because it's a process
that all the time writes/read the file.
The same with the message in line 8800 - "OSError: LSAPI: Socket read/write error", It is a bug that is currently affecting performance.

Are there factors that affect security in the environment where the app runs?

2 Answers

0 votes
by
 
Best answer

If you are receiving a SIGTERM signal in cPanel, there are a few steps you can take to try to fix the problem. Here are some potential solutions:

  • Restart the cPanel service: You can try restarting the cPanel service to see if that resolves the issue. To do this, log into your cPanel account and navigate to the "Services" section. From there, you can click the "Restart" button next to the cPanel service to restart it.
     
  • Check the cPanel logs: You can also check the cPanel logs to see if there is any information there that can help you troubleshoot the problem. To do this, log into your cPanel account and navigate to the "Logs" section. From there, you can access the logs for various cPanel services, including the cPanel service itself.
     
  • Contact your web host: If you are still unable to resolve the issue, you can contact your web host for assistance. They may be able to provide additional information or help you troubleshoot the problem.

It is also worth noting that receiving a SIGTERM signal can be caused by various factors, so the specific steps you need to take to fix the problem will depend on the specific cause of the signal. In some cases, optimizing the code that the affected process is running or adjusting the system's settings may be necessary to prevent the signal from being sent. In other cases, there may be other underlying issues that need to be addressed.

0 votes
by
A SIGTERM signal is a signal that is sent to a process to request that it terminate. This signal is typically sent by the operating system when it wants to kill a process, such as when the system is shutting down or when the process is using too many resources. In the case of the PHP process you mentioned, it is likely that the web server sent this signal to the process because it was using too many resources or for some other reason.

In general, receiving a SIGTERM signal can affect the performance of a process because it can cause the process to terminate unexpectedly. This can result in data loss or other issues, depending on the specific nature of the process and how it is being used. If the PHP process in question is critical to the operation of your system, it is important to investigate why it was terminated and take steps to prevent this from happening in the future. This might involve optimizing the code that the process is running, adjusting the system's settings, or taking other steps to ensure that the process has the resources it needs to run smoothly.

An OSError with the message "LSAPI: Socket read/write error" indicates that there was an error when reading from or writing to a socket. A socket is a network communication endpoint, and it is used by processes to send and receive data over a network.

The specific cause of this error can vary, but it typically indicates a problem with the network connection or with the process that is trying to read from or write to the socket. This could be due to a temporary network issue, a problem with the process itself, or some other issue.

To troubleshoot this error, you will need to gather more information about the specific context in which it is occurring. This might involve checking the network connection, looking at the logs for the process in question, or using other tools to diagnose the problem. Depending on the specific cause of the error, there may be different steps you can take to resolve it. In some cases, restarting the process or the network connection might be sufficient, but in other cases, you may need to take more extensive steps to fix the underlying issue.
...