Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-09-2006, 10:26 PM
|
#1
|
Member
Registered: Apr 2001
Location: Raleigh, NC
Distribution: CentOS
Posts: 154
Rep:
|
why high load, but no cpu usage?
Hi,
Recently my computer has had a very high load (4.0-8.0) on average, but very little cpu or disk usage. Let me show you:
Code:
22:25:04 up 2 days, 21:02, 2 users, load average: 8.00, 8.01, 8.00
73 processes: 72 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 100.0%
Mem: 495800k av, 478588k used, 17212k free, 0k shrd, 44500k buff
380576k actv, 56796k in_d, 6660k in_c
Swap: 1012052k av, 57288k used, 954764k free 228712k cached
Code:
[root@server]# vmstat
procs memory swap io system cpu
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 57288 17212 44420 228708 3 4 130 38 115 41 6 0 93 1
You can see that there is a little bit of swapping... but even when there was no swapping at all the load average was 4.0.
Any ideas why this would be? I do believe my system has an issue with PAM authentication, which is being discussed here, but I'm not sure what the relation is, if any.
Thanks!
Justin
|
|
|
01-10-2006, 04:32 PM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
Not sure wqhy it happened, but CPU usage and Load are two completetly different issues.
Load describes the system bus throughput i.e. how much data is being accessed and or moved and the CPU doesn't have to be a very active part of that process.
|
|
|
01-10-2006, 07:22 PM
|
#4
|
Member
Registered: Apr 2001
Location: Raleigh, NC
Distribution: CentOS
Posts: 154
Original Poster
Rep:
|
I wish I had time to read through those right now. I will next week, but for now I'll just tell you that I resolved the problem. If you read through the other thread you'll see what happened. Basically, the audit daemon was causing other programs to freeze. When they froze, they would stay open, and keep any files that they were accessing open. So, if load has anything to do with the number of processes that are waiting for execution, then I suppose the load average could be deceptive if a program freezes and cannot be killed.
|
|
|
01-10-2006, 11:56 PM
|
#5
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
I've got no sites to back up what I said, I just remember this happenening to me and posting a question at the forum (here). In my case it turned out to be mail writing messages like mad.
The LQ Wiki links the two: "load average is a measure used to tell how busy the CPU is. load average show the average number of processes waiting for execution." But it does explain about 'processes waiting for execution'.
I pulled this from a mail archive > In Linux, the load average is the average number of
> processes in the runqueue PLUS the average number of
> processes waiting on disk IO.
|
|
|
01-11-2006, 02:04 AM
|
#6
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
Thanks for that - I've been asked the question here at work and realised my understanding of it was a bit vague.
|
|
|
01-11-2006, 10:43 AM
|
#7
|
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Rep:
|
Quote:
Originally Posted by JustinHoMi
I wish I had time to read through those right now. I will next week, but for now I'll just tell you that I resolved the problem. If you read through the other thread you'll see what happened. Basically, the audit daemon was causing other programs to freeze. When they froze, they would stay open, and keep any files that they were accessing open. So, if load has anything to do with the number of processes that are waiting for execution, then I suppose the load average could be deceptive if a program freezes and cannot be killed.
|
What other thread??
|
|
|
All times are GMT -5. The time now is 09:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|