swap zone exhausted, increase kern.maxswzone

Kris Kennaway kris at obsecurity.org
Sat May 5 18:17:01 UTC 2007


On Sat, May 05, 2007 at 03:10:01PM -0300, Marc G. Fournier wrote:
> 
> 
> --On Saturday, May 05, 2007 10:49:29 -0700 Matthew Dillon 
> <dillon at apollo.backplane.com> wrote:
> 
> >     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! :-)
> 
> That's why I think that the socket issue and this one are co-related ... with 
> everything started up (93 jails), my swap usage right now is:
> 
> mars# pstat -s
> Device          1K-blocks     Used    Avail Capacity
> /dev/da0s1b       8388608       20  8388588     0%
> 
> Its only been up 2.5 hours so far, but still, everything is started up ...

If you have something that is eventually using 8GB of swap, it's
almost certainly an application or configuration problem on your end.
This kind of problem could indeed be causing you to run out of other
resources also (e.g. if you're ending up with thousands of instances
of a server running).

kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070505/ef36fcf4/attachment.pgp


More information about the freebsd-stable mailing list