ulimit -c It should not be zero.
set ulimit -c unlimited
- Vim /etc/sysctl.conf
- Add the lines:
kernel.core_uses_pid = 1
kernel.core_pattern = core-%e-%s-%u-%g-%p-%t
fs.suid_dumpable = 2 - If we need to redirect core in some path mention that in kernel.core_pattern = /tmp/core-%e-%s-%u-%g-%p-%t
- sysctl -p
No comments:
Post a Comment