From: niklas dot meyerson at natverkstan dot net Operating system: Debian 2.6 PHP version: 5.1.4 PHP Bug Type: Apache2 related Bug description: child pid xxx exit signal Segmentation fault (11)
Description: ------------ A couple of weeks ago I installed apache2 and php5.1.4 on our server. Every night since apache has crashed. In the errorlog for apache I see a couple of notices like this one: child pid 25354 exit signal Segmentation fault (11) And when I restarts apache the errorlog sais gives me lots of warnings: [warn] child process 4246 still did not exit, sending a SIGTERM And then errors: [error] child process 4246 still did not exit, sending a SIGKILL Reproduce code: --------------- I don't know what's causing it. Expected result: ---------------- No crash. Actual result: -------------- Error log: [Mon Jun 12 19:14:31 2006] [notice] child pid 5264 exit signal Segmentation fault (11) [Mon Jun 12 19:25:51 2006] [notice] child pid 5569 exit signal Segmentation fault (11) [Mon Jun 12 22:20:34 2006] [notice] child pid 6161 exit signal Segmentation fault (11) [Mon Jun 12 22:36:26 2006] [error] server reached MaxClients setting, consider raising the MaxClients setting [Tue Jun 13 02:07:36 2006] [notice] child pid 4845 exit signal Segmentation fault (11) [Tue Jun 13 02:50:37 2006] [notice] child pid 6989 exit signal Segmentation fault (11) [Tue Jun 13 03:03:58 2006] [notice] child pid 7067 exit signal Segmentation fault (11) [Tue Jun 13 03:09:16 2006] [notice] child pid 6451 exit signal Segmentation fault (11) At apache restart: [Tue Jun 13 11:05:25 2006] [warn] child process 4246 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 7104 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 7044 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 5450 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 4250 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 7058 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 6331 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 4708 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 4939 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 6332 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 5263 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 5731 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 5980 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 7133 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 5733 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 6545 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 7137 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 6162 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 6323 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:25 2006] [warn] child process 6311 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 4246 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 7104 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 7044 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 5450 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 4250 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 7058 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 6331 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 4708 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 4939 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 6332 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 5263 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 5731 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 5980 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 7133 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 5733 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 6545 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 7137 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 6162 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 6323 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:27 2006] [warn] child process 6311 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 4246 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 7104 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 7044 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 5450 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 4250 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 7058 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 6331 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 4708 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 4939 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 6332 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 5263 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 5731 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 5980 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 7133 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 5733 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 6545 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 7137 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 6162 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 6323 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:29 2006] [warn] child process 6311 still did not exit, sending a SIGTERM [Tue Jun 13 11:05:31 2006] [error] child process 4246 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 7104 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 7044 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 5450 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 4250 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 7058 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 6331 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 4708 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 4939 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 6332 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 5263 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 5731 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 5980 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 7133 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 5733 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 6545 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 7137 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 6162 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 6323 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:31 2006] [error] child process 6311 still did not exit, sending a SIGKILL [Tue Jun 13 11:05:32 2006] [notice] caught SIGTERM, shutting down [Tue Jun 13 11:05:41 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e configured -- resuming normal operations -- Edit bug report at http://bugs.php.net/?id=37793&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37793&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37793&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37793&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37793&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37793&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37793&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37793&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37793&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37793&r=support Expected behavior: http://bugs.php.net/fix.php?id=37793&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37793&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37793&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37793&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37793&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37793&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37793&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37793&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37793&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37793&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37793&r=mysqlcfg