Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 15:30:18 +1100
From:      "Murray Taylor" <murraytaylor@bytecraftsystems.com>
To:        "'Tim Peters'" <tim@lost.net.au>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: swap constantly 50% used
Message-ID:  <004501c29760$05622d50$fc1e000a@MJTDEVNULL>
In-Reply-To: <20021129042047.GB29677@adelaide.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
As requested

bcall@flea(~/c-code)ttyp1 > ps axl
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME
COMMAND
    0     0     0   0 -18  0     0    0 sched  DLs   ??    0:00.03
(swapper)
    0     1     0   0  10  0   544   72 wait   ILs   ??    0:00.81
/sbin/init --
    0     2     0   0 -18  0     0    0 psleep DL    ??    1:11.98
(pagedaemon)
    0     3     0   0  18  0     0    0 psleep DL    ??    0:00.56
(vmdaemon)
    0     4     0   0 -18  0     0    0 psleep DL    ??    0:49.61
(bufdaemon)
    0     5     0   0  -2  0     0    0 vlruwt DL    ??    0:49.72
(vnlru)
    0     6     0   0  18  0     0    0 syncer DL    ??   23:14.78
(syncer)
    0    21     1  71  18  0   212    0 pause  IWs   ??    0:00.00
adjkerntz -i
    0    57     1   0  10  0   920  156 nanslp Ss    ??    4:32.92
/sbin/ipmon -Dsv
    0    90     1   0   2  0   940  320 select Ss    ??    2:08.76
/usr/sbin/syslogd -sn
    0    95     1   0   2  0  1304  408 select Ss    ??    4:15.69
/usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid
    0   102     1  71   2  0  1036    0 select IWs   ??    0:00.00
/usr/sbin/inetd -wW
    0   104     1   0  10  0   980  184 nanslp Ss    ??    0:12.14
/usr/sbin/cron
    0   106     1   1   2  0  2312  280 select Is    ??    0:01.09
/usr/sbin/sshd
    0  8244     1   0   2  0  9064  912 select Is    ??    0:14.34
/usr/local/sbin/smbd -D
    0  8246     1   0   2  0 114548  804 select Ss    ??    7:07.52
/usr/local/sbin/nmbd -D
    0  9911     1   0   2  0  4732 2000 select Ss    ??   11:48.00
/usr/local/sbin/httpd
   80  9912  9911   1   2  0  6084 3592 accept I     ??    0:24.67
/usr/local/sbin/httpd
   80  9913  9911   0   2  0  6176 3664 accept I     ??    0:49.97
/usr/local/sbin/httpd
   80  9914  9911  20   2  0  6020 3704 accept I     ??    1:08.73
/usr/local/sbin/httpd
   80  9915  9911   0   2  0  6192 3756 accept I     ??    0:29.60
/usr/local/sbin/httpd
   80  9916  9911   4   2  0  6116 3612 accept I     ??    0:52.16
/usr/local/sbin/httpd
   80  9942  9911   2   2  0  6568 4000 sbwait S     ??    2:04.59
/usr/local/sbin/httpd
   80  9969  9911   0   2  0  5976 3616 accept I     ??    0:22.95
/usr/local/sbin/httpd
   80 10296  9911   8   2  0  6156 3768 accept I     ??    1:14.03
/usr/local/sbin/httpd
65534 10499     1   0   2  0  2956 1668 select Is    ??    0:17.31 named
-u nobody -g nobody
    0 13578  8244   0   2  0 15892 8680 select S     ??    0:31.16
/usr/local/sbin/smbd -D
    0 13608  8244   0   2  0 10444 2204 select S     ??    0:00.30
/usr/local/sbin/smbd -D
    0 13609  8244   0   2  0 12888 5672 select S     ??    0:07.84
/usr/local/sbin/smbd -D
    0 13627  8244   0   2  0 10376 2144 select S     ??    0:00.24
/usr/local/sbin/smbd -D
    0 13636   106   0   2  0  2448 1384 select S     ??    0:06.03 sshd:
operator@ttyp1 (sshd)
    0 13698  8244   0   2  0 10556 3292 select S     ??    0:00.79
/usr/local/sbin/smbd -D
    0 13699  8244   0   2  0 10528 3276 select S     ??    0:01.11
