]> git.pld-linux.org Git - packages/apache1.git/commitdiff
- samples for core capturing
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 6 Mar 2008 12:25:59 +0000 (12:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-httpd.conf -> 1.18
    apache1.sysconfig -> 1.10

apache1-httpd.conf
apache1.sysconfig

index 1cf0f8b39142d63ea1928547c1a9dc76654dc38a..1bc3603a89934f1104230e8e36fa43660b43baea 100644 (file)
@@ -83,6 +83,15 @@ MaxSpareServers 10
 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 2c0dac1bdc7f3082ee5cfdeca146bfd0dc7ad535..e8e651ab9494c05b91654fac737b6e20ed679266 100644 (file)
@@ -11,6 +11,9 @@ HTTPD_OPTS=""
 # 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.
This page took 0.039571 seconds and 4 git commands to generate.