From owner-freebsd-stable@FreeBSD.ORG Wed Mar 10 12:35:52 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057F01065672 for ; Wed, 10 Mar 2010 12:35:52 +0000 (UTC) (envelope-from roberto@keltia.net) Received: from keltia.net (unknown [IPv6:2a01:240:fe5c::41]) by mx1.freebsd.org (Postfix) with ESMTP id AF6768FC26 for ; Wed, 10 Mar 2010 12:35:51 +0000 (UTC) Received: from roberto-al.eurocontrol.fr (aran.keltia.net [88.191.250.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: roberto) by keltia.net (Postfix/TLS) with ESMTPSA id B677F42 for ; Wed, 10 Mar 2010 13:35:50 +0100 (CET) Date: Wed, 10 Mar 2010 13:35:49 +0100 From: Ollivier Robert To: freebsd-stable@freebsd.org Message-ID: <20100310123549.GB8848@roberto-al.eurocontrol.fr> References: <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de> <20100310113516.GA8848@roberto-al.eurocontrol.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: MacOS X / Macbook Pro - FreeBSD 7.2 / Dell D820 SMP User-Agent: Mutt/1.5.20 (2009-06-14) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.3 (keltia.net); Wed, 10 Mar 2010 13:35:50 +0100 (CET) Subject: Re: Many processes stuck in zfs 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: Wed, 10 Mar 2010 12:35:52 -0000 According to Stefan Bethke: > $ sysctl kern.maxvnodes vfs.numvnodes vfs.freevnodes > kern.maxvnodes: 100000 > vfs.numvnodes: 87681 > vfs.freevnodes: 7600 > > Is there a rule of thumb what maxvnodes should be tuned to? Not sure, I max'ed it to 200000 and the machine has not locked up since. Try that, 300000 if not and so on. The thing is, receiving snapshots is going to generate a lot of inodes/directories so vnodes shortage may be your problem. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr In memoriam to Ondine : http://ondine.keltia.net/