From owner-freebsd-questions Fri Aug 30 0:57: 2 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 EF5A037B401 for ; Fri, 30 Aug 2002 00:56:57 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C5CD43E75 for ; Fri, 30 Aug 2002 00:56:46 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 1482 invoked from network); 30 Aug 2002 07:50:03 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 30 Aug 2002 07:50:03 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 337D3101; Fri, 30 Aug 2002 09:50:03 +0200 (CEST) Date: Fri, 30 Aug 2002 09:50:02 +0200 From: Roman Neuhauser To: Joseph Lephan Cc: freebsd-questions@freebsd.org Subject: Re: Swap file never get used. period Message-ID: <20020830075002.GJ21595@freepuppy.bellavista.cz> Mail-Followup-To: Joseph Lephan , freebsd-questions@freebsd.org References: <20020829171531.A1085@houston.rr.com> <20020830071538.GF21595@freepuppy.bellavista.cz> <20020830022915.A35824@houston.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020830022915.A35824@houston.rr.com> User-Agent: Mutt/1.5.1i 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 > 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? 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message