Date: Tue, 6 Apr 2010 11:56:28 +0200 (CEST) From: Petr Salinger <Petr.Salinger@seznam.cz> To: Kostik Belousov <kostikbel@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: leak of the vnodes Message-ID: <Pine.LNX.4.62.1004061011470.24982@sci.felk.cvut.cz> In-Reply-To: <20100405185924.GS2415@deviant.kiev.zoral.com.ua> References: <Pine.LNX.4.62.1004021934550.15800@sci.felk.cvut.cz> <20100402190239.GL2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004022337010.16354@sci.felk.cvut.cz> <Pine.LNX.4.62.1004030915440.17349@sci.felk.cvut.cz> <20100403165238.GO2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004032106480.18491@sci.felk.cvut.cz> <20100403171945.GQ2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004032318210.18783@sci.felk.cvut.cz> <20100403210829.GW2415@deviant.kiev.zoral.com.ua> <Pine.LNX.4.62.1004052223210.23732@sci.felk.cvut.cz> <20100405185924.GS2415@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
>> I would expect that sum of mnt_nvnodelistsize should be vfs.numvnodes. >> The sum is at about 3400, but the vfs.numvnodes is at about 38000. >> Is my expectation correct ? > Not quite, reclaimed vnode is removed from mp list. Are they in some other list ? > Can you check > that vmstat -z | grep VNODE output coincides with sysctl vfs.numvnodes ? I would say yes: kern.maxvnodes: 31000 kern.minvnodes: 2000 vfs.freevnodes: 21 vfs.wantfreevnodes: 2000 vfs.numvnodes: 31011 debug.vnlru_nowhere: 261 ITEM SIZE LIMIT USED FREE REQUESTS FAILURES VNODE: 480, 0, 30999, 777, 248903, 0 VNODEPOLL: 112, 0, 80, 85, 80, 0 But still: 0xffffff0003939be0 /dev/ad0s2a on / (ufs) mnt_nvnodelistsize = 570 0xffffff000393a000 devfs on /dev (devfs) mnt_nvnodelistsize = 41 0xffffff0003939000 /dev/ad0s2d on /opt/sid/build (ufs) mnt_nvnodelistsize = 52 There is 30000 vnodes somewhere. > Also, can you unmount linprocfs before the test and see whether it > leaks as before ? > Another thing to try is set sysctl debug.disablefullpath to 1. Done both before this test, still "hangs/leaks": vfs.cache.numfullpathfound: 29075 vfs.cache.numfullpathfail4: 0 vfs.cache.numfullpathfail2: 0 vfs.cache.numfullpathfail1: 0 vfs.cache.numfullpathcalls: 29075 debug.disablefullpath: 1 Petr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.62.1004061011470.24982>