Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 19:14:33 +0100
From:      Frank Leonhardt <frank2@fjl.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: warning: total configured swap (8960911 pages) exceeds maximum recommended amount (8243200 pages).
Message-ID:  <52602909.1070105@fjl.co.uk>
In-Reply-To: <20131017170156.55185260@gumby.homeunix.com>
References:  <201310171404.r9HE4ouQ018448@mech-cluster241.men.bris.ac.uk> <526001F5.1020505@fjl.co.uk> <20131017170156.55185260@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.







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