Skip to contentSkip to conversation

Bug? Load avg 2.0 when idle.

DISCUSSION Joerg Sommrey 5 participants 5 messages Oct 24, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

there is a load average of 2.0+ even if the box is almost idle. (i.e. "top" shows just one running process: top itself.) Starting two cpu-intensive processes raises the load average to 4.0+. How can I determine the source for the high load, or is this a bug?
I'm running 2.6.9 on a dual-athlon box.

Thanks,
-jo

Signature · 1 line
-rw-r--r--  1 jo users 63 2004-10-24 19:38 /home/jo/.signature
#1 lore raw
Quoted 7 lines · Joerg Sommrey

Hello,

there is a load average of 2.0+ even if the box is almost idle. (i.e. "top" shows just one running process: top itself.) Starting two cpu-intensive processes raises the load average to 4.0+. How can I determine the source for the high load, or is this a bug?
I'm running 2.6.9 on a dual-athlon box.

Look for processes stuck in D state...

#3 lore raw
In reply to Joerg Sommrey
Quoted 5 lines · Joerg Sommrey

there is a load average of 2.0+ even if the box is almost idle. (i.e. "top" shows just one running process: top itself.) Starting two cpu-intensive processes raises the load average to 4.0+. How can I determine the source for the high load, or is this a bug? I'm running 2.6.9 on a dual-athlon box.

Besides other possibilities, a bug in the kernel could be the cause. Please check if any process (one or two) is in uninterruptible sleep. (using ps axl the state is D)
Furthermore, Magic SysRequest+T (alt-print-t) and the dmesg output could give some hints.
If there is nothing suspicious you might try some profiling tool, e.g. OProfile.

There was another bug report about a wrap around load average. I dont know if both reports are related.

cheers

Christian

#4 lore raw
Quoted 14 lines
Quoted 5 lines

there is a load average of 2.0+ even if the box is almost idle. (i.e. "top" shows just one running process: top itself.) Starting two cpu-intensive processes raises the load average to 4.0+. How can I determine the source for the high load, or is this a bug? I'm running 2.6.9 on a dual-athlon box.

Besides other possibilities, a bug in the kernel could be the cause. Please check if any process (one or two) is in uninterruptible sleep. (using ps axl the state is D)
Furthermore, Magic SysRequest+T (alt-print-t) and the dmesg output could give some hints.
If there is nothing suspicious you might try some profiling tool, e.g. OProfile.

Quoted 2 lines

There was another bug report about a wrap around load average. I dont know if both reports are related.

My ¢2: Start the kernel with init=/bin/sash (or some other minimalistic shell), if the load average is "normal" (i.e. 0.0), then it's probably somewhere in userspace.

Jan Engelhardt

Signature · 2 lines
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
#2 lore raw
In reply to Jan Knutar
Quoted 10 lines · Christian Borntraeger
Quoted 5 lines · Joerg Sommrey

there is a load average of 2.0+ even if the box is almost idle. (i.e. "top" shows just one running process: top itself.) Starting two cpu-intensive processes raises the load average to 4.0+. How can I determine the source for the high load, or is this a bug? I'm running 2.6.9 on a dual-athlon box.

Besides other possibilities, a bug in the kernel could be the cause. Please check if any process (one or two) is in uninterruptible sleep. (using ps axl the state is D)

Quoted 2 lines · Jan Knutar

Look for processes stuck in D state...

Thanks,
there was something hanging in D state. Strange enough: it was waiting for modules to be loaded. After killing a hanging "modprobe" (S state), the D state processes vanished and load avg returned to normal values.

-jo

Signature · 1 line
-rw-r--r--  1 jo users 63 2004-10-24 19:38 /home/jo/.signature