From owner-freebsd-questions Fri Aug 30 1: 4: 5 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 6FBCB37B400 for ; Fri, 30 Aug 2002 01:04:02 -0700 (PDT) Received: from houston.rr.com (cs2417481-85.houston.rr.com [24.174.81.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC6D543E42 for ; Fri, 30 Aug 2002 01:04:01 -0700 (PDT) (envelope-from mystical@houston.rr.com) Received: from houston.rr.com (localhost [127.0.0.1]) by houston.rr.com (8.12.3/8.12.3) with ESMTP id g7U83nk4036600 for ; Fri, 30 Aug 2002 03:03:49 -0500 (CDT) (envelope-from mystical@houston.rr.com) Received: (from mystical@localhost) by houston.rr.com (8.12.3/8.12.3/Submit) id g7U83nOK036599 for freebsd-questions@freebsd.org; Fri, 30 Aug 2002 03:03:49 -0500 (CDT) Date: Fri, 30 Aug 2002 03:03:49 -0500 From: Joseph Lephan To: freebsd-questions@freebsd.org Subject: Re: Swap file never get used. period Message-ID: <20020830030349.A36577@houston.rr.com> References: <20020829171531.A1085@houston.rr.com> <20020830071538.GF21595@freepuppy.bellavista.cz> <20020830022915.A35824@houston.rr.com> <20020830075002.GJ21595@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020830075002.GJ21595@freepuppy.bellavista.cz>; from neuhauser@bellavista.cz on Fri, Aug 30, 2002 at 09:50:02AM +0200 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 * Roman Neuhauser (neuhauser@bellavista.cz) wrote: > > Date: Fri, 30 Aug 2002 02:29:15 -0500 > > From: Joseph Lephan > > Subject: Re: Swap file never get used. period > > > > * Roman Neuhauser (neuhauser@bellavista.cz) wrote: > > > > From: Joseph Lephan > > > > > Upon recently installing FreeBSD, I was aware that i allocated 1 GB to > > > > a swap partition. Now this is fine because that was what i wanted, but > > > > it seems that when I type in 'top' at console, my swap file was > > > > reported to at 100%, ie, none of was being used, ever. > > > > > > interesting. if you see 100%, your swap is 100% *used* > > > actual top output: > > > > You Know what i meant. Put simply, 100% of my swap is Available, 0% used > > ok. next question would be: how much physical memory do you have? 512 Mbytes > > this system has 256mb, and i run all sorts of stuf on it > (apache+php, mysqld, tinydns+dnscache, ntpd, xfree86+blackbox > [mozilla, loads of rxvt terminals, several gvims, ...], and it uses > 7% of swap. A few megs of ram more, it'd be all free. > > but given you see 0% for everything in top, i'd say your kernel and > world are out of sync as suggested by Edwin Groothuis. > > > > Mem: 156M Active, 21M Inact, 58M Wired, 11M Cache, 35M Buf, 2548K Free > > > Swap: 1024M Total, 80M Used, 944M Free, 7% Inuse > > > I think that it's been clarified though. Swap is not used until Mem is > > completely tied up. Thanx for the input though > > this is another possible cause > > -- > FreeBSD 4.6-STABLE > 9:43AM up 9 days, 15:35, 12 users, load averages: 0.21, 0.07, 0.02 If my kernel and world were out of sync, what are the recommended steps that i must take? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message