warning: total configured swap (8960911 pages) exceeds maximum recommended amount (8243200 pages).
rwmaillists at googlemail.com
Fri Oct 18 14:24:00 UTC 2013
On Fri, 18 Oct 2013 13:54:43 +0100 (BST)
Anton Shterenlikht wrote:
> 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?
It would be the metadata size.
> Or to the excess, above the "maximum
> recommended amount" reported by dmesg?
As I pointed out before, you can only use kern.maxswzone to reduce the
size below the default.
Actually I think you're going to be OK. I had a look at the code that
generated the warning: "total configured swap (8960911 pages)
exceeds maximum recommended amount (8243200 pages)." The recommended
limit is half the theoretical maximum, so you're just reducing the
safety margin by 9%.
More information about the freebsd-questions