/usr/local/sbin/smbd -D
    0 14072  8244   0   2  0 10284 2028 select I     ??    0:00.07
/usr/local/sbin/smbd -D
    0 14255  8244   0   2  0 10272 2100 select I     ??    0:00.04
/usr/local/sbin/smbd -D
65534 22516     1   0   2  0 21796 17768 poll   S     ??   93:13.93
(squid) (squid)
65534 22517 22516   0  -6  0   860  164 piperd Is    ??    0:44.90
(unlinkd) (unlinkd)
    0 44732     1   0   2  0  2776  564 select Ss    ??    4:09.53
sendmail: accepting connections (sendmail)
    0 64589     1   0   2  0   956  180 select Is    ??    0:00.02 lpd
    0 65235   106   0   2  0  2448    0 select IW    ??    0:00.00 sshd:
operator@ttyp0 (sshd)
    0 81013   106   0   2  0  2760  672 select I     ??    0:08.44 sshd:
operator@ttyp2 (sshd)
    0 99275     1   0   2  0  2548 1624 select Is    ??    0:46.04
/usr/local/sbin/dhcpd
    2 65237 65235   0   3  0  1336    0 ttyin  IWs+  p0    0:00.00 -csh
(csh)
    2 13637 13636   0  18  0  1372  864 pause  Is    p1    0:00.03 -csh
(csh)
    0 13638 13637   0  18  0  1380  872 pause  I     p1    0:00.03 -su
(csh)
 2002 13639 13638   0  18  0  1380  908 pause  S     p1    0:00.20 -su
(csh)
 2002 14268 13639   1  28  0   452  224 -      R+    p1    0:00.00 ps
axl
    0 36445     1 209  10  0   644    0 wait   IW    p1-   0:00.00
/bin/sh /usr/local/bin/safe_mysqld --user=mysql
   88 36459 36445 250  59  0 30292 10572 -      R     p1- 413:40.89
/usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/db
    2 81014 81013   0  18  0  1436    0 pause  IWs   p2    0:00.00 -csh
(csh)
    0 82825 81014   0   3  0  1444  732 ttyin  I+    p2    0:00.60 -su
(csh)
65534 83077     1   0   2  0   956    0 accept IW    p2    0:00.00
/usr/local/sbin/frox
    0 48799     1   0   3  0   948    0 ttyin  IWs+  v0    0:00.00
/usr/libexec/getty Pc ttyv0
    0   172     1   0   3  0   948    0 ttyin  IWs+  v1    0:00.00
/usr/libexec/getty Pc ttyv1
    0   173     1   0   3  0   948    0 ttyin  IWs+  v2    0:00.00
/usr/libexec/getty Pc ttyv2
    0   174     1   0   3  0   948    0 ttyin  IWs+  v3    0:00.00
/usr/libexec/getty Pc ttyv3
    0   175     1   0   3  0   948    0 ttyin  IWs+  v4    0:00.00
/usr/libexec/getty Pc ttyv4
    0   176     1   0   3  0   948    0 ttyin  IWs+  v5    0:00.00
/usr/libexec/getty Pc ttyv5
    0   177     1   0   3  0   948    0 ttyin  IWs+  v6    0:00.00
/usr/libexec/getty Pc ttyv6
    0   178     1   0   3  0   948    0 ttyin  IWs+  v7    0:00.00
/usr/libexec/getty Pc ttyv7

-----Original Message-----
From: Tim Peters [mailto:tim@lost.net.au] 
Sent: Friday, November 29, 2002 3:21 PM
To: Murray Taylor
Cc: freebsd-questions@freebsd.org
Subject: Re: swap constantly 50% used


On Fri, Nov 29, 2002 at 03:17:38PM +1100, Murray Taylor wrote:
> What could cause 50% of the swap to be constantly 'in use' ?

[cut]

> bcall@flea(~/c-code)ttyp1 > ps ax

[cut]

Try "ps axl" which will show more information, such as memory use.

-tim

************************************************************************
This Email has been scanned for Viruses by MailMarshal.
************************************************************************


************************************************************************
This Email has been scanned for Viruses by MailMarshal.
************************************************************************

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004501c29760$05622d50$fc1e000a>