[Linux-cachefs] Re: [PATCH 3/7] FS-Cache: Avoid ENFILE checking for kernel-specific open files
Christoph Hellwig
hch at infradead.org
Thu Apr 20 17:18:57 UTC 2006
On Thu, Apr 20, 2006 at 05:59:33PM +0100, David Howells wrote:
> Make it possible to avoid ENFILE checking for kernel specific open files, such
> as are used by the CacheFiles module.
>
> After, for example, tarring up a kernel source tree over the network, the
> CacheFiles module may easily have 20000+ files open in the backing filesystem,
> thus causing all non-root processes to be given error ENFILE when they try to
> open a file, socket, pipe, etc..
No, just increase the limit. The whole point of the limit is to avoid resource
exaustion. A file doesn't use any less ressources just becuase it's opened
from kernelspace. In doubt increase the limit or even the default limit.
More information about the Linux-cachefs
mailing list