From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 06:19:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6650DBB6 for ; Sat, 13 Sep 2014 06:19:20 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E4CBD2 for ; Sat, 13 Sep 2014 06:19:20 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1XSgft-000sKq-OZ>; Sat, 13 Sep 2014 08:19:09 +0200 Received: from g225187182.adsl.alicedsl.de ([92.225.187.182] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1XSgft-003x8Z-MK>; Sat, 13 Sep 2014 08:19:09 +0200 Date: Sat, 13 Sep 2014 08:19:05 +0200 From: "O. Hartmann" To: kpneal@pobox.com 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> Organization: FU Berlin X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/z.5653.yas5Wflxw5odTgJx"; protocol="application/pgp-signature" X-Originating-IP: 92.225.187.182 X-ZEDAT-Hint: A Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 06:19:20 -0000 --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--