From owner-freebsd-questions@FreeBSD.ORG Sat Jan 20 22:15:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C29EB16A406 for ; Sat, 20 Jan 2007 22:15:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 84D7513C467 for ; Sat, 20 Jan 2007 22:15:33 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l0KMALv0063206; Sat, 20 Jan 2007 17:10:21 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l0KMAL2O063205; Sat, 20 Jan 2007 17:10:21 -0500 (EST) (envelope-from jerrymc) Date: Sat, 20 Jan 2007 17:10:21 -0500 From: Jerry McAllister To: Zbigniew Szalbot Message-ID: <20070120221021.GA63135@gizmo.acns.msu.edu> References: <60131.192.168.11.7.1169279847.squirrel@lists.lc-words.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60131.192.168.11.7.1169279847.squirrel@lists.lc-words.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: virtual memory management X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2007 22:15:33 -0000 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" >