SOURCES: apache1-httpd.conf, apache1.sysconfig - samples for core ...

glen glen at pld-linux.org
Thu Mar 6 13:26:04 CET 2008


Author: glen                         Date: Thu Mar  6 12:26:04 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- samples for core capturing

---- Files affected:
SOURCES:
   apache1-httpd.conf (1.17 -> 1.18) , apache1.sysconfig (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SOURCES/apache1-httpd.conf
diff -u SOURCES/apache1-httpd.conf:1.17 SOURCES/apache1-httpd.conf:1.18
--- SOURCES/apache1-httpd.conf:1.17	Wed Dec 26 23:51:51 2007
+++ SOURCES/apache1-httpd.conf	Thu Mar  6 13:25:59 2008
@@ -83,6 +83,15 @@
 MaxClients 150
 MaxRequestsPerChild 30
 
+# This controls the directory to which Apache attempts to switch before dumping
+# core. The default is in the ServerRoot directory, however since this should
+# not be writable by the user the server runs as, core dumps won't normally get
+# written. If you want a core dump for debugging, you can use this directive to
+# place it in a different location.
+# Please note that you should also set ulimit coredumpsize to unlimited in
+# /etc/sysconfig/apache for this to have any effect.
+#CoreDumpDirectory /var/tmp
+
 # These lines here are for packages which still use apxs to activate module.
 # LoadModule access_module modules/mod_access.so
 # AddModule mod_foo.c

================================================================
Index: SOURCES/apache1.sysconfig
diff -u SOURCES/apache1.sysconfig:1.9 SOURCES/apache1.sysconfig:1.10
--- SOURCES/apache1.sysconfig:1.9	Wed Dec 26 23:24:59 2007
+++ SOURCES/apache1.sysconfig	Thu Mar  6 13:25:59 2008
@@ -11,6 +11,9 @@
 # perhaps set 128MB memory limit
 #SERVICE_LIMITS="$DEFAULT_SERVICE_LIMITS -m 128000"
 
+# if you want to use CoreDumpDirectory in apache.conf:
+#SERVICE_LIMITS="-u unlimited -c unlimited"
+
 # Skip apache restarts invoked from rpm installs.
 # Enable this if you run a production server and don't want rpm upgrade restart
 # your webserver like 20 times.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache1-httpd.conf?r1=1.17&r2=1.18&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache1.sysconfig?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list