swap zone exhausted, increase kern.maxswzone

Matthew Dillon dillon at apollo.backplane.com
Sat May 5 17:49:37 UTC 2007

:If you do have 8gigs of swap, then you do need to increase the parameter..
:The default is 7.7gigs of supported swap...  (assuming that struct swblock
:hasn't changed size...  The maxswblock only limits it... If swap is more
:than 8x memory, then changing kern.maxswzone will not fix it and will
:require a code change...
:  John-Mark Gurney				Voice: +1 415 225 5579

    The swblock structures only apply to actively swapped out data.  Mark,
    how much data is actually swapped out (pstat -s) at the time the
    problem is reported?

    If you can dump UMA memory statistics that would be beneficial as well.
    I just find it hard to imagine that any system would actually be using
    that much swap, but hey! :-)

					Matthew Dillon 
					<dillon at backplane.com>

More information about the freebsd-stable mailing list