From owner-freebsd-questions Thu Nov 28 20:17:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8679C37B401 for ; Thu, 28 Nov 2002 20:17:42 -0800 (PST) Received: from svmarshal.bytecraft.au.com (svmarshal.bytecraft.au.com [203.39.118.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCD0143E88 for ; Thu, 28 Nov 2002 20:17:40 -0800 (PST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[203.39.118.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Fri, 29 Nov 2002 15:17:29 +1100 Received: from MJTDEVNULL (unknown [10.0.30.252]) by wombat.bytecraft.au.com (Postfix) with ESMTP id 9E0F73F94 for ; Fri, 29 Nov 2002 15:17:38 +1100 (EST) From: "Murray Taylor" To: Subject: swap constantly 50% used Date: Fri, 29 Nov 2002 15:17:38 +1100 Message-ID: <003a01c2975e$409a9df0$fc1e000a@MJTDEVNULL> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What could cause 50% of the swap to be constantly 'in use' ? bcall@flea(~/c-code)ttyp1 > pstat -s Device 1K-blocks Used Avail Capacity Type /dev/ad0s2b 262016 132156 129860 50% Interleaved bcall@flea(~/c-code)ttyp1 > uname -a FreeBSD flea.bytecraft.au.com 4.7-RC FreeBSD 4.7-RC #0: Tue Sep 24 19:41:00 EST 2002 root@flea.bytecraft.au.com:/usr/obj/usr/src/sys/GENERIC i386 bcall@flea(~/c-code)ttyp1 > ps ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00.03 (swapper) 1 ?? ILs 0:00.81 /sbin/init -- 2 ?? DL 1:11.98 (pagedaemon) 3 ?? DL 0:00.56 (vmdaemon) 4 ?? DL 0:49.58 (bufdaemon) 5 ?? DL 0:49.69 (vnlru) 6 ?? DL 23:14.41 (syncer) 21 ?? IWs 0:00.00 adjkerntz -i 57 ?? Ss 4:32.82 /sbin/ipmon -Dsv 90 ?? Ss 2:08.72 /usr/sbin/syslogd -sn 95 ?? Ss 4:15.59 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid 102 ?? IWs 0:00.00 /usr/sbin/inetd -wW 104 ?? Is 0:12.13 /usr/sbin/cron 106 ?? Is 0:01.09 /usr/sbin/sshd 8244 ?? Is 0:14.33 /usr/local/sbin/smbd -D 8246 ?? Ss 7:07.38 /usr/local/sbin/nmbd -D 9911 ?? Ss 11:47.91 /usr/local/sbin/httpd 9912 ?? I 0:24.47 /usr/local/sbin/httpd 9913 ?? I 0:49.82 /usr/local/sbin/httpd 9914 ?? I 1:08.15 /usr/local/sbin/httpd 9915 ?? I 0:29.15 /usr/local/sbin/httpd 9916 ?? I 0:51.86 /usr/local/sbin/httpd 9942 ?? S 1:47.59 /usr/local/sbin/httpd 9969 ?? I 0:22.80 /usr/local/sbin/httpd 10296 ?? I 1:13.74 /usr/local/sbin/httpd 10499 ?? Is 0:17.16 named -u nobody -g nobody 13578 ?? I 0:31.15 /usr/local/sbin/smbd -D 13608 ?? I 0:00.30 /usr/local/sbin/smbd -D 13609 ?? S 0:07.41 /usr/local/sbin/smbd -D 13627 ?? I 0:00.24 /usr/local/sbin/smbd -D 13636 ?? S 0:05.52 sshd: operator@ttyp1 (sshd) 13698 ?? I 0:00.78 /usr/local/sbin/smbd -D 13699 ?? I 0:01.10 /usr/local/sbin/smbd -D 14072 ?? S 0:00.06 /usr/local/sbin/smbd -D 22516 ?? S 93:10.17 (squid) (squid) 22517 ?? Is 0:44.90 (unlinkd) (unlinkd) 44732 ?? Ss 4:09.44 sendmail: accepting connections (sendmail) 64589 ?? Is 0:00.02 lpd 65235 ?? IW 0:00.00 sshd: operator@ttyp0 (sshd) 81013 ?? I 0:08.44 sshd: operator@ttyp2 (sshd) 99275 ?? Ss 0:45.92 /usr/local/sbin/dhcpd 65237 p0 IWs+ 0:00.00 -csh (csh) 13637 p1 Is 0:00.03 -csh (csh) 13638 p1 I 0:00.03 -su (csh) 13639 p1 S 0:00.19 -su (csh) 14235 p1 R+ 0:00.00 ps ax 36445 p1- IW 0:00.00 /bin/sh /usr/local/bin/safe_mysqld --user=mysql 36459 p1- R 394:47.75 /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/db/mysql --user=mysql --pid-file=/var/db/my 81014 p2 IWs 0:00.00 -csh (csh) 82825 p2 I+ 0:00.60 -su (csh) 83077 p2 IW 0:00.00 /usr/local/sbin/frox 48799 v0 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv0 172 v1 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv1 173 v2 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv2 174 v3 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv3 175 v4 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv4 176 v5 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv5 177 v6 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv6 178 v7 IWs+ 0:00.00 /usr/libexec/getty Pc ttyv7 bcall@flea(~/c-code)ttyp1 > Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment Phone: 61 3 8710 2555 Fax: 61 3 8710 2599 Direct: 61 3 9238 4275 Mobile: 61 0417 319 256 Email: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com ************************************************************************ 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