From: Luca Toscano
Date: Sun, 17 Jul 2016 13:28:39 +0000 (+0000)
Subject: Added a reference to how ListenCoresBucketsRatio influences the Min|MaxSpareThreads...
X-Git-Tag: 2.4.24~366
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16e9ae90d909a9d9d64f15560f8a33d1a8a343ea;p=apache
Added a reference to how ListenCoresBucketsRatio influences the Min|MaxSpareThreads lower bounds calculation in the docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1753074 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mpm_common.xml b/docs/manual/mod/mpm_common.xml
index dbc9b78a7d..586857b4d4 100644
--- a/docs/manual/mod/mpm_common.xml
+++ b/docs/manual/mod/mpm_common.xml
@@ -264,7 +264,7 @@ listeners' buckets
Available in Apache HTTP Server 2.4.17, with a kernel supporting
the socket option SO_REUSEPORT
and distributing new connections
-evenly accross listening processes' (or threads') sockets using it (eg. Linux
+evenly across listening processes' (or threads') sockets using it (eg. Linux
3.9 and later, but not the current implementations of SO_REUSEPORT
in *BSDs.
@@ -296,6 +296,12 @@ in *BSDs.
The right ratio to obtain maximum performance needs to be calculated
for each target system, testing multiple values and observing the variations in your
key performance metrics.
+
+ This directive influences the calculation of the
+ MinSpareThreads and
+ MaxSpareThreads lower bound values.
+ The number of children processes needs to be a multiple of the number
+ of buckets to optimally accept connections.
@@ -435,7 +441,9 @@ will handle during its life
MaxSpareThreads 250
. These MPMs deal with idle threads
on a server-wide basis. If there are too many idle threads in the
server then child processes are killed until the number of idle
- threads is less than this number.
+ threads is less than this number. Additional processes/threads
+ might be created if ListenCoresBucketsRatio
+ is enabled.
For mpm_netware the default is
MaxSpareThreads 100
. Since this MPM runs a
@@ -484,7 +492,9 @@ spikes
MinSpareThreads 75
and deal with idle threads on a server-wide
basis. If there aren't enough idle threads in the server then child
processes are created until the number of idle threads is greater
- than number.
+ than number. Additional processes/threads
+ might be created if ListenCoresBucketsRatio
+ is enabled.
mpm_netware uses a default of
MinSpareThreads 10
and, since it is a single-process