Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 08:19:05 +0200
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        kpneal@pobox.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: S + J for /tmp and /var and /?
Message-ID:  <20140913081905.1de2006c.ohartman@zedat.fu-berlin.de>
In-Reply-To: <20140913033102.GA10967@neutralgood.org>
References:  <20140910090947.4941336b.ohartman@zedat.fu-berlin.de> <20140913033102.GA10967@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/z.5653.yas5Wflxw5odTgJx
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Am Fri, 12 Sep 2014 23:31:02 -0400
kpneal@pobox.com schrieb:

> On Wed, Sep 10, 2014 at 09:09:47AM +0200, O. Hartmann wrote:
> > On "/" and "/tmp" as well as "/var" I have enabled soft-updates and jou=
rnaling (S +
> > J). I'd like to ask what the official FreeBSD recommendation would be t=
o that matter.
> > I have disabled for now journaling, looking whether it will help to sol=
ve the problem
> > or not.
>=20
> You keep /tmp in an on-disk filesystem?=20
>=20
> Personally, I prefer to run with some swap space and then have /tmp be an
> in-memory filesystem. The current name for this is "tmpfs".


Yes, on systems with low memory and low swap. On all other systems I use tm=
pfs for more
than a year for now.

The problem is that clients like xpdf open by default all PDFs in /tmp and =
not /var/tmp
(which is still mapped to disk in all my configurations) and with lots PDFs=
 open, the box
starts swapping pretty quickly with only 4GB RAM and ZFS. Even with 8 GB RA=
M its a kind
of problematic, when we deal with larger temporary files taken from simulat=
ions, opened
by vi or other editors and stored temporarily in /tmp.=20


--Sig_/z.5653.yas5Wflxw5odTgJx
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUE+HdAAoJEOgBcD7A/5N8uA4H/10p1w15yVxBTWAgof1OORP+
LyD1hm0NXlquxAyG5GK8EeUR6RvE+l1jiHAsfkNlkNv/K3l4z0pywuOuKj3NuvQ8
FTbEtFbpFkJstbJLCMu9PkNWjQNt+kveK6MjLaLJ1hu2VY26r//28m+1hWbmI6Dk
JYoHb5VYHLWgDZE6US2GE8xMFzWWSkNs+kPJl02iWGEY0qcJZ3kv297OelBFk+TW
nSaWF1iDbUqBD7HHrLGyU3pOQkJc6Nlbsi7JlFm1wzbT1f6yym1SM64ognTUfajx
ng/W3tvA6dySEQXMZbZWbLAvhs8aX4WbVigSHEENUMCJ+SwT4bXepod3S01oXuc=
=4deX
-----END PGP SIGNATURE-----

--Sig_/z.5653.yas5Wflxw5odTgJx--



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