[PATCH] Re: grow_inodes: inode-max limit reached - how to find/fix the inode leak?

From: Michael Riepe (michael@stud.uni-hannover.de)
Date: Wed Aug 30 2000 - 09:47:49 EST


Hello everybody,

On Wed, Aug 30, 2000 at 04:00:19PM +0300, Leonid Mamtchenkov wrote:
> Hello,
>
> In the archives of the lkml I have found a message from Peter Gervai
> (grin@tolna.net) dated Tue Apr 25 2000 available here:
> http://boudicca.tux.org/hypermail/linux-kernel/2000week18/0317.html
>
> Unfortunately, I was not able to find any reply to that message.
>
> Currently, one of our servers experiences the same problem, with only
> difference of the kernel being 2.2.16 (openwall patch applied aswell).
>
> Is there any solutions to this problem yet/still available?

There is an inode leak in lockd, caused by a reference counting bug.
It will appear when you use DOS/Windows clients to access a knfsd+lockd
based NFS server, and it will crash the server sooner or later (a DOS
attack, literally ;). The lockd bug is still alive in 2.4.0-test?,
so upgrading doesn't help either.

I'll attach my patch for 2.2.16. It should apply to 2.4.0-test? too,
with one or two lines of fuzz maybe.

Ciao,

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:26 EST