Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2010 19:52:38 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Petr Salinger <Petr.Salinger@seznam.cz>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: leak of the vnodes
Message-ID:  <20100403165238.GO2415@deviant.kiev.zoral.com.ua>
In-Reply-To: <Pine.LNX.4.62.1004030915440.17349@sci.felk.cvut.cz>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--6o5AAeie4QQ7Mfd3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 03, 2010 at 09:16:54AM +0200, Petr Salinger wrote:
> >>Another possible workaround, if you do not need path resolutions in /pr=
oc
> >>or lsof(1), is to set sysctl vfs.vlru_allow_cache_src=3D1.
> >
> >I will test this.
>=20
> Does not help.
>=20
> kern.maxvnodes: 100000
> kern.minvnodes: 25000
> vfs.vlru_allow_cache_src: 1
> vfs.freevnodes: 199
> vfs.wantfreevnodes: 25000
> vfs.numvnodes: 100038
> debug.vnlru_nowhere: 647

Can you go into single-user mode, and then start unmounting filesystems
one by one, looking at the vfs.numvnodes ? The goal is to determine
which fs caused exhaustion of the vnodes limit.

Then, after you determined the problematic mp, reboot the machine,
redo the procedure causing leak. From ddb prompt, you can do "show mount",
find the mp, then do "show mount <mp address>". The later command shall
produce really large output, listing all mp vnodes, so serial console
or firewire can be useful. Put output somewhere.

Thanks.

--6o5AAeie4QQ7Mfd3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAku3clUACgkQC3+MBN1Mb4gpngCgjSc4XPijCIW0eCxSsFiegN+8
wg4AnjRsTwd77kkjCQOMAZv7zzKkkO9k
=q69I
-----END PGP SIGNATURE-----

--6o5AAeie4QQ7Mfd3--



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