importing

This commit is contained in:
tengel 2024-03-20 10:54:09 -05:00
parent a8d3823d70
commit ff31976a23
17 changed files with 905 additions and 1 deletions

View file

@ -0,0 +1 @@
CoreDumpDirectory /var/apache-core-dumps

20
apache/coredump/core.txt Normal file
View file

@ -0,0 +1,20 @@
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

View file

@ -0,0 +1,2 @@
# Core file creation for troubleshooting apache
DAEMON_COREFILE_LIMIT='unlimited'

View file

@ -0,0 +1,2 @@
# Core dump creation for troubleshooting apache
ulimit -c unlimited >/dev/null 2>&1