Re: 2.2.5 kernel not reusing filehandles?

Aaron Tiensivu (tiensivu@pilot.msu.edu)
Thu, 15 Apr 1999 23:02:57 -0400


On Thu, Apr 15, 1999 at 04:46:00PM +0100, John Mather wrote:
> I've got something bizarre going on with a 2.2.5 kernel. I keep running
> out of file handles, but nothing is holding files open - lsof reports
> only 800 files open while /proc/sys/fs/file-nr reports 28000
> filehandles allocated and 27000 filehandles in use! Am I right in
> supposing that this is inconsistant?

Eek.
Sounds like a leak.

> The problem seems to occur when many files are opened and closed in a
> short space of time, specifically by the Cyrus imapd performing a
> search, but I'm having trouble causing anything else to exhibit the same
> behaviour.
>
> Anyone seen this?

Haven't seen it but you might try the ac patch series and see if you
see the same problem under that, because the code has been reworked there
and might fix the bug in the normal kernel (which I'm hoping the chunk from
the ac patches will eventually get into the standard kernel)

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