Enable core dump creation on RHEL/CentOS

Ok, sometimes we need to analyze crash of application. Core dump file help us to understand and recover everything that were happened.

1. Please check your running limits configuration:

core file size 0 – means disabled

We need to set core file size limits:
Edit /etc/security/limits.conf

than execute:

reload your application and create new session for bash shell.

Please check that all settings were successfully applied:

Let’s create special directory for core file storing:

Next step, set core file name pattern in kernel configuration:

Author: GergunD

Leave a Reply