From owner-freebsd-stable@freebsd.org Fri Aug 14 14:45:27 2015 Return-Path: Delivered-To: freebsd-stable@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 9DE719B9300 for ; Fri, 14 Aug 2015 14:45:27 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [104.236.38.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oceanview.tundraware.com", Issuer "oceanview.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F20E18DA for ; Fri, 14 Aug 2015 14:45:26 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id t7EEiapY004162 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Fri, 14 Aug 2015 09:44:36 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <55CDFECF.5090504@tundraware.com> Date: Fri, 14 Aug 2015 09:44:31 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Swap Questions References: <55CDE9EE.5090603@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (oceanview.tundraware.com [104.236.38.227]); Fri, 14 Aug 2015 09:44:36 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: t7EEiapY004162 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 14:45:27 -0000 On 08/14/2015 08:35 AM, Ronald Klop wrote: > Does the /dev/md99 device exist now? Otherwise something went wrong when you tried adding swap. Try swapon -a without the -q. Yes, the device exists and yes, swapon claims is is in use: swapon -a swapon: md99 on /usr/swap0: Device already in use But swapinfo doesn't know about it, if it is: swapinfo Device 1K-blocks Used Avail Capacity /dev/gpt/swapfs 1048576 500300 548276 48% I don't know whether this is just an artifact of how swapinfo reports things, but the system acts like it's not seeing the additional swap when it is under heavy load. The main culprit here, BTW, is clamav which chews through memory like crazy as best as I can determine, and this is a VM with only 512M of memory, hence the desire to increase swap space. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/