MaxClients

From Apache doc:

The MaxClients directive sets the limit on the number of simultaneous requests that can be supported; not more than this number of child server processes will be created. To configure more than 256 clients, you must edit the HARD_SERVER_LIMIT entry in httpd.h and recompile.

Any connection attempts over the MaxClients limit will normally be queued, up to a number based on the ListenBacklog directive. Once a child process is freed at the end of a different request, the connection will then be serviced.
so why not to set it to 9999 for example?

per what I could notice, limiting clients doesn't reduce load, but increases it (probably because the queue)... maybe useful just for "fast peaks" after what the queue could be ended... otherwise it will just grow and grow

 

 

 

 

Top