Portal Home > Knowledgebase > Articles Database > Server Loads
Server Loads
Posted by LynxUser, 11-23-2010, 05:54 PM |
I have a load on my machine and I cannot find where its coming from, Anyone have any suggestions on how to find this ?
|
Posted by Ronald_Craft, 11-23-2010, 06:48 PM |
What have you tried so far?
|
Posted by LynxUser, 11-23-2010, 06:57 PM |
Everything, Now I think I found the problem.
See it was not coming from any accounts as I could see as I was monitering top for a good 30 mins, Now I updated cPanel to 11.28, Now the issues was it was skipping modules due to memory cap for cPanel, In tweek setting but it then continued to update others.
Now I think it was the stats trying to update but I only realised when I got a ticket from a client saying they could not see there databases and such...
what I did was removed the limit and done another update and did not receive any errors. Now buy doing this the load has dropped, Or if not the user / culprit has stopped what they was doing.
I will have to keep looking, But the main monitering was through top command.
I did kill all processes so they restart as default if needed and that did not do, The exim was fine and no mass email abusers was in use either.
I also limited all client cpu but that did not affect it atall so I knew it was not account releated.
Now the loads are normal now but I will continue to moniter it all for another hour, But if you have any other suggestions in what could help me then it be much appreciated.
|
Posted by Ronald_Craft, 11-23-2010, 07:00 PM |
Please tell me you didn't kill mysql... you should always stop mysql and not kill it outright.
If you start seeing high CPU but can't explain it (i.e. no processes appear to be using a lot of CPU) check your traffic to your server as well as your disk I/O as you may be under attack or someone is maxing out your read/write on your hard drive.
|
Posted by LynxUser, 11-23-2010, 07:09 PM |
Sorry my explaining has been thick as I been under abit of pressure.
I meant I killed all user php processes, I did stop mysql from the cmd line on a gracefull stop but it had no impact.
The sql load itself is only 1.2CPU with 2.1MB ram.
Thanks for your concern though.
as for the attack, Yes that could explain it, I been under one recently but we filtered this through our hardware FW.
I also checked with the below commands:
Apache only had 782, All legit connections.
|
Posted by kevinnivek, 11-24-2010, 11:56 AM |
top, strace/ktrace, netstat, tcpdump are your friends
apachetop, mysqltop among others for more insight in specific processes
|
Add to Favourites Print this Article
Also Read
problem (Views: 809)
Halfdedi down (Views: 843)
proxy server (Views: 780)