Hello, My site is taking too many process and hanging the system and the server load averages goes to 800-900 and at that time i was unable to login into my ssh and the only solution that i found to get back my server is asking my hosting company to reboot my server. I dont know what process is taking that many process...And this only happens at certain times and at all other times it seems ok.... When the too many process are running i tried killing the process using killall httpd Code (markup): But when i started the httpd process immediatly the load averages increases at peak like from 2.43 to 5.93 and then to 10.43 and then 15.32 like this it is increasing... I dont what is causing that problem.... Here are my server details... I have Xenon Quad Core Server with 4 Gb ram and i get a lot of traffic daily about 30k uniques and mine database size is about 2.6GB running vbulletin.. Can anyone tell me on how to trace the problem as it is chewing up my traffic...Please someone help me...
Sounds like you need some optimizing done. Do you run a mpm / worker for apache? What is the max clients for apache set at? Have to enabled caching? Have you tweaked your mysql config? Do you use a control panel as well? Tweaking is not just a one time thing, its constantly changing small things to make the server perform better.
You can check the load using "top -" command. maybe its small ddos attacks, check you have iptables installed "service iptables status" and install an anti ddos script & edit the config file. wget http://www.inetbase.com/scripts/ddos/install.sh chmod 0700 install.sh ./install.sh Code (markup): Also check you not hitting the max allowed apache processes, but it may be a totally different problem
Hello....Thanks for the replies...actually its not a DDOS attack and now iam trying cpulimit But i cant figure out whats the problem?? Can anyone suggest me how to detect the problem...