From 6657d26f3de7b3759b49f4f4043b4b213a3468e3 Mon Sep 17 00:00:00 2001 From: Luca Toscano Date: Fri, 15 Jul 2016 11:59:10 +0000 Subject: [PATCH] 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/trunk@1752824 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mpm_common.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/manual/mod/mpm_common.xml b/docs/manual/mod/mpm_common.xml index 8488e7addb..1917dca31e 100644 --- a/docs/manual/mod/mpm_common.xml +++ b/docs/manual/mod/mpm_common.xml @@ -262,7 +262,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. @@ -294,6 +294,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.

@@ -433,7 +439,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 @@ -482,7 +490,7 @@ 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. Please also note that additional processes/threads + than number. Additional processes/threads might be created if ListenCoresBucketsRatio is enabled.

-- 2.50.1