Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2008 13:55:39 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hardware@freebsd.org
Cc:        Jim Pazarena <fhard@ccstores.com>
Subject:   Re: swap zone exhausted, increase kern.maxswzone
Message-ID:  <200812041355.39285.jhb@freebsd.org>
In-Reply-To: <4937FB67.8000100@ccstores.com>
References:  <49377719.2020605@ccstores.com> <200812041131.37944.nick@van-laarhoven.org> <4937FB67.8000100@ccstores.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 04 December 2008 10:46:47 am Jim Pazarena wrote:
> Nick Hibma wrote:
> >
> > So:
> >
> > It is a kenv var not a sysctl. It's default is VM_SWZONE_SIZE_MAX I think
> > and you can find more documentation in loader(8).
> >
> > So type in
> >
> > 	man loader
> >
> > and off you go!
> >
> > Nick
> 
> thank you!
> 
> All my googleing, manning & apropos-ing was fruitless.
> but I after re-read "man sysctl" I don't see how I missed it!

What I typically do for this panic is get the 'swapinfo' from the crash dump, 
and use (number of blocks in use) * (total swap blocks) / (maxswzone) to 
compute a new value for kern.maxswzone.

-- 
John Baldwin



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