freebsd 9.0-release + zfs + mysqld(percona) = kernel: swap zone exhausted, increase kern.maxswzone

Philip M. Gollucci pgollucci at gmail.com
Fri Mar 30 21:48:07 UTC 2012


On 03/28/12 03:09, Philip M. Gollucci wrote:

> It works out to roughly 7.7GB from 32MB okay fine.
> If I double it, that should give me 15.4GB from 64MB (still not enough).
> If I 16x it that should give me 246GB from 512MB.  Thats more my
> physical ram + swap.  Oh well.

After reading several sparse articles/post, I've come to the conclusion
that FreeBSD doesn't do well with SWAP > 32GB; however it does allow it.
As such I decided to drop the swap to 8GB*2=16GB.  Sadly that didn't
help either after dropping kern.maxswzone back 2*thedefault which is
apparently very near or the max you can up it and get more actual
SWAPMETA space b/c of the limiting based on the number of total system
pages.

I'm still quite perplexed here.  Please also the recent thread on
-stable where someone has the same problem with ZFS/NFS.

subject: 9-STABLE, ZFS, NFS, ggatec - suspected memory leak



-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120330/eb872c23/signature.pgp


More information about the freebsd-questions mailing list