Re: setfacl with many files at cmdline -> Too many open files (fwd)

Nathan Scott <[email protected]> Mon, 10 Jan 2005 09:35:30 +1100
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
On Thu, Jan 06, 2005 at 07:18:35PM +0100, Andreas Gruenbacher wrote:
> On Thursday 06 January 2005 04:43, Nathan Scott wrote:
> > FYI - wonder if we have a file descriptor leak in setfacl?
> > Or perhaps the nftw in there is holding too many fds open?
> 
> What's in /proc/sys/fs/file-max? Maybe we get too close to the system-wide 
> limit before setfacl is invoked. Without recursion, nftw shouldn't keep any 
> directories open. We could specify a smaller limit to nftw (for example, 
> sysconf(_SC_OPEN_MAX) / 2), but I doubt this will help here.
> 
> What does this give?
> 
> find . -print0 | xargs -0 sh -c "cat /proc/sys/fs/file-nr"

I'll ask him, and report back.

thanks.

-- 
Nathan
_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel