argument list too long

Dan Nelson dnelson at allantgroup.com
Wed Feb 27 17:02:35 UTC 2008


In the last episode (Feb 27), Wojciech Puchar said:
>>> 2000 to do the rest.
>> 
>> That's less than xargs's default of 5000 :)  The xargs manpage explains
>> it all.
> with this defaults i've got "argument list too long" because every argument 
> is 70-80 bytes by average.

Hm.  That shouldn't happen, since xargs also reads kern.argmax and
limits the total argument size to 4096 bytes less than that.  If you
can reproduce this with a simple testcase, it should be easy to fix.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list