[Cialug] stuck load average and ntp?

chris chris at ia.gov
Fri May 15 11:01:38 CDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> The load average isn't coming from any file...don't know why you are
> messing with wtmp...it is coming directly from the kernel/scheduler.
> If you have a load average of 6 then you have 6 procs running.   See the
> second line of the top output "6 running", so you probably have runaway
> procs consuming all CPU.  
> 
> Kill the procs or reboot and your load average will go down.


Almost right.  Depends on how many cores he has.  If it is a single core/cpu then there is 1 process running and 5.57
waiting to run.  Sometimes the scheduler does flake out for whatever reason and a process can get added to the que and
never find it's way out often due to strange conflicts in priority levels.  That's rare though.

As for the loadavg, it can be found a file that happens to be populated by the scheduler, /proc/loadavg.  Cat it out at
any time for a peek.

I'd be looking long and hard at your process list you might find the r flag useful.


crr/arreyder at freenode









-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoNkeIACgkQPmaZdRmQd+YMRACfVi5knvKewZkRvaJmDpBQjaTa
rlYAn0ABZlKWz4HNFzzokWFBJGsBVYHz
=NKDo
-----END PGP SIGNATURE-----


More information about the Cialug mailing list