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
CoreDumpDirectory
directive into thehttpd.conf
file 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!