Created
February 3, 2017 05:37
-
-
Save Shengliang/164babb3c313a5bbbf7a86b514075bff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ref: https://www.unixmen.com/how-to-enable-core-dumps-in-rhel6/ | |
# sudo vi /etc/security/limits.conf | |
#* soft core 0 | |
* soft core unlimited | |
# sudo vi /etc/sysctl.conf | |
kernel.core_pattern = /tmp/core-%e-%s-%u-%g-%p-%t | |
fs.suid_dumpable = 2 | |
# sudo vi /etc/sysconfig/init | |
DAEMON_COREFILE_LIMIT=’unlimited’ | |
sysctl -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment