Date: Fri, 15 Nov 2002 12:08:30 -0500 (EST) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: jerrymc@clunix.cl.msu.edu (Jerry McAllister) Cc: jonas@netwood.net (Jonas Fornander), FreeBSD-Questions@FreeBSD.ORG ('FreeBSD LIST') Subject: Re: Running out of swap space????? Message-ID: <200211151708.gAFH8Vq25809@clunix.cl.msu.edu> In-Reply-To: <200211151521.gAFFLBW24954@clunix.cl.msu.edu> from "Jerry McAllister" at Nov 15, 2002 10:21:11 AM
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211151708.gAFH8Vq25809>