Optimizing Memory Use and Preventing Swapping
OK, now you have all the information you need to set up your MPM configuration. From the earlier section, we saw that we can support a maximum of 65 concurrent requests on our 1GB server, with the mix of pages that we saw being used in real life.
The first directive we should change is MaxClients, which should be set to 65, so that we don’t overrun our memory.
To ensure that we are not thrashing clients in when the system is running at load, we should probably set the StartServers to half that, i.e., 30, and set MinSpareServers to 30, too. Finally set MaxSpareServers to 40, a good value to prevent client thrashing.