----- Original Message -----
From: Roger <rno...@gmail.com>
Date: Fri, 29 Oct 2010 10:46:09 -0400
Subject: [us...@httpd] Apache child process segmentation fault
To: users@httpd.apache.org
Hello all,
Lately I have been getting a lot of segmentation fault from apache's
child processes. Unfortunately I have been looking at the logs files
and I cannot see any clues as to what request caused the child process
to crash.
I have also been getting a lot of " Allowed memory size of 134217728
bytes exhausted (tried to allocate 25 bytes)". Which that message by
That looks like an error message from PHP (I'm guessing you have a
memory_limit of 128MB set in your PHP). In itself, that will not cause
Apache to crash, but just cause the rendering of the particular page to
fail.
Really, the best way to get an idea of what is causing the crash is to
run gdb on a core dump file. You'll need to set the |CoreDumpDirectory
directive to something like /tmp to make it produce one. Then run gdb to
inspect the back trace.
gdb /path/to/httpd /path/to/coredump
(gdb) bt
Most likely it's a module (quite possibly PHP) causing the crash. I had
similar problems in the past on a box, and after I looked at the back
trace, I found out it was crashing on a regex handling portion of the
PHP module. Now, once you figure this out, getting a FIX is a different
story...
|
--
Justin Pasher
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org