Answer the question
In order to leave comments, you need to log in
How to solve the problem of hanging httpd daemons?
OS Centos 7
httpd (apache2) running in prefork mode. There is also a mod_ruid2 module to distinguish between virtual hosts for different users, the config is as follows:
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
<IfModule prefork.c>
StartServers 3
MinSpareServers 3
MaxSpareServers 10
ServerLimit 32
MaxClients 32
MaxRequestsPerChild 50
</IfModule>
Answer the question
In order to leave comments, you need to log in
this is the cpu and not the memory, he can’t release it, if something thinks it’s
logical that you broke the caching on the site, most likely
, you can profile it with the same xhprof
php.net/manual/ru/function.set-time-limit.php
UPD: onedev.net/post/502
Try writing a log, maybe the script is running, but it crashes
I also had a problem (albeit on debian) that the script is automatically launched using /bin/sh (which is linked from the box to dash, not bash) and as a result the script did not see the environment variables and crashed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question