Contents of this page are obsolete. This page is preserved and stored at this URL just from historical viewpoint. Original URL was http://www.mm.media.kyoto-u.ac.jp/members/kameda/...
Please visit www.kameda-lab.org for recent information. (2002/12/06, kameda@ieee.org)

[APACHE DOCUMENTATION]

Server Pool Management


We found that many people were using values for "MaxServers" either too high or too low, and were hanging themselves on it. The model we adopted is still based on long-lived minimal-forking processes, but instead of specifying one number of persistent processes, the web-master specifies a maximum and minimum number of processes to be "spare" - every couple of seconds the parent checks the actual number of spare servers and adjusts accordingly. This should keep the number of servers concurrently running relatively low while still ensuring minimal forking.

We renamed the current StartServers to MinSpareServers, created separate StartServers parameter which means what it says, and renamed MaxServers to MaxSpareServers (though the old name still works, for NCSA 1.4 back-compatibility). The old names were generally regarded as too confusing.

The defaults for each variable are:

MinSpareServers		5
MaxSpareServers		10
StartServers		10
There is a compile-time limit of 150 absolute maximum number of simultaneous children that will be allowed, which can be overruled by "MaxClients", though we don't recommend changing that number unless
  1. You know you have the server resources to handle more
  2. You use the machine for other purposes and must limit the amount of memory Apache uses

Index