*BSD News Article 91846


Return to BSD News archive

From: borki@rb.xs.use.ch (Reto Burkhalter)
Subject: Problem with 2.2R and "top"
Message-ID: <zNZh$MD4F99aUz1@rb.xs.use.ch>
Date: Sun, 23 Mar 97 20:54:23 CET
Newsgroups: comp.unix.bsd.freebsd.misc
X-Newsreader: MicroDot 1.12 [REGISTERED 004f99]
Organization: use Communications
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!newsfeed.nacamar.de!fu-berlin.de!news-ber1.dfn.de!news-fra1.dfn.de!news-ge.switch.ch!news-zh.switch.ch!dino.active.ch!hp.use.ch!xs!rb.xs.use.ch!not-for-mail
Lines: 98
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37659

Hy everyone

I have a strange problem with my new 2.2 system and "top":


last pid:   236;  load averages:  0.13,  0.04,  0.01    20:40:05
12 processes:  4 starting, 1 running, 1 zombie

Mem: 7988K Active, 2892K Inact, 7240K Wired, 2897K Buf, 44M Free
Swap: 100M Total, 100M Used, 100% Inuse


  PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  222 root    -22   0     0K     0K START     ???  0.00% 74518588.33% <>
   32 root    210  48     0K     0K          0:00  0.00% 67503637.24% <?>
1828730136 root    -22   0'.**'''(,K  1552K START    0:01 7500.00% 7500.00% 
    0 root    -22   0  1446G /0*+,'((,(K (null)  54.6H 980.49% 980.49% <>
    0 root    -19   0     0K     0K (null)    ??? 117.23% 117.23% <>
  236 .-/*))(.-22   0   888K     0K RUN      0:00  0.00%  0.00% 
    0 root    -22  59     0K     0K (null)    ???  0.00%  0.00% <?X???>
    0      5  -22   0     4K     8K START    0:00  0.00%  0.00% <>
    1 root    -22   0  8452K     0K START    0:00  0.00%  0.00% <>
    0 root    -22   0*-+,0.+*,K /0*+)..)0,K (null)   0:01 157780625.00% 1577806
    0 .-/*)/'--22   0     0K     0K (null)    ??? 155032563.48% 155032563.48% <


It worked fine after I installed everything. In the meantime, I had a lot
of ethernet traffic through the box, but nothing changed...
(output of top 3.4)

Why is 100 percent of swap used? Output of vmstat:


 procs   memory     page                    disks   faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr s0 c0   in   sy  cs us sy id
 0 0 0  6508 44756  104   0   3   0  78   0 12  0  245  207  22  2  2 97


Is this normal??

And 'ps ax':


  PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:00.00  (swapper)
    1  ??  Is     0:00.02 /sbin/init --
    2  ??  DL     0:00.00  (pagedaemon)
    3  ??  DL     0:00.00  (vmdaemon)
    4  ??  DL     0:00.01  (update)
   92  ??  Ss     0:00.06 syslogd
   95  ??  Is     0:00.02 named -b /etc/namedb/named.boot
  100  ??  Is     0:00.00 portmap
  107  ??  Is     0:00.00 mountd
  109  ??  Is     0:00.00 nfsd: master (nfsd)
  110  ??  I      0:00.00 nfsd: server (nfsd)
  111  ??  I      0:00.00 nfsd: server (nfsd)
  112  ??  I      0:00.00 nfsd: server (nfsd)
  113  ??  I      0:00.00 nfsd: server (nfsd)
  115  ??  Is     0:00.00 rpc.statd
  120  ??  Is     0:00.01 rwhod
  134  ??  Is     0:00.14 inetd
  136  ??  Ss     0:00.02 cron
  140  ??  Is     0:00.01 sendmail: accepting connections on port 25 (sendmail)
  160  ??  Ss     0:00.02 moused -s -c -p /dev/psm0 -t ps/2
  170  ??  Ss     0:00.04 /usr/local/sbin/httpd -f /usr/local/www/conf/httpd.co
  174  ??  I      0:00.00 /usr/local/sbin/httpd -f /usr/local/www/conf/httpd.co
  175  ??  I      0:00.00 /usr/local/sbin/httpd -f /usr/local/www/conf/httpd.co
  176  ??  I      0:00.00 /usr/local/sbin/httpd -f /usr/local/www/conf/httpd.co
  177  ??  I      0:00.00 /usr/local/sbin/httpd -f /usr/local/www/conf/httpd.co
  209  ??  Is     0:00.01 /root/ppp+packetAlias1.9/ppp -auto icz
  213  ??  I      0:00.01 (dnsserver) (dnsserver)
  214  ??  I      0:00.01 (dnsserver) (dnsserver)
  215  ??  I      0:00.01 (dnsserver) (dnsserver)
  216  ??  I      0:00.01 (dnsserver) (dnsserver)
  217  ??  I      0:00.01 (dnsserver) (dnsserver)
  229  ??  I      0:00.01 /usr/libexec/getty std.115200 ttyd0
  230  ??  Is     0:00.01 /usr/local/sbin/ftpget -S 1045
  218  v0  Ss     0:00.23 -bash (bash)
  255  v0  R+     0:00.00 ps -ax
  219  v1  Is+    0:00.01 /usr/libexec/getty Pc ttyv1
  220  v2  Is+    0:00.01 /usr/libexec/getty Pc ttyv2
  221  v3  Is+    0:00.01 /usr/libexec/getty Pc ttyv3
  222  v4  Is+    0:00.01 /usr/libexec/getty Pc ttyv4
  223  v5  Is+    0:00.01 /usr/libexec/getty Pc ttyv5
  224  v6  Is+    0:00.01 /usr/libexec/getty Pc ttyv6
  225  v7  Is+    0:00.01 /usr/libexec/getty Pc ttyv7
  226  v8  Is+    0:00.01 /usr/libexec/getty Pc ttyv8
  227  v9  Is+    0:00.01 /usr/libexec/getty Pc ttyv9
  228  va  Is+    0:00.01 /usr/libexec/getty Pc ttyva
  179 con- I+     0:00.01 /bin/sh /usr/local/sbin/RunCache
  190 con- S+     0:00.45 squid -D -sY


Any help would be greatly appreciated.



Reto