High number of users on website - Makes site unusable

HappymanUK

Well-Known Member
May 3, 2003
255
1
168
Today I am having a huge amount of visitors visiting one of the sites on the server, and it causes the site to be almost unusable.

Is there any way to limit the amount of apache connections being used in total, and any more to display a 'try again later' message ??

Also, is there any easy way to check whether it is a better processor, or more memory that is required ?

Any help appreciated.

Thanks
Daniel
 

katmai

Well-Known Member
Mar 13, 2006
564
4
168
Brno, Czech Republic
try changing MaxClients to a higher number than 150 as it's default . i am using 500 on an intel p4 3.0 with 2 gb ddram

recommend ram upgrade to at least 1 gb if you have 512 mb
 

HappymanUK

Well-Known Member
May 3, 2003
255
1
168
I've just been looking into this further.

Wouldn't I want to reduce the number of connections, if the server is being hammered ??

Would this setting, give a message after the set figure had been reached ?

Thanks
Daniel