From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 21:24:57 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 9BBB21065706 for ; Thu, 4 Dec 2008 21:24:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 39C988FC18 for ; Thu, 4 Dec 2008 21:24:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id mB4LOIOk033364; Thu, 4 Dec 2008 16:24:46 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Thu, 4 Dec 2008 13:55:39 -0500 User-Agent: KMail/1.9.7 References: <49377719.2020605@ccstores.com> <200812041131.37944.nick@van-laarhoven.org> <4937FB67.8000100@ccstores.com> In-Reply-To: <4937FB67.8000100@ccstores.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812041355.39285.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 04 Dec 2008 16:24:47 -0500 (EST) X-Virus-Scanned: ClamAV 0.93.1/8721/Thu Dec 4 08:26:10 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Jim Pazarena 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 21:24:57 -0000 On Thursday 04 December 2008 10:46:47 am Jim Pazarena wrote: > Nick Hibma wrote: > > > > 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 > > thank you! > > All my googleing, manning & apropos-ing was fruitless. > but I after re-read "man sysctl" I don't see how I missed it! What I typically do for this panic is get the 'swapinfo' from the crash dump, and use (number of blocks in use) * (total swap blocks) / (maxswzone) to compute a new value for kern.maxswzone. -- John Baldwin