Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2007 17:10:21 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Zbigniew Szalbot <zbyszek@szalbot.homedns.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: virtual memory management
Message-ID:  <20070120221021.GA63135@gizmo.acns.msu.edu>
In-Reply-To: <60131.192.168.11.7.1169279847.squirrel@lists.lc-words.com>
References:  <60131.192.168.11.7.1169279847.squirrel@lists.lc-words.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 20, 2007 at 08:57:27AM +0100, Zbigniew Szalbot wrote:

> Dear all,
> 
> Is there a FBSD command to manage virtual memory? I think my swap size is
> now a bit too much used:
> 
> last pid: 19824;  load averages:  0.06,  0.05,  0.02   up 50+10:00:17 
> 08:54:00
> 230 processes: 1 running, 227 sleeping, 2 zombie
> CPU states:  0.0% user,  0.0% nice,  0.4% system,  0.8% interrupt, 98.8% idle
> Mem: 232M Active, 27M Inact, 91M Wired, 212K Cache, 60M Buf, 142M Free
> Swap: 512M Total, 482M Used, 29M Free, 94% Inuse
> 
> The swap size usage grow so big probably because I started wget to
> download an iso image and then WinSCP to grab it from the FBSD machine to
> my laptop. When I started wget, the swap usage was around 19% and had been
> like that for many days.
> 
> Is there any way to handle swap size usage other than restarting the box?

Don't forget that the system also pages to swap space and it takes the
attitude of parking as much as possible out there in case it comes in
to demand again.  Ten if it really needs the space for something, it 
invalidates the oldest stuff and uses that space.

So, you should really expect that your swap space should be 
nearly maxed all the time if things are working well.

Someone else can give you more accurate detailed information
if you want it.

////jerry

> 
> Thank you very much in advance!
> 
> -- 
> Zbigniew Szalbot
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 



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