enabling daemon core dumps for rgmanager
Description of howto enable coredumps for rgmanager
External links:
Enable coredumps
In /ect/sysconfig/cluster add the follwing lines:
# enable coredumps globally
ulimit -c unlimited
# set the softlinit for daemons - see /etc/init.d/functions
DAEMON_COREFILE_LIMIT=unlimited
Setting coredump location:
In /etc/sysctl.conf add the following lines:
#set core dump location
kernel.core_pattern=/var/crash/core
aktivate new settings:
#> sysctl -p
Testing coredumps:
To test the cordumps, send the QUIT signal to the process:
#>/etc/init.d# ps ax | grep clurgmgrd | head -1
# 19894 ? S<s 0:00 clurgmgrd
#> /etc/init.d# kill -QUIT 19894
coredump file:
#>ls -l /cluster/cdsl/1/var/crash/
total 408
-rw------- 1 root root 32157696 Apr 17 08:39 core.19894
drwxr-xr-x 2 netdump netdump 3864 Jul 5 2006 scripts