Date: Fri, 18 Oct 2013 15:23:55 +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). Message-ID: <20131018152355.69447de7@gumby.homeunix.com> In-Reply-To: <201310181254.r9ICshUi050154@mech-cluster241.men.bris.ac.uk> References: <20131018134153.4dc44e93@gumby.homeunix.com> <201310181254.r9ICshUi050154@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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%.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131018152355.69447de7>