I've followed instructions from many locations online on how to get a core dump from apache when it is producing a segfault, but it still refuses to generate the dump.
I have:
- Added the
CoreDumpDirectorydirective into thehttpd.conffile and set it to/tmp - Executed
ulimit -c unlimited - Provided the pattern for dumps using
echo '/tmp/core-%e.%p' > /proc/sys/kernel/core_pattern - Also ran
echo 0 > /proc/sys/kernel/core_uses_pid
Httpd has been restarted, but still no dumps created.
I'm running CentOS 5.8 x64 with httpd-2.2.3-65.el5.centos.3 and php-5.3.20-13.el5.art
Any help would be much appreciated!
CoreDumpDirectoryto/tmp/dumpsand it dumped to/tmp... now on with debugging