Hi, I'm having problems when moving everything from a directory that contains 10852 top level directories and a total of ~300000+ files and subdirectories with this command:
# mv * ../../../webalizer-clients/ It fails with: mv: cannot create regular file `../../../webalizer-clients/bouthors/usage_200305.html': Too many open files mv: cannot create regular file `../../../webalizer-clients/bouthors/.htaccess': Too many open files mv: cannot create regular file `../../../webalizer-clients/bouthors/index.html': Too many open files (...) The same command runs successfuly with ulimit -n 1048576 but you can see that many (useless?) file descriptors are in use: # ls -l /proc/`pidof mv`/fd | wc -l 5643 # ls -l /proc/`pidof mv`/fd total 5533 lrwx------ 1 root root 64 Oct 17 21:03 0 -> /dev/pts/563 lrwx------ 1 root root 64 Oct 17 21:03 1 -> /dev/pts/563 lr-x------ 1 root root 64 Oct 17 21:03 10 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 100 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1000 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1001 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1002 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1003 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1004 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1005 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1006 -> /var/www/jexiste/logs_user/webalizer lr-x------ 1 root root 64 Oct 17 21:03 1007 -> /var/www/jexiste/logs_user/webalizer I think this is a bug, I'm using "mv (coreutils) 5.2.1" with Linux 2.6.6. -- Cyril Bouthors
pgpHKLGq96Dsd.pgp
Description: PGP signature
_______________________________________________ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils
