From owner-freebsd-stable@FreeBSD.ORG Mon Sep 3 19:08:27 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F74D106566B for ; Mon, 3 Sep 2012 19:08:27 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 948EE8FC16 for ; Mon, 3 Sep 2012 19:08:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.5/8.14.5) with ESMTP id q83J8KYb001092 for ; Mon, 3 Sep 2012 23:08:20 +0400 (MSK) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id q83J8Ko6001091 for stable@freebsd.org; Mon, 3 Sep 2012 23:08:20 +0400 (MSK) (envelope-from ache) Date: Mon, 3 Sep 2012 23:08:20 +0400 From: Andrey Chernov To: stable@freebsd.org Message-ID: <20120903190820.GA1071@vniz.net> References: <20120903173408.GA1031@vniz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120903173408.GA1031@vniz.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: Recent -stable show strange warning about kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 19:08:27 -0000 Increasing it even up to 64m does not help at all. Solved by reducing swap partition size to the recommended amount (swapoff, gpart resize, reboot) On Mon, Sep 03, 2012 at 09:34:08PM +0400, Andrey Chernov wrote: > I have kern.maxswzone default (32m), and now start to see this message: > > warning: total configured swap (1048576 pages) exceeds maximum recommended > amount (995904 pages). > warning: increase kern.maxswzone or reduce amount of swap. > > As I read somewhere 32m of maxswzone is enough up to 7Gb of swap, but my > swap is 4Gb only. > I try to increase it in anyway up to 34m but nothing is changed. > Should I just ignore this warning or need to increase it even more? > For increase case, how I can guess needed value? -- http://ache.vniz.net/