From owner-freebsd-questions Fri Nov 15 9: 8:41 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 3A21337B401 for ; Fri, 15 Nov 2002 09:08:40 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22C3143E75 for ; Fri, 15 Nov 2002 09:08:39 -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 gAFH8Vq25809; Fri, 15 Nov 2002 12:08:31 -0500 (EST) From: Jerry McAllister Message-Id: <200211151708.gAFH8Vq25809@clunix.cl.msu.edu> Subject: Re: Running out of swap space????? To: jerrymc@clunix.cl.msu.edu (Jerry McAllister) Date: Fri, 15 Nov 2002 12:08:30 -0500 (EST) Cc: jonas@netwood.net (Jonas Fornander), FreeBSD-Questions@FreeBSD.ORG ('FreeBSD LIST') In-Reply-To: <200211151521.gAFFLBW24954@clunix.cl.msu.edu> from "Jerry McAllister" at Nov 15, 2002 10:21:11 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. Hmmmm. Sorry for following up my own post. I didn't notice your memory size before. 64MB + 128MB is not a lot of total space. I am not surprised that you are running out of swap with Apache2, MySQL and webmin running plus other things. Those involve many processes and eat up a lot of space just existing, let alone doing anything. Try 4Xing the memory and 6Xing the swap. ////jerry > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message