PDA

View Full Version : Apache - caught SIGTERM, shutting down


noodly
04-15-2009, 08:50 PM
I have big problem with my apache server

When i stat it, it works perfect for about 5-10 minutes then everything is going down

In logs i can see:

[Tue Apr 14 21:53:59 2009] [error] could not make child process 1005 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 932 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1006 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1008 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1009 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1010 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1017 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1018 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1019 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1020 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1021 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1022 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1023 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [error] could not make child process 1024 exit, attempting to continue anyway
[Tue Apr 14 21:53:59 2009] [notice] caught SIGTERM, shutting down


for example strange is that:

[Wed Apr 15 15:12:36 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
[Wed Apr 15 15:12:36 2009] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Apr 15 15:12:36 2009] [notice] ModSecurity for Apache/2.5.9 (http://www.modsecurity.org/) configured.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/mhash.so' - Cannot open "/usr/local/lib/php/20060613/mhash.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/gettext.so' - Cannot open "/usr/local/lib/php/20060613/gettext.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/openssl.so' - Cannot open "/usr/local/lib/php/20060613/openssl.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/xml.so' - Cannot open "/usr/local/lib/php/20060613/xml.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/gd.so' - Cannot open "/usr/local/lib/php/20060613/gd.so" in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/curl.so' - Cannot open "/usr/local/lib/php/20060613/curl.so" in Unknown on line 0
[Wed Apr 15 15:17:24 2009] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 15 15:17:24 2009] [notice] Digest: done
[Wed Apr 15 15:17:24 2009] [notice] Apache/2.2.11 (FreeBSD) DAV/2 PHP/5.2.9 mod_ssl/2.2.11 OpenSSL/0.9.8e configured -- resuming normal operations
[Wed Apr 15 15:21:38 2009] [notice] child pid 1127 exit signal Segmentation fault (11)
[Wed Apr 15 15:28:15 2009] [notice] child pid 1084 exit signal Segmentation fault (11)
[Wed Apr 15 15:29:04 2009] [notice] child pid 1079 exit signal Segmentation fault (11)

and also server went down

If somebody know where is the problem ??

Sergik
04-17-2009, 01:12 AM
Check that you have enough resources.
Turn off the extensions that doesn't exist in /usr/local/lib/php/20060613/