Follow-up Comment #3, bug #34976 (project findutils):
Seems December is the month for running into this problem.
On a CentOS system with:
yum list installed | grep findutils
findutils.x86_64 1:4.4.2-6.el6 @base/$releasver
To reproduce easily, do the following:
-------------------------
cd /tmp
mkdir src
mkdir dest
for i in {1..1500}
do
touch /tmp/src/t$i
done
find /tmp/src -type f -execdir mv '{}' /tmp/dest ;
--------------------------
This should produce something like:
mv: error while loading shared libraries: libselinux.so.1: cannot open shared
object file: Error 24
find: Failed to save working directory in order to run a command on `t1424':
Too many open files
This assumes your ulimit isn't set artificially high:
ulimit -n
1024
I've seen "find -execdir" work with a very large number of files in other
environments. E.g., it works on an ubuntu system with:
dpkg-query -l findutils
ii findutils 4.4.2-4ubuntu1 utilities for finding
files--find, xargs
Hope this helps...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34976>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/