Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 16:27:49 +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:  <526001F5.1020505@fjl.co.uk>
In-Reply-To: <201310171404.r9HE4ouQ018448@mech-cluster241.men.bris.ac.uk>
References:  <201310171404.r9HE4ouQ018448@mech-cluster241.men.bris.ac.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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/

Regards, Frank.





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?526001F5.1020505>