From owner-freebsd-stable@FreeBSD.ORG Sat May 5 17:30:50 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BA1516A400 for ; Sat, 5 May 2007 17:30:50 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 2707013C44C for ; Sat, 5 May 2007 17:30:50 +0000 (UTC) (envelope-from freebsd@hub.org) Received: from localhost (unknown [200.46.204.182]) by hub.org (Postfix) with ESMTP id 9ABDD48BF0E; Sat, 5 May 2007 14:30:48 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 92591-05; Sat, 5 May 2007 14:30:48 -0300 (ADT) Received: from ganymede.hub.org (blk-89-241-126.eastlink.ca [24.89.241.126]) by hub.org (Postfix) with ESMTP id 350EF48BEA5; Sat, 5 May 2007 14:30:48 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6F5F5605BC; Sat, 5 May 2007 14:30:49 -0300 (ADT) Date: Sat, 05 May 2007 14:30:49 -0300 From: "Marc G. Fournier" To: corwin@aeternal.net, freebsd-stable@freebsd.org Message-ID: <028388C628F68A7AE08C4185@ganymede.hub.org> X-Mailer: Mulberry/4.0.7 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2007 17:30:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On Saturday, May 05, 2007 19:12:09 +0200 Martin Hudec 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-----