From owner-freebsd-questions Mon Nov 22 9:42:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 95E6D1598C for ; Mon, 22 Nov 1999 09:42:48 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id LAA85329; Mon, 22 Nov 1999 11:42:40 -0600 (CST) (envelope-from dan) Date: Mon, 22 Nov 1999 11:42:40 -0600 From: Dan Nelson To: Mike Sturdee Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mem question... Message-ID: <19991122114240.A85077@dan.emsphone.com> References: <4.1.19991122112042.0092dbe0@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <4.1.19991122112042.0092dbe0@127.0.0.1>; from sturdee@mikesweb.com on Mon, Nov 22, 1999 at 11:22:39AM -0500 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Nov 22), Mike Sturdee said: > When when I have 256 megs of mem, and 65 megs free (showing in top), > is it still using swap space? > > last pid: 17865; load averages: 0.15, 0.18, 0.15 > up 4+12:48:25 10:20:09 > 77 processes: 2 running, 68 sleeping, 7 zombie > CPU states: 6.9% user, 0.0% nice, 10.4% system, 2.7% interrupt, 79.9% idle > Mem: 24M Active, 137M Inact, 21M Wired, 2020K Cache, 8348K Buf, 65M Free > Swap: 128M Total, 9708K Used, 118M Free, 7% Inuse, 44K In Chances are that at some point something in your system used enough memory to start swapping. Your system has been up for 4 days, so that's not unreasonable. Keep in mind that swap usage is not a bad thing! It's simply moving unused blocks of memory to disk. What IS bad is constant swap usage (thrashing). Run 'vmstat 1' and watch the 'pi' and 'po' columns. If they are below 10, you're okay. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message