140
By default, Apache HTTP Server 2.0 defines the server-pool for both the
MPMs.
The following a list of directives found within the MPM-specific server-pool containers.
10.5.9.1.
StartServers
sets how many server processes are created upon startup. Since the Web server dy-
StartServers
namically kills and creates server processes based on traffic load, it is not necessary to change this
parameter. The Web server is set to start
for the
MPM.
worker
10.5.9.2.
MaxRequestsPerChild
MaxRequestsPerChild
the child dies. The main reason for setting
induced memory leaks. The default
the
MPM is
worker
10.5.9.3.
MaxClients
sets a limit on the total number of server processes, or simultaneously connected clients,
MaxClients
that can run at one time. The main purpose of this directive is to keep a runaway Apache HTTP Server
from crashing the operating system. For busy servers this value should be set to a high value. The
server's default is set to 150 regardless of the MPM in use. However, it is not recommended that the
value for
MaxClients
10.5.9.4.
MinSpareServers
These values are only used with the
dynamically adapts to the perceived load by maintaining an appropriate number of spare server pro-
cesses based on the number of incoming requests. The server checks the number of servers waiting
for a request and kills some if there are more than
of servers is less than
The default
MinSpareServers
settings should be appropriate for most situations. Be careful not to increase the
to a large number as doing so creates a heavy processing load on the server even when traffic is light.
10.5.9.5.
MinSpareThreads
These values are only used with the
namically adapts to the perceived load by maintaining an appropriate number of spare server threads
based on the number of incoming requests. The server checks the number of server threads waiting
for a request and kills some if there are more than
of servers is less than
The default
MinSpareThreads
fault settings should be appropriate for most situations. The value for
greater than or equal to the sum of
Server automatically corrects it.
8
sets the total number of requests each child server process serves before
MaxRequestsPerChild
.
0
exceeds
when using the
256
and
MaxSpareServers
prefork
MinSpareServers
value is
5
and
MaxSpareThreads
worker
MinSpareThreads
value is
MinSpareThreads
server processes at startup for the
MaxRequestsPerChild
for the
prefork
MPM. They adjust how the Apache HTTP Server
MaxSpareServers
.
; the default
MaxSpareServers
MPM. They adjust how the Apache HTTP Server dy-
MaxSpareThreads
.
; the default
25
MaxSpareThreads
and
ThreadsPerChild
Chapter 10. Apache HTTP Server
prefork
prefork
is to avoid long-lived process
MPM is
prefork
MPM.
or creates some if the number
value is
MinSpareServers
or creates some if the number
value is
MaxSpareThreads
and
worker
MPM and
2
and for
1000
. These default
20
. These de-
75
is must be
or Apache HTTP
Need help?
Do you have a question about the ENTERPRISE LINUX 3 and is the answer not in the manual?