Listen - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 10. Apache HTTP Server
sets a limit on the total number of server processes, or simultaneously connected
MaxClients
clients, 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
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
processes 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
the number of servers is less than
The default
MinSpareServers
default 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
MinSpareServers
even when traffic is light.
5.9.5.
MinSpareThreads
These values are only used with the
dynamically 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
some if the number of servers is less than
The default
MinSpareThreads
default settings should be appropriate for most situations. The value for
be greater than or equal to the sum of
Apache HTTP Server automatically corrects it.
5.9.6.
ThreadsPerChild
This value is only used with the
process. The default value for this directive is
5.10.

Listen

The
command identifies the ports on which the Web server accepts incoming requests.
Listen
By default, the Apache HTTP Server is set to listen to port 80 for non-secure Web
communications and (in the
servers) to port 443 for secure Web communications.
If the Apache HTTP Server is configured to listen to a port under 1024, only the root user can
start it. For port 1024 and above,
The
directive can also be used to specify particular IP addresses over which the server
Listen
166
MaxClients
and
MaxSpareServers
MPM. They adjust how the Apache HTTP Server
prefork
MinSpareServers
value is
; the default
5
and
MaxSpareThreads
MPM. They adjust how the Apache HTTP Server
worker
MinSpareThreads
value is
; the default
25
MinSpareThreads
MPM. It sets the number of threads within each child
worker
.
25
/etc/httpd/conf.d/ssl.conf
can be started as a regular user.
httpd
exceeds
when using the
256
MaxSpareServers
.
value is
MaxSpareServers
MaxSpareThreads
.
value is
MaxSpareThreads
MaxSpareThreads
and
ThreadsPerChild
file which defines any secure
MPM.
prefork
or creates some if
. These
20
or creates
. These
75
must
, else the

Advertisement

Table of Contents
loading

Table of Contents