Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 03:03:49 -0500
From:      Joseph Lephan <mystical@houston.rr.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Swap file never get used. period
Message-ID:  <20020830030349.A36577@houston.rr.com>
In-Reply-To: <20020830075002.GJ21595@freepuppy.bellavista.cz>; from neuhauser@bellavista.cz on Fri, Aug 30, 2002 at 09:50:02AM %2B0200
References:  <20020829171531.A1085@houston.rr.com> <20020830071538.GF21595@freepuppy.bellavista.cz> <20020830022915.A35824@houston.rr.com> <20020830075002.GJ21595@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
* Roman Neuhauser (neuhauser@bellavista.cz) wrote:
> > Date: Fri, 30 Aug 2002 02:29:15 -0500
> > From: Joseph Lephan <mystical@houston.rr.com>
> > Subject: Re: Swap file never get used. period
> > 
> > * Roman Neuhauser (neuhauser@bellavista.cz) wrote:
> > > > From: Joseph Lephan <mystical@houston.rr.com>
> 
> > > > 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




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