evasive help my day ?
I have been finding out solutions to fix slowness on my websites thats caused by multiple instances of http access (port 80) access.
below is my httpd config
<IfModule prefork.c> StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 4000 </IfModule>
as you see my maxclients is 256 but since yesterday when i saw my processlist a lots of httpd processes are running… this is the cause why my websites are down…
a simple check to mysql admin shows that lots of users from apache are connected to mysql, which shows error “too many connections”. Tried to increase the max_connections variable to 300 in my.cnf doesnt help either…
last resort was recommended by fellow webmaster to use Nuclear Elephant’s mod_evasive.
Installed and run the test seems ok… restarted the apache, seems apache runs normal…
been an hour or so seem alright… well cross my finger for next few days… please hope it works else my revenue downnnn ![]()
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments
No comments yet.
Sorry, the comment form is closed at this time.