Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 22:23:29 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>, mahlerrd@yahoo.com
Subject:   Re: / almost out of space just after installation
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Oct 2009 22:00:53 +0200
Polytropon <freebsd@edvax.de> wrote:

> On Sat, 10 Oct 2009 12:28:08 -0700 (PDT), Richard Mahlerwein
> <mahlerrd@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091010222329.0000274b>