Web Hosting Talk







View Full Version : MaxClients limit Options


dbbrock1
11-14-2002, 05:10 PM
I got this email today:
IMPORTANT: Do not ignore this email.
Apache has reached the MaxClients
limit. cPanel has increased the MaxClients limit to 170 (10 higher).

What would be the best thing to do:
1) manually increase MaxClients to a higher value, but risk a system crash.
OR
2)Let cPanel update it when needed. This causes apache restart every time it increases the MaxClients value.

What's your opinion?

Thanks,
-Dan

PHBPendragon
11-16-2002, 11:44 AM
set it to 256 and restart apache

oc3
11-16-2002, 12:03 PM
Hi ,

i think you have changed the time out of your httpd.conf settings,
the default is 300 sec . the longer u set it the longer a session is maintained and along with it if the number of users accessing the site increases..Hence , you get that messsage

Correct me if i m wrong some one !!

Cheers :)

Tom Pyles
11-16-2002, 04:30 PM
dbbrock1,
Check your logs. You will probably see the result of 'mini' dos attack (for lack of a better description). Looking over the forums at Cpanel, I see that this has become frequent lately. In my logs I will see hundreds of entries from somebody hitting our servers in a matter of seconds. It doesn't last long, but it will cause the max connections issue.

Techark
11-16-2002, 05:00 PM
Yep agree with Tom it happens all the time on my servers.

Andrew
11-16-2002, 05:13 PM
I dont' get the max connections error, but I've had apache crash a couple of times with things like that in the logs.