SBDavid 
Jan 10th, 2010
					Jan 10th, 2010
Control the MaxClients setting in Apache
Control the MaxClients setting in Apache
A webserver should never ever have to swap, as swapping increases the latency of each request.
You can, and     should, control theĀ  MaxClients* setting so that your server     does not spawn so many children it starts swapping. This procedure     for doing this is simple: determine the size of your average Apache     process, by looking at your process list via a tool such as     top, and divide this into your total available memory,     leaving some room for other processes.
*MaxClients [Maximum number of connections that will be processed simultaneously]

