swap zone exhausted, increase kern.maxswzone

John Baldwin jhb at freebsd.org
Thu Dec 4 13:24:57 PST 2008


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


More information about the freebsd-hardware mailing list