On Thu, 17 Apr 2008, Graham Leggett wrote:
Hi all,
I am trying to get a core dump out of an RHEL5 system, and I am struggling to
do so.
Following the instructions at
http://httpd.apache.org/dev/debugging.html#crashes, I have set "ulimit -c
unlimited", and I set CoreDumpDirectory to /tmp, but with no luck.
Is there some further magic that needs to be done to get httpd to dump core
successfully on Linux?
On our Ubuntu boxen having "ulimit -c unlimited" in the httpd startup
script and "CoreDumpDirectory /tmp" in httpd.conf is sufficient.
kill -SEGV some-httpd-pid should yield a coredump IIRC.
The coredump will be useless unless you have compiled with -g though,
but I guess you already knew that ;)
/Nikke
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | [EMAIL PROTECTED]
---------------------------------------------------------------------------
Stationary mice have bigger balls. (c)1991
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=