Question
How do I change the path where core dumps are saved and verify the server is successfully making those core dumps?
Answer
You can change the path core dumps are saved with the following command:
sysctl -w kernel.core_pattern=/var/crash/core.%u.%e.%p
Then test this is working by issuing a SIGSEGV to the process.
kill -s SIGSEGV PID
Finally, verify the core dump is present in /var/crash/