warning: total configured swap (8960911 pages) exceeds maximum recommended amount (8243200 pages).

RW rwmaillists at googlemail.com
Thu Oct 17 16:01:59 UTC 2013


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.



More information about the freebsd-questions mailing list