Apache and PHP segfaults on Redhat EL5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have been working over the last few months to try and get to the bottom of why our apache processes are regularly being killed with a Sig 11 (Segmentation Fault). Here are the messages in the kern.log

httpd[22309]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21819]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[19168]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21597]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[22871]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[22090]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21970]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[22315]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21808]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21801]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[20469]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[23509]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21967]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21814]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[24017]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[21605]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[24329]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[23573]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[24328]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[22301]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[24636]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[25028]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[22869]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6
httpd[25030]: segfault at 00007fffd01b4ffc rip 00002b1f935c064c rsp 00007fffd01b4f90 error 6


We literally have thousands of those, I have tracked it down as far as being caused by mod_php in apache (Redhat 5 update 5). However when I enabled coredump's in apache I don't get anything. I can however get a dump if I send a manual sig 11 to the process. Which brings me to my questions.

Is there a method or way that I can enable a 'debug' mode in php which would help me track down and identify the root cause of these problems?
If anyone has any suggestions on what I can do to try and get further down the track to enlightenment I would be really appreciated.

Regards,

Jimmy. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux