From owner-freebsd-questions@FreeBSD.ORG Thu Oct 17 15:27:51 2013 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 ESMTP id BC85F93A for ; Thu, 17 Oct 2013 15:27:51 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 42EAD2A14 for ; Thu, 17 Oct 2013 15:27:50 +0000 (UTC) Received: from [192.168.1.35] (host86-163-34-162.range86-163.btcentralplus.com [86.163.34.162]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r9HFRmmI005768 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 17 Oct 2013 16:27:48 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <526001F5.1020505@fjl.co.uk> Date: Thu, 17 Oct 2013 16:27:49 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: warning: total configured swap (8960911 pages) exceeds maximum recommended amount (8243200 pages). References: <201310171404.r9HE4ouQ018448@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201310171404.r9HE4ouQ018448@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 15:27:51 -0000 On 17/10/2013 15:04, Anton Shterenlikht wrote: > I'm using a 72gb swap disk. > I've 10gb RAM > > I get this warning: > > warning: total configured swap (8960911 pages) exceeds maximum recommended amount (8243200 pages). > warning: increase kern.maxswzone or reduce amount of swap. > > What is max. recommended amount based on? > What is the danger of exceeding it? > How should I increase kern.maxswzone? > > # sysctl kern.maxswzone > kern.maxswzone: 0 > # > > Do I set it to the total swap size? > Where is kern.maxswzone described? > > I went through this on an earlier version but didn't get any warning. You might find the answer here: http://blog.frankleonhardt.com/2011/large-swap-files-on-freebsd-die-with-mystery-killed-howto-add-lots-of-swap-space/ Regards, Frank.