Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 1998 16:54:17 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        dwhite@resnet.uoregon.edu
Cc:        mholliday@lind-waldock.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Swap Slice
Message-ID:  <199805132154.QAA03560@dyson.iquest.net>
In-Reply-To: <Pine.BSF.3.96.980513142234.1690I-100000@gdi.uoregon.edu> from Doug White at "May 13, 98 02:23:23 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 13 May 1998, Mike Holliday wrote:
> 
> > I have FreeBSD running on a test machine. a Pentium 100MHz with 104 megs
> > of ram.  I have set the swap slice to 48 megs, but everytime I run
> > Xwindows I get a swat_pager out of memory message. I cannot understand
> > why this would happen, I run Linux with a smaller swap slice and half
> > the ram and never gotten a swap error. Any help would be great. 
> 
> If you can, run top or swapinfo continuously while X is starting and see
> if it really is running out of swap or if the problem is something else.
> 
> 50MB of swap probably isn't enough.  You want more like 100MB.
> 
Remember that any usage of swap space saves RAM.  If swap is being
conserved, then RAM is being used.  I think that the FreeBSD policy
of using more swap is more effective than trying to conserve it
at the expense of RAM.

What that means though is that one must be liberal with swap space
allocations.  In FreeBSD-current we have tightened things up a little
bit more, but still the policy stands.

John

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?199805132154.QAA03560>