Date: Thu, 5 Jan 2017 10:22:54 +0100 From: Julien Cigar <julien@perdition.city> To: Shane Ambler <FreeBSD@ShaneWare.Biz> Cc: freebsd-questions@freebsd.org Subject: Re: vfs.numvnodes constantly growing Message-ID: <20170105092254.GB15696@mordor.lan> In-Reply-To: <e54cdd43-59e8-3181-8f11-400047ec1004@ShaneWare.Biz> References: <20170104151322.GZ15696@mordor.lan> <e54cdd43-59e8-3181-8f11-400047ec1004@ShaneWare.Biz>
next in thread | previous in thread | raw e-mail | index | archive | help
--t8N2qprAjL+0GVly Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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@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 ? >=20 > 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" >=20 > 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. >=20 > So higher vnode counts means a busier machine, more open files... > constant growth without any drop could be failure to close files. >=20 > fstat will list open files. so you can find what process has the most ope= n. >=20 >=20 > --=20 > FreeBSD - the place to B...Software Developing >=20 > Shane Ambler >=20 --=20 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. --t8N2qprAjL+0GVly Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlhuEGoACgkQsrs3EKIE I8DnjxAAjJT6G3xSCwB8rNJsl0KUCwCCYuJM9egFzT+U5dHyd7Rrr+2+spmkaepR YrRHh8EhBDiwCRQ9TFKYzk9Omvjugn4QNYrnMxv4fgC92yox+ERLVMG18CBixOUy vm3WW/muGwuBZSDcJF/KeVBwRFa3qcb+JyZ2k0c9FotMhH/hxa6Iwv9NsIIRsrBi VCZTZAjoAQ0U8Y6SDP8Oisu8gKzW/r5GQlFHK0RCfVuHHK5F1MiDp7ecCxaU7EMy 8foiMUaccUx7odwdbd85FcLQlxRj7hUAM9dtdmygRsTiR17MLkZRJKf81UMDMUXg v0RS5FGIOLiCgOF9yriAYT12+fXasSnjlZ4F7x/xCAS30dMi/zWl2CWZdc2lPUZd 4AtqK1Kv/bGtuS9CIFxmToy2ai8JTmHW/qpvvqaoxDFxylK3NSe2ZVe1hUqd2rCs ohpj4omRbLRuI5n3evziCDXBx/qsLIEMrcv2aYwVJmOu3pLwL7Z1SSiMY32THJ5x 7aHewy87YFBUWZ/aiNppxulA2YTmSdoLLJkiSriVBoXUFOSPIJBo/w2RxLHxTGqS vvmUzpUZdFI3Q4MzUPXJXCh+2ZncT1euaSFHN3J8Ji2Zxy/6TgbSd6eiLY69SGCa O9qyTlJLE0BZKF/7Eea+iofDjUvPuYUrpkBLFI2RDAtK4ltUYAo= =vns8 -----END PGP SIGNATURE----- --t8N2qprAjL+0GVly--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170105092254.GB15696>