Memory leak in NFSv4?
J. Bruce Fields
bfields at fieldses.org
Mon Dec 11 15:24:06 EST 2006
On Mon, Dec 11, 2006 at 09:14:43PM +0100, Fredrik Tolf wrote:
> On Mon, 2006-12-11 at 13:18 -0500, J. Bruce Fields wrote:
> > Oh, by the way, meanwhile if you've got a moment there's a simple test
> > you could try for me:
> >
> > echo `date +'%s'` >/proc/net/rpc/auth.rpcsec.context/flush
>
> You don't think just date +%s >/proc/net/rpc/auth.rpcsec.context/flush
> would do it? ;)
Doh. No, wait, I'm sure there should be an extra |cat| in there too...
> Sure thing. Before, it was 984, and after (I saw one client create a new
> context almost immediately) it was 985. Another client then created a
> new context as well, so it went up to 986. I then tried SSH:ing to the
> other two clients, and the refcount went up to 990. I just found it
> interesting that an SSH login increased the refcount by two, while an
> existing login just increased it by one. Might my suspicion be correct
> that sshd tries to peek into the user's home directory for something and
> thus creates a new anonymous context?
Weird, could be. OK, that does help narrow down the problem a bit,
thanks.
--b.
More information about the NFSv4
mailing list