Web Hosting Talk







View Full Version : Server Load


Noor
09-06-2001, 05:20 AM
Server Load is very high Every 2 hours, then server down more than 30 minutes. :angry:

Any one knows what the problem is and how I can fix it?

Thank you.

shorty
09-06-2001, 05:57 AM
try and pin down which process is causing you the problem - you could use 'top' to watch the processes and then use ps aux and or strace to find who's running them

shorty

Mbarb
09-06-2001, 07:02 PM
If it's every 2 hours like clock work then I bet it's a cron job that's running...might be a good place to look

mahinder
09-07-2001, 04:12 PM
Originally posted by Noor
Server Load is very high Every 2 hours, then server down more than 30 minutes. :angry:

Any one knows what the problem is and how I can fix it?

Thank you.

kick and slap the bloody machine when it shows high load and it will calm down. :D

hahahah. just kiding. :D

what is the operating system you are running on. i think some script is running on server and that is causing the server to crash. check the logs and find out what is it. cherrs.
;)

Palm
09-07-2001, 05:06 PM
Sounds like a spammer to me.
Look at your Mail logs and see if they are msotly filled with same IP and e-mail.

Tim Greer
09-08-2001, 09:22 AM
Originally posted by Noor
Server Load is very high Every 2 hours, then server down more than 30 minutes. :angry:

Any one knows what the problem is and how I can fix it?

Thank you.

It's impossible to know what advice or solution to offer, unless you provide more information about it and what's going on. How high was the server load? What do you mean "then server down more than 30 minutes."? Do you mean the server froze or locked up or crashed for 30 minutes each time, following a high load, or that the load went down again after 30 minutes, or something else? A server load in itself, even high, isn't always a bad thing, in fact, in many aspects, it's a _good_ thing, because this means the server's doing it's job and it's handling a lot of them well. Still, that's not to say it's a good sign either. It depends on what load, how it's created, if it's causing any problems, causing crashes or slowness, etc.

There's a lot of factors involved. It could be anything running causing high loads at certain intervals, some of what the user's above said, such as a SPAMMER. it can also be a rouge process from a CGI, PHP or shell script or other program, backup scripts, log analyzers, a denial of service attack, some exploit in a service causing it to overload, a very busy web site and not enough resources to handle it, lots of big compiles, or about anything. It's difficult to say, but check by typing in "ps aux", "top (or "top c")", "vmstat", "free", and other things -- I don't know what to suggest, since you made no mention of what OS you're running and some of the above might not report anything or even work on your OS -- and try nd find out what process is the cause, the program or service, if it's high memory or CPU usage, or both.

You need to find out if it's one constant process or many relentless processes ..and if it's a total of many processes at once, or just one large resource hog of a process. It's too difficult to guess what the cause is, since there can be so many, I don't think any of us here could name all the causes for lack of recalling all of them, let alone the 10,000 character limit in the post size. Good luck.

noti
10-22-2001, 07:09 AM
i am a total newbie and my server is heavily loaded just now ... i tried "top" and "ps aux" with my raq3 server with 4webspace and top does show the server load and ps aux brings up a long list (several lines of numbers and the last line is the directory) .... may i know how to trace who is running the rocess using ps aux?

mahinder
10-22-2001, 05:13 PM
post the full top log here. so that one can suggest something.

noti
10-23-2001, 02:37 AM
thanks a lot for trying to help out :)

i have created a post under cobalt raq at :

http://www.webhostingtalk.com/showthread.php?threadid=24052