[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: high load average



on Mon, Mar 05, 2001 at 09:37:36PM -0500, MaD dUCK (madduck@madduck.net) wrote:
> someone explain this to me:
> 
> albatross:~$ uname -a
> Linux albatross 2.2.17 #2 Mon Sep 04 20:49:27 CET 2000 i586 unknown
> 
> albatross:~$ uptime
>   2:56am  up 174 days,  5:50,  1 user,  load average: 2.00, 2.05, 2.01
> 
> # processes sorted by decreasing cpu usage
> albatross:~$ ps aux | head -1 && ps aux | sort -nrk3 | head -5
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> root     15889  0.2  1.6  2720 1536 ?        S    02:50   0:02 /usr/sbin/sshd
> root      1646  0.1  0.9  1672  864 ?        S     2000  32:01 /usr/sbin/diald -
> xfs       1776  0.0  1.0  2060 1020 ?        S     2000   0:00 xfs -droppriv -da
> squid     1748  0.0  0.3  1088  332 ?        S     2000   0:06 (unlinkd)
> squid     1742  0.0 19.2 20048 18440 ?       S     2000  15:01 (squid) -D
> root     25890  0.0  0.7  1652  764 ?        D    00:01   0:00 sh /etc/ppp/ip-up
> root     25889  0.0  0.7  1644  752 ?        S    00:01   0:00 bash /etc/ppp/ip-
> 
> the load average displayed by uptime has been very consistently above
> 2.00 and the output of ps aux has been pretty much the same for the
> past two weeks. no hung jobs. no traffic. the server basically *isn't
> being used*, especially not during the last 1, 5, or 15 minutes. and
> cron isn't running, there are *only* 35 running jobs. why, oh why then
> is it 200% loaded???

It's not 200% loaded.  There are two processes in the run queue.  I'd do
a 'ps aux' and look at what's runnable (STAT = 'R').  You might have to
do this repeatedly to find out what's there.  If it's the same processes
consistently, you might look to see what they or their children are
doing.

Note that you list *no* runnable processes in your ps output.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpVXvW4YGisB.pgp
Description: PGP signature


Reply to: