Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 11:42:40 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Mike Sturdee <sturdee@mikesweb.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mem question...
Message-ID:  <19991122114240.A85077@dan.emsphone.com>
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
References:  <4.1.19991122112042.0092dbe0@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991122114240.A85077>