summaryrefslogtreecommitdiffstats
path: root/include/httpd.h
diff options
context:
space:
mode:
authorGreg Ames <gregames@apache.org>2002-02-12 00:20:16 +0100
committerGreg Ames <gregames@apache.org>2002-02-12 00:20:16 +0100
commit9ad90284cd0d792f62fda7a632167a3c3004de38 (patch)
tree75118a564183722aa222351221babd9a2f245468 /include/httpd.h
parent Never close the handle, if it is the StdError psuedohandle. (diff)
downloadapache2-9ad90284cd0d792f62fda7a632167a3c3004de38.tar.xz
apache2-9ad90284cd0d792f62fda7a632167a3c3004de38.zip
if a child detects a resource shortage on accept(), limit the rate of fork()s
to 1 per second until the situation clears up. Inspired by: Martin Kraemer git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93366 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/httpd.h')
-rw-r--r--include/httpd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 800ea082ec..254277f984 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -339,6 +339,12 @@ extern "C" {
#define APEXIT_INIT 0x2
/** The child died during its init sequence */
#define APEXIT_CHILDINIT 0x3
+/**
+ * The child exited due to a resource shortage.
+ * The parent should limit the rate of forking until
+ * the situation is resolved.
+ */
+#define APEXIT_CHILDSICK 0x7
/**
* A fatal error, resulting in the whole server aborting.
* If a child exits with this error, the parent process