From owner-freebsd-questions@FreeBSD.ORG Fri Oct 18 12:55:14 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 2D834BD3 for ; Fri, 18 Oct 2013 12:55:14 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog124.obsmtp.com (eu1sys200aog124.obsmtp.com [207.126.144.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 825EC2E87 for ; Fri, 18 Oct 2013 12:55:13 +0000 (UTC) Received: from mail-wi0-f175.google.com ([209.85.212.175]) (using TLSv1) by eu1sys200aob124.postini.com ([207.126.147.11]) with SMTP ID DSNKUmEvln9xRM1fIF5YhNMe7U1nX1iT6Egf@postini.com; Fri, 18 Oct 2013 12:55:13 UTC Received: by mail-wi0-f175.google.com with SMTP id hm4so925210wib.14 for ; Fri, 18 Oct 2013 05:54:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:reply-to :in-reply-to; bh=Tv6m50TCq4tq8oAM4l3EXdNN7VuKlKzU7FYPJj020VI=; b=Kr2wpExgb9ZWSRITjgiytyrThbak9esOmPGVWNBOepRg9BC+Ce3CBEGJVhYnFe2FFT CRbRtlSQKS+xb8yt/6dE3lUn158SCnEClCIrZ+kABSZ/AfiiWqQs8nh6fPEj7GQiETxP nsCUZcDP33D9OyXe643KREniqIRfYVwZgq3dN7rO0zSEFlP7T3E5wjuMuwIhId+4Q1Y+ G51roV8jH6sl6CVxpDnkNZaf3K1ccbOF44Zox9BnxcXe5ShTQg9XQw14JvKiEbLK3xs1 ko3f6ZH4HBit1Z7Jo9IBEdP1y7DIslg0ibLARWY+0pvpptQ2gf9PhdBodmuLdKLC5glc T7QQ== X-Gm-Message-State: ALoCoQkU+XEmlyplQ/1akykguU1FsI0s+r7UlT6d0ey3u7m9uPC0dGdBRBfJ0CA7Q3DggB8Au0vKMZoTm38LggUek1CP0cJpT7fqeOBVkjLTdS3WqvKHEgVsygmfO0LPZz1e/y26cKY/35v15tjyfCPGCv40BOp+51r3alngIMm4i6W2Vt/H25WNU8O+r7iE6lYlgBWqn6Wv X-Received: by 10.180.73.134 with SMTP id l6mr2388464wiv.16.1382100886607; Fri, 18 Oct 2013 05:54:46 -0700 (PDT) X-Received: by 10.180.73.134 with SMTP id l6mr2388451wiv.16.1382100886503; Fri, 18 Oct 2013 05:54:46 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id gg20sm25708543wic.1.2013.10.18.05.54.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Oct 2013 05:54:45 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r9ICshlY050155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Oct 2013 13:54:43 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r9ICshUi050154; Fri, 18 Oct 2013 13:54:43 +0100 (BST) (envelope-from mexas) Date: Fri, 18 Oct 2013 13:54:43 +0100 (BST) From: Anton Shterenlikht Message-Id: <201310181254.r9ICshUi050154@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org, rwmaillists@googlemail.com Subject: Re: warning: total configured swap (8960911 pages) exceeds maximum recommended amount (8243200 pages). In-Reply-To: <20131018134153.4dc44e93@gumby.homeunix.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 12:55:14 -0000 > Fri, 18 Oct 2013 05:41:54 -0700 (PDT) >Date: Fri, 18 Oct 2013 13:41:53 +0100 >From: RW >To: freebsd-questions@freebsd.org >Subject: Re: warning: total configured swap (8960911 pages) exceeds maximum > recommended amount (8243200 pages). > >On Thu, 17 Oct 2013 19:14:33 +0100 >Frank Leonhardt wrote: > >> On 17/10/2013 17:01, RW wrote: > >> > 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? > > >The changed was merged into 9-stable in September 2012, 9.1 was >branched in August. Looking at the article ( http://blog.frankleonhardt.com/2011/large-swap-files-on-freebsd-die-with-mystery-killed-howto-add-lots-of-swap-space/ ) the default value of kern.maxswzone has also changed meaning. On r256683 I get: # sysctl kern.maxswzone kern.maxswzone: 0 # So I'm not sure, do I set this variable to the *total* swap size? Or to the excess, above the "maximum recommended amount" reported by dmesg? Thanks Anton