I have copied this page (verbatim) from http://linuxtechres.blogspot.com/2011/09/how-to-enable-core-dump-for-application.html ALL credit is due to Jephe Wu (contact at bottom). I merely want to archive this in case his site disappears. Objective : enable core dump for application and users Environment: RHEL5 Steps: 1. enable it for interactive login users globally By default, it's disabled in Linux, you can change file /etc/profile. from # No core files by default ulimit -S -c 0 > /dev/null 2>&1 to ulimit -c unlimited >/dev/null 2>&1 or for individual user, edit your $HOME/.bash_profile. 2. for those program started by daemon or services , please add the following into /etc/sysconfig/init #added by Jephe for enabling core dump for application users DAEMON_COREFILE_LIMIT='unlimited' This environment variable will be picked up by /etc/init.d/* daemons/services. ...
Linux: The whole world made it for you... This blog is a collection of things I come across either at home or at work as a Linux Administrator. I have worked as an Admin working with Solaris, SAN, Backups and Linux at the Enterprise level for over 16 years.