Load average spikes once an hour


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Load average spikes once an hour
# 1  
Old 02-16-2011
Load average spikes once an hour

Hi,

I am getting a high load average, around 7, once an hour. It last for about 4 minutes and makes things fairly unusable for this time.

How do I find out what is using this. Looking at top the only thing running at the time is md5sum.

I have looked at the crontab and there is nothing running at this time, so is there a number of hidden crontabs that I don't know about?

Any help would be greatly appreciated.

Running WHM/Cpanel on CentOS

Thanks
Matt
# 2  
Old 02-16-2011
There's all the user crontabs of course, also check for filenames under /etc/cron.hourly, these will as the name implies get run hourly. This doesn't rule out some script somewhere that does this of its own volition either, just a "while true ; do sleep 3600 ; hog_system ; done"

Depending on your system your version of ps may be able to print a tree of what created what process (or at least what process belongs to what process), potentially helpful for tracking down what's spawning the monster. Try ps -ejH

I wouldn't expect a high load average to lag the system, Linux is pretty good at keeping responsive despite high CPU load, but if something's hogging disk access -- like many instances of md5sum could -- that'd definitely slow things down by turfing useful things out of cache.
# 3  
Old 02-16-2011
excellent, found the problem using the ps command.
This User Gave Thanks to sm9ai For This Post:
# 4  
Old 04-14-2011
Same thing on my VPS

I recently signed up for a VPS with CentOS and CPanel/WHM. The exact same thing is happening on mine. Spikes every hour, on the hour. They last about 4 minutes and during that time there is piss poor system performance.

High IO Wait time. Memory levels are fine. No RAM swapping.

I monitored top during these spikes and the process that kept floating to the top was: md5sum

---------- Post updated at 03:42 AM ---------- Previous update was at 03:37 AM ----------

By the way, how do we fix what is going on? I am running "ps -ejH" but not sure what to look for. It is neat looking at the process tree! Sweet command.
# 5  
Old 04-14-2011
You may find this useful.

"Top 10 CPU Utilized Processes"
Code:
ssh -Tqn $1 ps auxf | sort -nr -k 3 | head -10

"Top 10 Memory Utilized Processes"
Code:
ssh -Tqn $1 ps auxf | sort -nr -k 4 | head -10

# 6  
Old 04-14-2011
lfd / md5sum

ps -ejH
Code:
22019 22019 22019 ?        00:00:03   lfd
26292 22019 22019 ?        00:00:00     lfd
26293 22019 22019 ?        00:00:00       md5sum

ps auxf | sort -nr -k 3 | head -10
Code:
root     26293  0.5  0.0   2928   620 ?        D    05:00   0:00  |   \_ /usr/bin/md5sum --check /etc/csf/cs
f.tempint
root     28483  0.2  1.2  16816 12908 ?        D    05:00   0:00  \_ lfd - checking directories

What is lfd and any ideas how to bring this under control?
# 7  
Old 04-14-2011
You may find this helpful.
LFD Process Email Alerts - Web Hosting Talk

---------- Post updated at 04:06 AM ---------- Previous update was at 04:04 AM ----------

Quote:
Originally Posted by Brian294
ps -ejH
Code:
22019 22019 22019 ?        00:00:03   lfd
26292 22019 22019 ?        00:00:00     lfd
26293 22019 22019 ?        00:00:00       md5sum

ps auxf | sort -nr -k 3 | head -10
Code:
root     26293  0.5  0.0   2928   620 ?        D    05:00   0:00  |   \_ /usr/bin/md5sum --check /etc/csf/cs
f.tempint
root     28483  0.2  1.2  16816 12908 ?        D    05:00   0:00  \_ lfd - checking directories

What is lfd and any ideas how to bring this under control?
I can see its not taking your cpu as much as you are worried it is.
It is just 0.2% of your cpu and you shouldn't be worrying about it.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Nearly Random, Uncorrelated Server Load Average Spikes

I have been wrangling with a small problem on a Ubuntu server which runs a LAMP application. Linux ubuntu 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux This server runs fine, basically: ubuntu:/var/www# uptime 20:17:13 up 105 days,... (45 Replies)
Discussion started by: Neo
45 Replies

2. UNIX for Advanced & Expert Users

Want to get average value for each hour

I want to get CPU average value only (not required user CPU & memory) with each hours on individual date. The sample output is below | | | User |Memory| User | Date | Time |CPU %|CPU % | % |Mem % | 03/02/2015|00:00:00| 24.56| 20.66| 89.75| 63.48|... (13 Replies)
Discussion started by: Saravanan_0074
13 Replies

3. Shell Programming and Scripting

Average of multiple time-stamped data every half hour

Hi All, Thank you for reading through my post and helping me figure out how I would be able to perform this task. For example: I have a list of continuous output collected into a file in the format as seen below: Date...........Time........C....A......... B ==========================... (5 Replies)
Discussion started by: terrychen
5 Replies

4. UNIX for Dummies Questions & Answers

Help with load average?

how load average is calculated and what exactly is it difference between cpu% and load average (9 Replies)
Discussion started by: robo
9 Replies

5. UNIX for Advanced & Expert Users

Load average in UNIX

Hi , I am using 48 CPU sunOS server at my work. The application has facility to check the current load average before starting a new process to control the load. Right now it is configured as 48. So it does mean that each CPU can take maximum one proces and no processe is waiting. ... (2 Replies)
Discussion started by: kumaran_5555
2 Replies

6. Shell Programming and Scripting

Counting average data per hour

Hi i have log like this : Actually i will process the data become Anybody can help me ? (6 Replies)
Discussion started by: justbow
6 Replies

7. UNIX for Dummies Questions & Answers

Please Help me in my load average

Hello AlL,.. I want from experts to help me as my load average is increased and i dont know where is the problem !! this is my top result : root@a4s # top top - 11:30:38 up 40 min, 1 user, load average: 3.06, 2.49, 4.66 Mem: 8168788k total, 2889596k used, 5279192k free, 47792k... (3 Replies)
Discussion started by: black-code
3 Replies

8. Solaris

load average query.

Hi, i have installed solaris 10 on t-5120 sparc enterprise. I am little surprised to see load average of 2 or around on this OS. when checked with ps command following process is using highest CPU. looks like it is running for long time and does not want to stop, but I do not know... (5 Replies)
Discussion started by: upengan78
5 Replies

9. UNIX for Dummies Questions & Answers

Load Average

Hello all, I have a question about load averages. I've read the man pages for the uptime and w command for two or three different flavors of Unix (Red Hat, Tru64, Solaris). All of them agree that in the output of the 2 aforementioned commands, you are given the load average for the box, but... (3 Replies)
Discussion started by: Heathe_Kyle
3 Replies

10. UNIX for Advanced & Expert Users

load average

we have an unix system which has load average normally about 20. but while i am running a particular unix batch which performs heavy operations on filesystem and database average load reduces to 15. how can we explain this situation? while running that batch idle cpu time is about %60-65... (0 Replies)
Discussion started by: gfhgfnhhn
0 Replies
Login or Register to Ask a Question