From owner-freebsd-questions Fri Nov 15 7:21:16 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 6636737B401 for ; Fri, 15 Nov 2002 07:21:15 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEA8843E3B for ; Fri, 15 Nov 2002 07:21:14 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id gAFFLBW24954; Fri, 15 Nov 2002 10:21:11 -0500 (EST) From: Jerry McAllister Message-Id: <200211151521.gAFFLBW24954@clunix.cl.msu.edu> Subject: Re: Running out of swap space????? To: jonas@netwood.net (Jonas Fornander) Date: Fri, 15 Nov 2002 10:21:11 -0500 (EST) Cc: FreeBSD-Questions@FreeBSD.ORG ('FreeBSD LIST') In-Reply-To: <001801c28c89$4e0f7800$0800a8c0@master> from "Jonas Fornander" at Nov 15, 2002 01:28:01 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > > I installed 4.7 on a 233MHz with 64MB of RAM. I then added the following > packages: > Apache2, mySQL, webmin, awstats and Cistron radius. > > Now boot up hangs when it starts local packages with the following > error: > > Nov 15 00:36:53 clarabel /kernel: Mounting root from ufs:/dev/ad0s1a > Nov 15 00:40:53 clarabel /kernel: swap_pager: out of swap space > Nov 15 00:40:53 clarabel /kernel: swap_pager_getswapspace: failed > Nov 15 00:40:53 clarabel /kernel: pid 108 (radiusd), uid 0, was killed: > out of swap space > > I have removed most packages but it still hangs on the swap_pager error. > The swap space is 128MB and none is used according to top. I don't know about what TOP is telling you about use, but 128MB is way way small for swap space on a modern machine. As a rule of thumb, I try to have 2 1/2 time memory size for swap space. Swap space is used for paging as well as swap. Just the act of loading up some big think can burn up a lot of space temporarily, even if it doesn't continue to use it. ////jerry > > Does anyone know how to solve this? > > TIA for any help. > > Jonas Fornander - System Administrator > Netwood Communications, LLC - www.netwood.net > Find out why we're better - 310-442-1530 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message