From owner-freebsd-current@FreeBSD.ORG Sun Jun 15 11:05:47 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88C32106566C; Sun, 15 Jun 2008 11:05:47 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 14FB38FC13; Sun, 15 Jun 2008 11:05:46 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.2) with ESMTP id m5FB5jlU079247; Sun, 15 Jun 2008 15:05:45 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 15 Jun 2008 15:05:45 +0400 (MSD) From: Dmitry Morozovsky To: Kostik Belousov In-Reply-To: <20080615101918.GA94309@deviant.kiev.zoral.com.ua> Message-ID: <20080615145943.X43777@woozle.rinet.ru> References: <20080615130037.J43777@woozle.rinet.ru> <20080615101918.GA94309@deviant.kiev.zoral.com.ua> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (woozle.rinet.ru [0.0.0.0]); Sun, 15 Jun 2008 15:05:46 +0400 (MSD) Cc: delphij@freebsd.org, current@freebsd.org Subject: Re: tmpfs panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2008 11:05:47 -0000 On Sun, 15 Jun 2008, Kostik Belousov wrote: KB> On Sun, Jun 15, 2008 at 01:06:24PM +0400, Dmitry Morozovsky wrote: KB> > Hi there, KB> > KB> > at contemporary RELENG_7/amd64 [snip] KB> I suspect this may be my mistake. KB> IN case you can reproduce it, please, try the patch below. Will try, thank you. KB> > Also, active tmpfs usage easy leads to "swap zone exhausted, increase KB> > kern.maxswzone", even with 2G RAM + 4G swap and approx 2-3G of tmpfs KB> > in use -- any hints? KB> KB> I think the message is pretty much self-explanatory. Kernel tried to KB> allocate the meatadata to track the swap metadata, and zone appears KB> exhausted. It is not the swap space shortage. Instead, this is kernel KB> zone used to track swap allocation shortage. KB> KB> It is quite non-obvious how to automatically tune this limit, since zone KB> is allocated before swap is configured. Well, but loader(8) man page said: The default of 32MB allows the kernel to support a maximum of ~7GB of swap. and I have only 4G, and system freezes with maxswzone exaustion well before that... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------