From 5beddad08017d51bb0a80b2ce2279df078a0a7c4 Mon Sep 17 00:00:00 2001
From: Stefan Fritsch
Date: Mon, 21 Nov 2016 22:13:05 +0000
Subject: [PATCH] Describe new behavior of ServerLimit
This has changed a bit after the fix for PR 53555. Better wording is welcome.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1770771 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mpm_common.xml | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/docs/manual/mod/mpm_common.xml b/docs/manual/mod/mpm_common.xml
index 199593ef31..4306751147 100644
--- a/docs/manual/mod/mpm_common.xml
+++ b/docs/manual/mod/mpm_common.xml
@@ -619,10 +619,12 @@ Apache HTTP Server
module="mpm_common">ThreadLimit sets
the maximum configured value for MaxRequestWorkers for the lifetime of the
- Apache httpd process. Any attempts to change this directive during a
- restart will be ignored, but MaxRequestWorkers can be modified during
- a restart.
+ Apache httpd process. For the event MPM, this directive
+ also defines how many old server processes may keep running and finish processing
+ open connections.
+ Any attempts to change this directive during a restart will be ignored, but
+ MaxRequestWorkers can be modified
+ during a restart.
Special care must be taken when using this directive. If
ServerLimit is set to a value much higher
@@ -639,8 +641,8 @@ Apache HTTP Server
might want to set MaxRequestWorkers to.
- With worker and event, use this
- directive only if your MaxRequestWorkers
+ With worker, use this directive only if your
+ MaxRequestWorkers
and ThreadsPerChild
settings require more than 16 server processes (default). Do not set
the value of this directive any higher than the number of server
@@ -648,6 +650,13 @@ Apache HTTP Server
module="mpm_common">MaxRequestWorkers
and ThreadsPerChild.
+ With event, increase this directive if the process
+ number defined by your MaxRequestWorkers and ThreadsPerChild settings, plus the
+ number of gracefully shutting down processes, is more than 16 server
+ processes (default).
+
Note
There is a hard limit of ServerLimit 20000
compiled
into the server (for the prefork MPM 200000). This is
--
2.40.0