Many processes stuck in zfs

Ollivier Robert roberto at keltia.net
Wed Mar 10 12:35:52 UTC 2010


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 at keltia.freenix.fr
In memoriam to Ondine : http://ondine.keltia.net/



More information about the freebsd-stable mailing list