From owner-freebsd-questions@FreeBSD.ORG Thu Oct 17 16:01:59 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 763BFF48 for ; Thu, 17 Oct 2013 16:01:59 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 126BA2D05 for ; Thu, 17 Oct 2013 16:01:58 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id t60so2483374wes.40 for ; Thu, 17 Oct 2013 09:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=NbtxNYwpWuWRqaCGq9A2gMsQLMzdVlVj2woPfW69oD4=; b=QeMD9kHh63nTVZSe5DNMnsdjMDDn7VD3t5RKUQn9dHpKxnAIiVA4cAihh5fr4UzH9G +COeFofFhSN5Ue2Xih8YTVH4m5KRtGirBB9WZR461uK8x7Kzs6+Eh3lC7WPK+IdYyNBF 64modG7G1p4Om9N+6uOpRsarQ9lhe/l0XdI5YzhaVtvI4eZzZmtC24IcnBb8Q1DH72p8 pgd2HUDWXBmnj4X8Etc5TdK65TK0DV0GCwMEgFkQ4RYTnJhI7VvYFOjH+a5WgHkVoVUS EGkDML5+IV2QS5MvHvex7v558id2HMYb7QOGf21pdy0cTk25oiJx1P6QGJxIgQgsgTeu m6nw== X-Received: by 10.180.20.13 with SMTP id j13mr7567679wie.6.1382025717400; Thu, 17 Oct 2013 09:01:57 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id iz19sm17680606wic.9.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 17 Oct 2013 09:01:56 -0700 (PDT) Date: Thu, 17 Oct 2013 17:01:56 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: warning: total configured swap (8960911 pages) exceeds maximum recommended amount (8243200 pages). Message-ID: <20131017170156.55185260@gumby.homeunix.com> In-Reply-To: <526001F5.1020505@fjl.co.uk> References: <201310171404.r9HE4ouQ018448@mech-cluster241.men.bris.ac.uk> <526001F5.1020505@fjl.co.uk> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 16:01:59 -0000 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.