Re: Bug? Load avg 2.0 when idle.

From: Jan Engelhardt
Date: Sun Oct 24 2004 - 13:55:56 EST


>> 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.

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
--
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/