From owner-freebsd-questions@FreeBSD.ORG Sat Oct 10 21:23:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 441F71065697 for ; Sat, 10 Oct 2009 21:23:35 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD0C8FC32 for ; Sat, 10 Oct 2009 21:23:34 +0000 (UTC) Received: from unknown (client-81-109-255-154.winn.adsl.virginmedia.com [81.109.255.154]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id ED9258315; Sat, 10 Oct 2009 21:23:33 +0000 (UTC) Date: Sat, 10 Oct 2009 22:23:29 +0100 From: Bruce Cran To: Polytropon Message-ID: <20091010222329.0000274b@unknown> In-Reply-To: <20091010220053.f0d8b373.freebsd@edvax.de> References: <20091010200418.8e880250.freebsd@edvax.de> <877212.65138.qm@web51003.mail.re2.yahoo.com> <20091010220053.f0d8b373.freebsd@edvax.de> X-Mailer: Claws Mail 3.7.2cvs27 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions , mahlerrd@yahoo.com Subject: Re: / almost out of space just after installation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Oct 2009 21:23:35 -0000 On Sat, 10 Oct 2009 22:00:53 +0200 Polytropon wrote: > On Sat, 10 Oct 2009 12:28:08 -0700 (PDT), Richard Mahlerwein > wrote: > > I agree completely. I also go a step farther and put most other > > things that I consider user data in there. Like Subversion > > repositories and non-user-specific Samba shares (E.g. "public" > > type shares). > > Historically, there was /export in Solaris. The home directory > was /export/home, because it was usually distributed via NFS to > other machines. Things that were shared, but not primarily under- > stood as "user data", went there, too, such as repositories, > file collections and exported storages - files that have not > been "connected" to a specific user. > > > > > While I'm reasonably happy rolling my own FS sizes, I would be > > even happier if I didn't have to. > > In ZFS, you don't have to. :-) > > > > According to your suggestion: > > > Drive > 16 and < 40 GB = > > / = 1 GB > > swap = 1.5x RAM > > I know that there was the idea of saying "swap = 2 x the maximum > of RAM you could put into the box", but is this approach still > valid today? Having just built a desktop PC which can fit 24GB RAM (but has 6GB installed currently), I don't think having 48GB swap really makes any sense. With minidumps you don't even need swap=1x RAM any more, so I've started allocating up to 4GB swap in my machines, which should still provide enough warning of a runaway process. -- Bruce