Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 13:35:49 +0100
From:      Ollivier Robert <roberto@keltia.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Many processes stuck in zfs
Message-ID:  <20100310123549.GB8848@roberto-al.eurocontrol.fr>
In-Reply-To: <EB68B47A-76AF-43A7-B9ED-1FEA05B6D05D@lassitu.de>
References:  <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de> <20100310113516.GA8848@roberto-al.eurocontrol.fr> <EB68B47A-76AF-43A7-B9ED-1FEA05B6D05D@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100310123549.GB8848>