Apache and PHP segfaults on Redhat EL5
| From: | Jimmy Stewpot | Date: | Fri, 07 Jan 2011 03:55:40 +0000 |
| Subject: | Apache and PHP segfaults on Redhat EL5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310542@lists.php.net to get a copy of this message | ||
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.