From ccfdd986f6098ca14cfd5a28ee2f56a8156baae1 Mon Sep 17 00:00:00 2001
From: Luca Toscano Module: event
, worker
, prefork
@@ -300,6 +300,12 @@ in *BSDs.
for each target system, testing multiple values and observing the variations in your
key performance metrics.Compatibility: 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.
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.
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
@@ -448,7 +456,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.
ListenCoresBucketsRatio
+ is enabled.
mpm_netware
uses a default of
MinSpareThreads 10
and, since it is a single-process
--
2.50.1