vfs.numvnodes constantly growing

Julien Cigar julien at perdition.city
Thu Jan 5 09:23:07 UTC 2017


On Thu, Jan 05, 2017 at 03:27:27PM +1030, Shane Ambler wrote:
> On 05/01/2017 01:43, Julien Cigar wrote:
> > Hello,
> >
> > I've upgraded a bunch of Proliant DL160 Gen8 machines from 10.0-RELEASE
> > to 10.3-RELEASE-p15. They have 64GB of RAM, running UFS, jails, and
> > have some NFS mounts:
> > https://gist.github.com/silenius/4a3005684b998e648ea93c72c3dc7714
> >
> > I'm observing a constant increase (~5/sec) of vfs.numvnodes, getting
> > closer to kern.maxvnodes:
> >
> > jcigar at orval:~/ > sysctl -a|grep -i 'vnodes'|sort
> > kern.maxvnodes: 1165332
> > kern.minvnodes: 291333
> > vfs.freevnodes: 289726
> > vfs.numvnodes: 1008361
> > vfs.vnodes_created: 98017296
> > vfs.wantfreevnodes: 291333
> >
> > any idea what could be the cause of this ?
> 
> A system that is running. ;)

That's what I thought :)
I was confused by the fact that numvnodes means "in use + free", and not
only "in use"

> 
>  From man vnode -
> There is a unique vnode allocated for each active file, each current
> directory, each mounted-on file, text file, and the root.
> 
> So higher vnode counts means a busier machine, more open files...
> constant growth without any drop could be failure to close files.
> 
> fstat will list open files. so you can find what process has the most open.
> 
> 
> -- 
> FreeBSD - the place to B...Software Developing
> 
> Shane Ambler
> 

-- 
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170105/2f4599b0/attachment-0001.sig>


More information about the freebsd-questions mailing list