From owner-freebsd-hackers@freebsd.org Thu Feb 2 15:05:11 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 75182CCDA92 for ; Thu, 2 Feb 2017 15:05:11 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mx1.etoilesoft.fr (mx1.etoilesoft.fr [52.57.51.18]) by mx1.freebsd.org (Postfix) with ESMTP id 40697FB5 for ; Thu, 2 Feb 2017 15:05:10 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mx1.etoilesoft.fr (localhost [127.0.0.1]) by mx1.etoilesoft.fr (Postfix) with ESMTP id 058399D19F for ; Thu, 2 Feb 2017 14:59:49 +0000 (UTC) Received: from [10.1.1.206] (localhost [127.0.0.1]) (Authenticated sender: auryn@zirakzigil.org) by mx1.etoilesoft.fr (Postfix) with ESMTPA id CB7019D19D for ; Thu, 2 Feb 2017 14:59:48 +0000 (UTC) To: freebsd-hackers@freebsd.org From: Giulio Ferro Subject: Leak in file backed swap Message-ID: <2ba8c327-56c9-e0ff-e449-a583b6106540@zirakzigil.org> Date: Thu, 2 Feb 2017 15:59:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Thu, 02 Feb 2017 15:40:10 +0000 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: Thu, 02 Feb 2017 15:05:11 -0000 Hi folks, FreeBSD 11-Stable recent build. I've set up a FreeBSD instance in AWS with 1GB RAM. Since I needed some more, I decided to create a swap partition (there are none by default on AWS) and I created a 1GB file under /usr on the instance FS and proceeded to mount it as swap. Even if the machine isn't doing anything, after one day or less the machine becomes unresponsive and must be rebooted. I solved this by buying a 2GB instance, but maybe this issue may be insteresting for someone to look into? Giulio