Date: Mon, 25 Oct 2004 20:50:40 GMT From: David Schultz <das@FreeBSD.ORG> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/73094: [unionfs] system runs out of vnodes Message-ID: <200410252050.i9PKoeox047740@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/73094; it has been noted by GNATS. From: David Schultz <das@FreeBSD.ORG> To: Irina Liakh <spell@itl.ua> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/73094: [unionfs] system runs out of vnodes Date: Mon, 25 Oct 2004 16:47:34 -0400 On Mon, Oct 25, 2004, Irina Liakh wrote: > In normal situation, when vnode count is going > to be over, getnewvnode() routine tries > to reuse (by vtryrecycle()) existing but freed vnodes, > and numvnodes (sysctl vfs.numvnodes) stops growing. > When using unionfs (accessing files in it), > vtryrecycle() always fails. The reason is non-zero > resident_page_count field in vm_object_t-object > corresponding to vnode-to-be-reused. > Hence, getnewvnode() allocates new vnodes > until numvnodes minus freevnodes becomes greater than > desiredvnodes, after what every getnewvnode() goes to > sleep with status-for-ps "vlruwk". What makes you think this has something to do with the resident page count, as opposed to v_usecount?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410252050.i9PKoeox047740>