[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PRI=unimportant] Reiserfs 3.6: errors with rm, ls and many individu
From: |
Bob Proulx |
Subject: |
Re: [PRI=unimportant] Reiserfs 3.6: errors with rm, ls and many individual files |
Date: |
Thu, 9 May 2002 21:44:53 -0600 |
> cp001:~ # du -sh bonnietmp.old/ ; ls bonnietmp.old/*log* ; rm -rf bonniet=
> mp.old/*log*
> 43M bonnietmp.old
> bash: /bin/ls: Argument list too long
> bash: /bin/rm: Argument list too long
> cp001:~ #
You are seeing a common shell expansion limit. You are hitting
ARG_MAX. Here is an FAQ entry on the subject.
http://www.gnu.org/software/fileutils/doc/faq/core-utils-faq.html#Argument%20list%20too%20long
HTH
Bob
> Hello,
>
> I have sent this to the ReiserFS people in case it might be of any intere=
> st to them.
>
> I'm not sending it to you, too in case it is of interest to you.
>
> I should point out that I have _no_ idea if the effect is entirely to do =
> the fielsystem, entirely due to the su-utils, or is a compination of both=
> =2E
>
> Since the issue is not an actual problem for me currently, I do not have =
> any incentive to test it on another FS.
>
> I could see however that this _could_ be a potential problem, if there we=
> re other "unknown" things in the directory that some one wanted to keep.
>
> However if there are any test you would like me to run, please let me kno=
> w. I can also send you a compressed tar archive if you'd like.
>
> Some specs I forgot from the first message:
>
> Dell PowerEdge 6450
> SuSE Linux 8.0
> kernel 2.4.18 (Stock SuSE default)
> over 100 GB free disk space (~110 total)
> 8 GB RAM.
>
> ----------------------------------------
>
> This may be a bug with sh-utils, however I thought I would report it here=
> in case there's any interest in it.=20
> This is on a RAID5 setup of 6 U160 SCSI drives in a Dell Quad-Xeon PowerE=
> dge 6450, 8GB RAM.
>
> I got this directory [and it's contents] by writting a script that runs b=
> onnie++ in an infinite loop (I was attempting to stress-test the server)
>
> The directory it's self is not large, however it contains many thousand s=
> mall log files ( I had not idea it was going to do that :-) )
> If you want a tarball of the dior, just let me know.
>
> cp001:~ # du -sh bonnietmp.old/ ; ls bonnietmp.old/*log* ; rm -rf bonniet=
> mp.old/*log*
> 43M bonnietmp.old
> bash: /bin/ls: Argument list too long
> bash: /bin/rm: Argument list too long
> cp001:~ #
>
> I just found it somewhat interesting. Probably nothing you haven't seen b=
> efore but ya never know.
>
> Thanks, hope I didn't waste your time....
> `
> =09JW
>
> --=20
>
> ----------------------------------------------------
> Jonathan Wilson
> System Administrator
> Clickpatrol.com
> Cedar Creek Software http://www.cedarcreeksoftware.com