From owner-freebsd-questions@FreeBSD.ORG Thu Oct 17 18:14:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 07B17FA5 for ; Thu, 17 Oct 2013 18:14:37 +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 AA4A12714 for ; Thu, 17 Oct 2013 18:14:36 +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 r9HIEXtX040537 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 17 Oct 2013 19:14:33 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <52602909.1070105@fjl.co.uk> Date: Thu, 17 Oct 2013 19:14:33 +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> <526001F5.1020505@fjl.co.uk> <20131017170156.55185260@gumby.homeunix.com> In-Reply-To: <20131017170156.55185260@gumby.homeunix.com> 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 18:14:37 -0000 On 17/10/2013 17:01, RW wrote: > On Thu, 17 Oct 2013 16:27:49 +0100 > Frank Leonhardt wrote: > >> 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/ > The hard limit that's mentioned there is i386 only. I think that may > have changed a bit since 8.2. > This was running 8.2 on AMD64, and it's definitely there (and with the same value as the i386 version). The code's there on 9.1, as is the manifest constant in param.h and it's still the same value. I haven't tried 9.2 yet. So what am I missing about i386? Thanks, Frank.