Re: How to force a core dump on Linux

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

 




On Jan 8, 2007, at 10:34 PM, Sai Jai Ganesh Gurubaran wrote:

We are getting frequent Apache (59) outages at our installation.

Apache is compiled in as worker module, forward proxy on RHEL 3

I would like to core dump Apache when such a outage occurs.

Can any one tell me how to force Apache to core dump?

1) The shell that starts httpd needs to have ulimit -c set

2) Set the CoreDumpDirectory directive in httpd.conf to point to a
   directory where httpd child processes can write (needs to be
   writable by the username set in your User directive

3) After starting your server with the above in place, attach to your
   problem child process with gdb and use the bt command

S.

--
sctemme@xxxxxxxxxx            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF


Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux