[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mv fails with "Too many open files" when moving _many_ files
From: |
Jim Meyering |
Subject: |
Re: mv fails with "Too many open files" when moving _many_ files |
Date: |
Mon, 18 Oct 2004 11:01:40 +0200 |
Paul Eggert <address@hidden> wrote:
> Here's how I reproduced it, both with coreutils 5.2.1 and with CVS
> coreutils. On my host, /tmp and /home are different file systems;
> this is a crucial part of the bug.
>
> ulimit -n 1024
> cd /home/eggert/junk
> mkdir foo /tmp/foo
> cd foo
> for f in $(seq 1 1500); do mkdir $f; touch $f/f; done
> mv * /tmp/foo
Thanks a lot for that small test case.
Often, reproducing the problem is harder than
coming up with a fix.