From owner-freebsd-questions Fri Aug 10 13:23: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from iteso.mx (iteso.mx [148.201.1.4]) by hub.freebsd.org (Postfix) with ESMTP id ED84E37B403 for ; Fri, 10 Aug 2001 13:23:01 -0700 (PDT) (envelope-from eric@iteso.mx) Received: (from www-data@localhost) by iteso.mx (8.9.3/8.9.3/Debian 8.9.3-21) id PAA18122; Fri, 10 Aug 2001 15:22:27 -0500 From: De la Cruz Lugo Eric X-Authentication-Warning: iteso.mx: www-data set sender to eric@iteso.mx using -f To: Martin McCormick Subject: Re: Swap Space Philosophy Message-ID: <997474947.3b7442836d4f7@iteso.mx> Date: Fri, 10 Aug 2001 15:22:27 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.3 X-Originating-IP: 148.233.11.181 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 Martin: maybe in this case the swap should be at least 1 GB, all this in order (in some cases) to allow a core dump of the memory to disk. of course this is JUST in some cases and only if you really want to know what happened after a system crash (very unlikelly). in this special case I suggest a swap partition of at least 512 MB (just in case). otherwise you can change your swap size later when you get a new drive (say 20 or 30 GB). have a nice day! Eric De La Cruz Lugo. Mérida, Yucatán, México the Maya-Land. Quoting Martin McCormick : > A FreeBSD-powered server I recently set up has 1 gigabyte > of RAM and a 8-gigabyte hard disk. My understanding of swap > usage is that swapping is done when an application runs out of > RAM. Since this system will be running applications like domain > name service and dhcp service, I doubt that it will get close to > running out of RAM any time soon, if ever. I allocated a swap > space of 2 megabytes because fdisk requires Swap. > > This particular server will have a fairly light load, but > I am asking whether FreeBSD uses swap in any unusual way that I > haven't counted on. If I followed the usual rule of thumb, I > would have wasted about 12% of the disk space for an event that > probably won't happen. > > Martin McCormick WB5AGZ Stillwater, OK > OSU Center for Computing and Information Services Data Communications > Group > > 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