Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2013 13:54:43 +0100 (BST)
From:      Anton Shterenlikht <mexas@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).
Message-ID:  <201310181254.r9ICshUi050154@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20131018134153.4dc44e93@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Fri, 18 Oct 2013 05:41:54 -0700 (PDT)
>Date: Fri, 18 Oct 2013 13:41:53 +0100
>From: RW <rwmaillists@googlemail.com>
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310181254.r9ICshUi050154>