Core Dumping Related Issues
The Core Dumping Related Issues page describes the troubleshooting procedure to be followed if all parameters have been configured correctly, but the cores have not been created.
To troubleshoot core dumping:
Reboot the server.
Verify that you have folder permissions:
$ sudo chmod -R 777 /tmp/core_dumps
Verify that the limits have been set correctly:
$ ulimit -c
If all parameters have been configured correctly, the correct output is:
$ unlimited
If all parameters have been configured correctly, but running ulimit -c outputs 0, run the following:
$ sudo vim /etc/profile
Search for line and tag it with the hash symbol:
$ ulimit -S -c 0 > /dev/null 2>&1
If the line is not found in /etc/profile directory, do the following:
Run the following command:
$ sudo vim /etc/init.d/functions
Search for the following:
$ ulimit -S -c ${DAEMON_COREFILE_LIMIT:-0} >/dev/null 2>&1
If the line is found, tag it with the hash symbol and reboot the server.