[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command failure: Too Many Files (rm, ls, tar)
From: |
Bob Proulx |
Subject: |
Re: Command failure: Too Many Files (rm, ls, tar) |
Date: |
Tue, 15 Apr 2008 13:56:08 -0600 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi Ralf,
Ralf Wildenhues wrote:
> AFAIK this limitation has been lifted in Linux 2.6.23. That FAQ could
> be updated for this.
Do you know which distributions have shipped with this or newer
kernel? I was holding off mostly because I think it is only
from-scratch builders that have that newest kernels that will see this
new behavior.
> On my 2.6.24, the non-limit isn't shown:
>
> $ getconf ARG_MAX
> 131072
I think this is a bug in glibc on kernels without a hard limit.
(However it may be a lessor of two evils it if avoids breakage of some
programs that always expect a limit.) I wonder if libc tries to
dynamically detect this or if there is a hard coded value that needs
to be updated. Hmm...
> but apparently it doesn't exist any more:
>
> $ cd /usr/lib; /bin/echo * * * * * * * * * * * * * * * * * * * * * * * * * |
> wc
> 1 60950 1056000
You say "apparently" but I am sure that it was you posted a note
elsewhere noting this change in the upstream kernel. I followed your
reference to where it was committed into Linus' kernel tree here:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b6a2fea39318e43fee84fa7b0b90d68bed92d2ba
It is only a matter of time before this propagates. But time is also
what keeps everything from happening all at once and so we will need
to wait a bit before this shows up on most machines in the wild. :-)
Bob
- Command failure: Too Many Files (rm, ls, tar), Browder, Tom, 2008/04/15
- Re: Command failure: Too Many Files (rm, ls, tar), Bob Proulx, 2008/04/15
- RE: Command failure: Too Many Files (rm, ls, tar), Browder, Tom, 2008/04/15
- Re: Command failure: Too Many Files (rm, ls, tar), Ralf Wildenhues, 2008/04/15
- Re: Command failure: Too Many Files (rm, ls, tar),
Bob Proulx <=
- Re: Command failure: Too Many Files (rm, ls, tar), Ralf Wildenhues, 2008/04/15
- Re: Command failure: Too Many Files (rm, ls, tar), Bob Proulx, 2008/04/15
- Re: Command failure: Too Many Files (rm, ls, tar), Karl Berry, 2008/04/15
- RE: Command failure: Too Many Files (rm, ls, tar), Browder, Tom, 2008/04/15