分类:
2010-01-10 23:37:44
| Upper limit on configurable number of processes | |
ServerLimit number | |
See usage for details | |
| server config | |
| MPM | |
, |
For the MPM, this directive sets the
maximum configured value for for the lifetime of the
Apache process. For the MPM, this directive
in combination with sets
the maximum configured value for for the lifetime of the
Apache process. Any attempts to change this directive during a
restart will be ignored, but can be modified during
a restart.
Special care must be taken when using this directive. If
ServerLimit is set to a value much higher
than necessary, extra, unused shared memory will be allocated. If
both ServerLimit and are set to values
higher than the system can handle, Apache may not start or the
system may become unstable.
With the MPM, use this directive only
if you need to set higher than 256 (default).
Do not set the value of this directive any higher than what you
might want to set to.
With
use this directive only
if your and
settings require more than 16 server processes (default). Do not set
the value of this directive any higher than the number of server
processes required by what you may want for and .
There is a hard limit of ServerLimit 20000 compiled
into the server (for the MPM 200000). This is
intended to avoid nasty effects caused by typos.