From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 10:31:50 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4A9D1065679 for ; Thu, 4 Dec 2008 10:31:50 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml16.kpnxchange.com (hpsmtp-eml16.KPNXCHANGE.COM [213.75.38.116]) by mx1.freebsd.org (Postfix) with ESMTP id 460358FC22 for ; Thu, 4 Dec 2008 10:31:49 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtp-eml103.kpnxchange.com ([213.75.84.103]) by hpsmtp-eml16.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Dec 2008 11:31:48 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtp-eml103.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Dec 2008 11:31:45 +0100 Received: (qmail 61178 invoked by uid 98); 4 Dec 2008 10:31:43 -0000 Received: from 10.66.0.133 (nick@10.66.0.133) by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:1(10.66.0.133):. Processed in 3.009583 secs); 04 Dec 2008 10:31:43 -0000 Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.133) by uitsmijter.van-laarhoven.org with SMTP; 4 Dec 2008 10:31:39 -0000 Received: (nullmailer pid 22336 invoked by uid 1001); Thu, 04 Dec 2008 10:31:38 -0000 From: Nick Hibma To: freebsd-hardware@freebsd.org Date: Thu, 4 Dec 2008 11:31:37 +0100 User-Agent: KMail/1.9.10 References: <49377719.2020605@ccstores.com> In-Reply-To: <49377719.2020605@ccstores.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812041131.37944.nick@van-laarhoven.org> X-OriginalArrivalTime: 04 Dec 2008 10:31:45.0615 (UTC) FILETIME=[819815F0:01C955FB] Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 10:31:50 -0000 100%|nick@hind:/sys-CURRENT % grep -r maxswzone . ./conf/NOTES:# 2. In /boot/loader.conf, set the tunables kern.maxswzone, ./kern/.svn/text-base/subr_param.c.svn-base:int maxswzone; /* max swmeta KVA storage */ ./kern/.svn/text-base/subr_param.c.svn-base:SYSCTL_INT(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, &maxswzone, 0, ./kern/.svn/text-base/subr_param.c.svn-base: maxswzone = VM_SWZONE_SIZE_MAX; ./kern/.svn/text-base/subr_param.c.svn-base: TUNABLE_INT_FETCH("kern.maxswzone", &maxswzone); ./kern/subr_param.c:int maxswzone; /* max swmeta KVA storage */ ./kern/subr_param.c:SYSCTL_INT(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, &maxswzone, 0, ./kern/subr_param.c: maxswzone = VM_SWZONE_SIZE_MAX; ./kern/subr_param.c: TUNABLE_INT_FETCH("kern.maxswzone", &maxswzone); ./boot/forth/.svn/text-base/loader.conf.svn-base:#kern.maxswzone="" # Set the max swmeta KVA storage ./boot/forth/loader.conf:#kern.maxswzone="" # Set the max swmeta KVA storage ./boot/common/.svn/text-base/loader.8.svn-base:.It Va kern.maxswzone ./boot/common/loader.8:.It Va kern.maxswzone So: It is a kenv var not a sysctl. It's default is VM_SWZONE_SIZE_MAX I think and you can find more documentation in loader(8). So type in man loader and off you go! Nick > "swap zone exhausted, increase kern.maxswzone" > > I encountered this today on FreeBSD 7.1B2 > With an HP DL165G5 dual quad-core AMD 64 > 8Gb ram .. 20Gb swap space > > Google doesn't bring up much more than similar inquiries > in mid 2007, where the inquiry was met with "increase the value". > > I cannot find anywhere how to determine the existing value or how > to alter it. > > When running "sysctl kern.maxswzone" > I am greeted with sysctl: unknown oid 'kern.maxswzone' > > What am I doing wrong? > > TIA > Jim Pazarena > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org"