anyone know of to Limit connections in Apache

G’day
Anyone know of to Limit nubmer of connections in Apache web server
My server is having a hard time managing in excess of 200 connections taking about a minute to load the pages
It’s not usually an issue but with the extreme weather conditions at the moment 40c+ everyone seems to what to watch the temp rise on line
normal day would be 1200 to 1600 users at the moment it’s exceeding 10,000 a day would like to limit coonections to around 100-120 in possible

Thanks Trev

You could try using MaxClients … I copied the following from this url: http://tldp.org/LDP/LGNET/123/vishnu.html

3.5 MaxClients:

The MaxClients sets the limit on maximum simultaneous requests that can be supported by the server; no more than this number of child processes are spawned. It shouldn’t be set too low; otherwise, an ever-increasing number of connections are deferred to the queue and eventually time-out while the server resources are left unused. Setting this too high, on the other hand, will cause the server to start swapping which will cause the response time to degrade drastically. The appropriate value for MaxClients can be calculated as:

MaxClients = Total RAM dedicated to the web server / Max child process size

The child process size for serving static file is about 2-3M. For dynamic content such as PHP, it may be around 15M. The RSS column
in “ps -ylC httpd --sort:rss” shows non-swapped physical memory usage by Apache processes in kiloBytes.

If there are more concurrent users than MaxClients, the requests will be queued up to a number based on ListenBacklog directive. Increase ServerLimit to set MaxClients above 256.

Cheers

(P.S) you have been having damn hot weather lately!!!