From owner-freebsd-questions Wed May 13 14:54:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA25473 for freebsd-questions-outgoing; Wed, 13 May 1998 14:54:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA25459 for ; Wed, 13 May 1998 14:54:32 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id QAA03560; Wed, 13 May 1998 16:54:17 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199805132154.QAA03560@dyson.iquest.net> Subject: Re: Swap Slice In-Reply-To: from Doug White at "May 13, 98 02:23:23 pm" To: dwhite@resnet.uoregon.edu Date: Wed, 13 May 1998 16:54:17 -0500 (EST) Cc: mholliday@lind-waldock.com, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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