Getting coredumps from Apache

Toomas Aas toomas.aas at raad.tartu.ee
Fri Oct 12 06:22:06 PDT 2007


Hello!

I have apache22 (with standard prefork mpm) and php5 (Apache module) 
installed from ports. I'm noticing a lot of httpd children dying with 
signal 11 messages and would like to get a coredump in order to diagnose 
the problem. However, I can't get any coredumps from Apache.

I created a directory for coredumps:

# ls -ld /var/apache
drwxrwxrwx  2 www  wheel  512 Oct 12 14:12 /var/apache

Added this to httpd.conf:

CoreDumpDirectory /var/apache

and set

sysctl kern.sugid_coredump=1

Made sure there are no process limits applied to Apache.

Restarted Apache

Signal 11 errors continue, but nothing gets recorded to /var/amanda.

What am I missing?

-- 
Toomas Aas


More information about the freebsd-questions mailing list