hey guys, i need your help. i have a vps that running apache as its http daemon. but i found apache always refuse new connections (means i can't open my websites hosted there) in sometime. when it happened, i logged into ssh and checked the memory usage and server loads but both of them were low. and, i checked the connections and only found 10~20 connections and also a very few syn_wait signal. the problem is, i don't know when it will happen again. seems it is randomly happened. here's my config file: <IfModule prefork.c> StartServers 5 MinSpareServers 8 MaxSpareServers 15 ServerLimit 512 MaxClients 512 MaxRequestsPerChild 500 </IfModule> please help me. thanks.
There can be various reasons for that. I would check with your provider is that physical server overloaded with connections that hosts your VPS. I have various VPS´s myself but im not hosting apaches on them, other similar services and haven´t expired anything similar.
look at the server logs and see...or do service httpd status and you will see how many connections running.If you maxed, just increase those values.
you could have a script that is looping or a internal system request that keeps processing due to an setting you need to adjust. I have seen something similar happen when a system keep contacting itself due to a configuration error which caused an overload and crashed apache until it was set correctly