[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "find: '/usr/...': Too many open files" when using -execdir
From: |
Kamil Dudka |
Subject: |
Re: "find: '/usr/...': Too many open files" when using -execdir |
Date: |
Sat, 03 Jun 2017 16:18:49 +0200 |
User-agent: |
KMail/4.14.10 (Linux/4.9.16-gentoo; KDE/4.14.32; x86_64; ; ) |
On Saturday, June 03, 2017 09:03:54 Dale R. Worley wrote:
> I know I've seen something about this before: When I use -execdir, I
> get a message like:
>
> find: '/usr/share/texlive/texmf-dist/tex4ht/ht-fonts/alias/kurier/sy-iwona':
> Too many open files find: Failed to save working directory in order to run
> a command on 'qx-iwonacap': Too many open files
>
> But I can't find an entry in the bug tracker
> (http://savannah.gnu.org/bugs/?group=findutils) about it. (BTW, the
> search facilities in that tracker are really poor.)
I believe it is fixed by the following upstream commit, which includes also
indentation changes, unfortunately:
http://git.savannah.gnu.org/cgit/findutils.git/commit/?id=183115d0
Here you can find the actual fix extracted from the above commit:
https://bugzilla.redhat.com/1223557#c2
... and this seems to be the related upstream bug report:
https://savannah.gnu.org/bugs/?34976
Kamil
> It seems that replacing -execdir with -exec makes that problem go
> away, but as the manual page says, there are significant security
> problems with -exec.
>
> Dale