Portal Home > Knowledgebase > Articles Database > My server down every hour!

My server down every hour!

Posted by almowaly, 09-15-2009, 10:32 PM
Hello My server be down every hour. Sometimes load 300 and memory more than 90%! I don't have large sites in the server and I don't know what is the problem. I think sometimes problem with SQL. My server operating system is Linux. Please help me.

Posted by RHS-Chris, 09-15-2009, 10:39 PM
Check your hourly cron jobs. When the load is high, what are the top processes? How do you recover as well?

Posted by almowaly, 09-15-2009, 10:44 PM
Hello top processes are http and sql. and I reboot server to solve problem.

Posted by resh, 09-16-2009, 02:11 AM
Have you got WHM ? If so go to WHM>>Main >> Server Status and check which httpd and mysql processes are using most of the resources.

Posted by Matt R, 09-16-2009, 04:40 AM
Make sure suexec and phpsuexec are installed and running so you can narrow down which website/user is running up those resources. Once you do that, you'll also be able to figure out exactly which file is running up the machine (assuming it's a part of a website and not a system process -- you should already be able to tell system processes apart). It'll help, but it's not a perfect solution. You might want to have a system admin go in there and take a peek.

Posted by adminpaul, 09-16-2009, 05:32 AM
Do the following things. 1. Go to WHM and check the apache process list by clicking "Apache Status". It will help you to find out overloaded site. 2. Use mysqladmin to find out which db is highly loaded. 3. Check if there is any spamming is there.

Posted by inspiron, 09-16-2009, 06:49 AM
Also check the size of the disk space on the server to make sure that if any partition is full on the server by, #df -h

Posted by Matt R, 09-16-2009, 07:07 AM
Oh, and check your apache log files. Make sure they haven't grown over 1-2 gigs large. If they have, /dev/null them to empty them and be on your merry way.

Posted by M Bacon, 09-16-2009, 07:19 AM
run crontab -e in shell and check your system crontabs.

Posted by Avactis, 09-16-2009, 07:21 AM
do you use heavy sql queries with left joins? I suppose that SQL engine creates large temp tables on the file system.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
RAQ4 to RAQ4 migration (Views: 382)
Good resellers plan. (Views: 377)