importing
This commit is contained in:
parent
a8d3823d70
commit
ff31976a23
17 changed files with 905 additions and 1 deletions
1
apache/coredump/apache_core_dumps.conf
Normal file
1
apache/coredump/apache_core_dumps.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
CoreDumpDirectory /var/apache-core-dumps
|
||||
20
apache/coredump/core.txt
Normal file
20
apache/coredump/core.txt
Normal 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
|
||||
2
apache/coredump/etc_sysconfig_init.txt
Normal file
2
apache/coredump/etc_sysconfig_init.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Core file creation for troubleshooting apache
|
||||
DAEMON_COREFILE_LIMIT='unlimited'
|
||||
2
apache/coredump/profile.d_coredump.sh
Normal file
2
apache/coredump/profile.d_coredump.sh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Core dump creation for troubleshooting apache
|
||||
ulimit -c unlimited >/dev/null 2>&1
|
||||
Loading…
Add table
Add a link
Reference in a new issue