examples/apache/coredump/core.txt
2024-03-20 10:54:09 -05:00

20 lines
684 B
Text

To enable apache core dumps:
-Uncomment the last line of /etc/profile.d/coredump.sh
-Uncomment the last line of /etc/sysconfig/init
-# echo 1 > /proc/sys/fs/suid_dumpable
-# echo "/root/%e-core.%p-%t" > /proc/sys/kernel/core_pattern
-Uncomment the only line in /etc/httpd/conf.d/core_dumps.conf
-# source /etc/profile
-# /etc/init.d/httpd restart
To disable apache core dumps:
-Comment the last line of /etc/profile.d/coredump.sh
-Comment the last line of /etc/sysconfig/init
-# echo 0 > /proc/sys/fs/suid_dumpable
-# echo "/root/core" > /proc/sys/kernel/core_pattern
-Comment the only line in /etc/httpd/conf.d/core_dumps.conf
-# source /etc/profile
-# /etc/init.d/httpd restart