Load Averages

Grant Peel gpeel at thenetnow.com
Sat Mar 15 14:22:13 UTC 2008


Hi all,

I have a machine that has be up now for a little over two years:

voyager ROOT /var/log > w
10:15AM  up 741 days,  2:42, 1 user, load averages: 1.06, 1.02, 1.00
USER             TTY      FROM              LOGIN@  IDLE WHAT
****            p0       ************     10:08AM     - w

and as you can see from the 'w' output above, the load average is running 
about 1.00 for all three timeframes.

This machine is a nameserver only and has only a few processes running on 
it. I have tried shutting down all but the very necessary of processes and 
the 1-5-15 minute averages stay the same. This has only started over the 
past week. At the start of last week, my mrtg graphs showed it spiked at 
1.00 for about an hour, then subsided. It did the same a few days later, and 
today, has been at 1.00 since about midnight.

This machine is a Dell PE 500SC (Vintage about 2002), and is running FreeBSD 
4.4.

Questions:

Is there another way (other than top or ps) that will show what is causing 
the spike? ps and top are showing nothing.

Should I be worried?

COuld this be an indication of a hardware problem?

Here is the top output:

last pid:  5181;  load averages:  1.00,  1.00,  1.00 
up 741+02:47:14 10:19:56
23 processes:  1 running, 22 sleeping
CPU states:  0.4% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.2% 
idle
Mem: 34M Active, 102M Inact, 44M Wired, 9924K Cache, 35M Buf, 58M Free
Swap: 516M Total, 1416K Used, 514M Free

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 5181 root      28   0  1888K  1004K RUN      0:00  1.35%  0.24% top
 4988 root       2   0 12084K 11540K select   0:36  0.10%  0.10% named
  182 root      10   0   208K     0K nfsidl   6:05  0.00%  0.00% nfsiod
92063 root      10   0   968K   628K nanslp   4:12  0.00%  0.00% cron
  172 root       2   0   940K   428K select   2:52  0.00%  0.00% syslogd
  183 root      10   0   208K     0K nfsidl   2:36  0.00%  0.00% nfsiod
  184 root      10   0   208K     0K nfsidl   1:57  0.00%  0.00% nfsiod
  211 root       2   0   904K   352K select   1:49  0.00%  0.00% usbd
  185 root      10   0   208K     0K nfsidl   0:28  0.00%  0.00% nfsiod
38935 root       2   0  2100K   784K select   0:11  0.00%  0.00% sshd
 5102 root       2   0  2144K  1332K select   0:00  0.00%  0.00% sshd
 4984 root       2   0  6760K  6052K select   0:00  0.00%  0.00% perl
 5107 root      18   0  1296K   816K pause    0:00  0.00%  0.00% csh
 5103 gpeel     18   0  1292K   820K pause    0:00  0.00%  0.00% tcsh
  291 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
  292 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
  295 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
  293 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
  315 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
  290 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
  294 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
  289 root       3   0   944K   288K ttyin    0:00  0.00%  0.00% getty
   28 root      18   0   208K     0K pause    0:00  0.00%  0.00% adjkerntz

and here is ps:

voyager ROOT /var/log > ps -ax
  PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:40.00  (swapper)
    1  ??  ILs    0:00.85 /sbin/init --
    2  ??  DL     1:55.25  (pagedaemon)
    3  ??  DL     0:00.00  (vmdaemon)
    4  ??  DL     9:38.95  (bufdaemon)
    5  ??  DL   1151:29.78  (syncer)
   28  ??  Is     0:00.00 adjkerntz -i
  172  ??  Ss     2:52.26 /usr/sbin/syslogd -s
  182  ??  I      6:05.35 nfsiod -n 4
  183  ??  I      2:35.51 nfsiod -n 4
  184  ??  I      1:56.52 nfsiod -n 4
  185  ??  I      0:27.87 nfsiod -n 4
  211  ??  Is     1:49.09 /usr/sbin/usbd
 4984  ??  Ss     0:00.09 /usr/bin/perl /usr/local/webmin-1.320/miniserv.pl 
/etc/webmin/miniserv.co
 4988  ??  Ss     0:35.94 named
 5102  ??  S      0:00.31 sshd: ******* (sshd)
38935  ??  Is     0:11.12 /usr/sbin/sshd
92063  ??  Is     4:11.62 cron
 5103  p0  Is     0:00.02 -tcsh (tcsh)
 5107  p0  S      0:00.05 _su (csh)
 5195  p0  R+     0:00.00 ps -ax
  315  v0  Is+    0:00.00 /usr/libexec/getty Pc ttyv0
  289  v1  Is+    0:00.00 /usr/libexec/getty Pc ttyv1
  290  v2  Is+    0:00.00 /usr/libexec/getty Pc ttyv2
  291  v3  Is+    0:00.00 /usr/libexec/getty Pc ttyv3
  292  v4  Is+    0:00.00 /usr/libexec/getty Pc ttyv4
  293  v5  Is+    0:00.00 /usr/libexec/getty Pc ttyv5
  294  v6  Is+    0:00.00 /usr/libexec/getty Pc ttyv6
  295  v7  Is+    0:00.00 /usr/libexec/getty Pc ttyv7

TIA,

-Grant 



More information about the freebsd-questions mailing list