misleading load average
BostonU SysMgr
root%bostonu.csnet at CSNET-RELAY.ARPA
Fri Oct 25 04:43:48 AEST 1985
>From: johnsson at decwrl.UUCP (Richard Johnsson)
>
>I have a VAX 785 running Ultrix 1.1 which has been reporting a load average
>just over 3 all night although there is apparently nothing going on (ps
>shows nothing running except itself; mon reports no processes in the run
>queues and over 90% idle time). I believe I have also seen this on 4.2
>sytems here.
>
>Can anyone explain or provide a fix?
It is hard without some info, here is what you need:
First, the load average is basically an indication of how many jobs are
in the run queue, there are only two possible explanations for what you
see (that I can tell):
a) something is corrupted in your kernel (not likely)
b) ps is lying to you because things are changing too fast
I like (b), my first guess is a bad tty line and a getty dying/forking at
a high rate or some similar problem. Try 'iostat' to see if any I/O is
going on, possibly 'pstat' to try and track down where it is coming from.
Try this:
ps augx > foo1;sleep 5;ps augx > foo2;diff foo1 foo2
if nothing is really going on the diff should be short, watch the TIME
column and the PID column carefully, perhaps you are missing the fact
that the same named process is showing up repeatedly with a different
PID?
Just a guess from the outside. I can believe that some of the meters are
inaccurate enough to miss rapidly created/dying processes.
-Barry Shein, Boston University
More information about the Comp.unix.wizards
mailing list