login
Header Space

 
 

Re: PROBLEM: high load average when idle

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anders <anders@...>
Cc: <linux-kernel@...>, <arjan@...>, <torvalds@...>
Date: Tuesday, October 2, 2007 - 6:07 pm

On Tue, 02 Oct 2007 23:37:31 +0200 (CEST)
Anders Bostr__m <anders@bostrom.dyndns.org> wrote:


This is unexpected.  High load average is due to either a task chewing a
lot of CPU time or a task stuck in uninterruptible sleep.

Can you please work out which of these is happening?  Run `top' on an idle
system.  Is the CPU less than 1% loaded?

Run

	ps aux | grep " D"

or something like that on an idle system, see if you can spot a task which
is spending time in D state.

If there's a task whcih is spending time in D state, try running

 echo w > /proc/sysrq-trigger ; dmesg -c > foo

the check "foo" to see if it has a task in D state (search foo for " D "). 
If it's not there, do the sysrq again, repeat until you've managed to
capture a trace of the blocked task.

If it turns out that the CPU really is spending excess amounts of time
being busy then a kernel profile would be a good way of finding out where
it is spinning.  Or run sysrq-P from the keyboard a few times.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PROBLEM: high load average when idle, Anders , (Tue Oct 2, 5:37 pm)
Re: PROBLEM: high load average when idle, Thorsten Kranzkowski, (Wed Oct 3, 5:40 am)
Re: PROBLEM: high load average when idle, Arjan van de Ven, (Tue Oct 2, 7:13 pm)
Re: PROBLEM: high load average when idle, Anders , (Wed Oct 3, 3:04 am)
Re: PROBLEM: high load average when idle, Andrew Morton, (Tue Oct 2, 6:07 pm)
Re: PROBLEM: high load average when idle, Anders , (Wed Oct 3, 2:34 pm)
Re: PROBLEM: high load average when idle, Chuck Ebbert, (Tue Oct 2, 6:33 pm)
Re: PROBLEM: high load average when idle, Arjan van de Ven, (Tue Oct 2, 7:26 pm)
Re: PROBLEM: high load average when idle, Chuck Ebbert, (Wed Oct 3, 1:32 pm)
Re: PROBLEM: high load average when idle, Linus Torvalds, (Wed Oct 3, 2:02 pm)
Re: PROBLEM: high load average when idle, Anders , (Wed Oct 3, 4:15 pm)
Re: PROBLEM: high load average when idle, Arjan van de Ven, (Wed Oct 3, 2:20 pm)
Re: PROBLEM: high load average when idle, Linus Torvalds, (Wed Oct 3, 2:28 pm)
Re: PROBLEM: high load average when idle, Arjan van de Ven, (Wed Oct 3, 2:29 pm)
Re: PROBLEM: high load average when idle, Linus Torvalds, (Tue Oct 2, 6:32 pm)
Re: PROBLEM: high load average when idle, Arjan van de Ven, (Tue Oct 2, 7:19 pm)
Re: PROBLEM: high load average when idle, Mark Lord, (Tue Oct 2, 6:46 pm)
Re: PROBLEM: high load average when idle, Arjan van de Ven, (Tue Oct 2, 7:22 pm)
Re: PROBLEM: high load average when idle, Mark Lord, (Tue Oct 2, 7:40 pm)
Re: PROBLEM: high load average when idle, Arjan van de Ven, (Tue Oct 2, 6:39 pm)
speck-geostationary