From owner-freebsd-hackers@freebsd.org Fri Feb 3 05:31:22 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54E06CCE36F for ; Fri, 3 Feb 2017 05:31:22 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C909AED5 for ; Fri, 3 Feb 2017 05:31:20 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vps.rulingia.com (8.15.2/8.15.2) with ESMTPS id v135UxaS024859 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Feb 2017 16:31:10 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id v135UrHf090529 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 3 Feb 2017 16:30:53 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id v135Upm7090528; Fri, 3 Feb 2017 16:30:51 +1100 (AEDT) (envelope-from peter) Date: Fri, 3 Feb 2017 16:30:51 +1100 From: Peter Jeremy To: Giulio Ferro Cc: freebsd-hackers@freebsd.org Subject: Re: Leak in file backed swap Message-ID: <20170203053051.GA90481@server.rulingia.com> References: <2ba8c327-56c9-e0ff-e449-a583b6106540@zirakzigil.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <2ba8c327-56c9-e0ff-e449-a583b6106540@zirakzigil.org> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 05:31:22 -0000 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2017-Feb-02 15:59:36 +0100, Giulio Ferro wrote: >FreeBSD 11-Stable recent build. > >I've set up a FreeBSD instance in AWS with 1GB RAM. > >and I created a 1GB file under /usr on the instance FS and proceeded to=20 >mount it as swap. > >Even if the machine isn't doing anything, after one day or less the=20 >machine becomes unresponsive I've used swap to UFS and swap to NFS on a number of hosts without problem. If your /usr was on ZFS then this is a known issue (ZFS is CoW and there are known problems dealing with RAM shortage). If not, can you please give more precise details of your configuration. --=20 Peter Jeremy --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJYlBWLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0X3YP/25WpdRA7CRl7VvnjSUDgof6 s+tgOrEyUxnxCzOLgDihFciyR3uDZR5rjRBXNjQyDKVRePkOU8V7nOa0yWnz7gsD t1Vj9hL2j1aVlfuRG1yPAtmYdPgqb2rRI1OwltWgh+7dBjyA4U03XWPsnuw+yYTd WwUhEFdlYV/jCiQE6nzsg6cljECvDU72l3sfyqYUwacieZd0boJapE83CLqUgs3s GZucrqHmQlnsjo+7I9JZGJFz4VG9qlLF5EgJv9jvMzHTj0SFuHvUn1HieTJQX6xU IBxwYgsDL2mfr2qFoHG+tZ04QeXM3XihtmA2ZxxEucbAGgHFxOhJnvw8c2KHRxyI JRW75nbXiHIgXRWvyw9VRvApiOecY35nPfpnqemQuIXD/2IhFBA9sbflvfO3iA4j 2qjtlK8S2fk4Er2DMVv6tihQZODbk1JkLm6dTpU1PbEGZjH4B5sjmT+dpYUIs8vP BIYPMgMNmFHJjNPlZjeTcC1OsbzMfAKtAm4UKXnj8nGZcAjEJLrw5PapDtMnKLe5 jcCyqgXR2ot4EePzxYZ5VH38AiWyzZxpp9Kx/9e18WaERXfNLIz7hq4jl3gkpZFl hOqZWpJIRBrGZSZIvABCwFcKGlMLwQJPgVWTEFpgg23l7S2IQuPkd/UYWSGfpgZ3 yD2Bk/r5eLGTwz1OS0Zo =uhXn -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--