-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --On Saturday, May 05, 2007 19:12:09 +0200 Martin Hudec
<corwin@aeternal.net>
wrote:
> Marc G. Fournier wrote:
>> Apparently that doesn't exist on 6-STABLE, although its generating
the error?
>>
>> # sysctl kern.maxswzone
>> sysctl: unknown oid 'kern.maxswzone'
>
> As in /usr/src/sys/conf/NOTES:
> ...
># 2. In /boot/loader.conf, set the tunables kern.maxswzone,
># kern.maxbcache, kern.maxtsiz, kern.dfldsiz, kern.maxdsiz,
># kern.dflssiz, kern.maxssiz and kern.sgrowsiz.
> ...
>
> As in man loader:
>
> kern.maxswzone
> Limits the amount of KVM to be used to hold swap meta
> information, which directly governs the maximum amount of
> swap the system can support. This value is specified in
> bytes of KVA space and defaults to around 70MBytes. Care
> should be taken to not reduce this value such that the
> actual amount of configured swap exceeds 1/2 the kernel-
> supported swap. The default 70MB allows the kernel to sup-
> port a maximum of (approximately) 14GB of configured swap.
> Only mess around with this parameter if you need to greatly
> extend the KVM reservation for other resources such as the
> buffer cache or NMBCLUSTERS. Modifies VM_SWZONE_SIZE_MAX.
>
> Also check -hackers maillist for following and the replies:
> http://lists.freebsd.org/pipermail/freebsd-hackers/2007-January/019217.html
Sweet, that definitely helps ... from John's response in that email, it
sounds
like this may be related to the socket issue that I've already reported,
since
it all seems to revolve around the KVA ... I wonder if the socket issue is
'pushing into' the swap stuff (ie. this is a result of the problem, not
the
cause) ...
But, based on the 'default 70MB == 14G of configured swap' above .. I
only have
8G of swap on that machine, which really makes it sound like this is an
overflow from the other problem :(
- ----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org MSN . scrappy@hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFGPL9J4QvfyHIvDvMRAuKvAKCljSizyOpaY9Ep6OfpFh++9e5HqQCgmXMb
Z+26yS6pgkqF6qsACcnATiM=zi67
-----END PGP SIGNATURE-----