Load average spikes once an hour


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Load average spikes once an hour
# 8  
Old 04-14-2011
There is a bit more going on that what these snapshots are showing you. If you saw my top during that time, I had a constant iowait around 50-80% despite lfd/md5sum showing significantly less CPU utilization.

I think the root issue is the way the CSF firewall was configured out of the box. Every 3600 seconds (60 minutes), it's doing a "System Integrity Check". Here is what they have to say about it:

Quote:
# System Integrity Checking. This enables lfd to compare md5sums of the
# servers OS binary application files from the time when lfd starts. If the
# md5sum of a monitored file changes an alert is sent. This option is intended
# as an IDS (Intrusion Detection System) and is the last line of detection for
# a possible root compromise.
#
# There will be constant false-positives as the servers OS is updated or
# monitored application binaries are updated. However, unexpected changes
# should be carefully inspected.
#
# Modified files will only be reported via email once.
#
# To enable this feature set the following to the checking interval in seconds
# (a value of 3600 would seem sensible). This option may increase server I/O
# load onto the server as it checks system binaries.
#
# To disable set to "0"
LF_INTEGRITY = Default: 3600
I am going to set it to 0 to see if this solves the immediate problem.

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

bingo! the iowait for this hour is back to normal levels! I'll keep an eye on it today.
# 9  
Old 04-14-2011
Quote:
Originally Posted by pinga123
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.
Low CPU doesn't mean it's not thrashing the disk. In fact low CPU on something with no built-in delays like md5sum probably means it IS thrashing the disk.
# 10  
Old 04-17-2011
Quote:
Originally Posted by Corona688
Low CPU doesn't mean it's not thrashing the disk. In fact low CPU on something with no built-in delays like md5sum probably means it IS thrashing the disk.
Does LOW CPU necessarily has to translate to 'thrashing the disk' I don't that is right? It could be simple IO wait on a NFS!!!
# 11  
Old 04-17-2011
Quote:
Originally Posted by matrixmadhan
Does LOW CPU necessarily has to translate to 'thrashing the disk' I don't that is right?
For something that's not interactive and never sleeps, like md5sum, if it's not pinning the CPU, it's waiting for I/O.
Quote:
It could be simple IO wait on a NFS!!!
Thrashing the network is better how? And that'd still be thrashing someone's disk, if not yours.
 
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