From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 17:02:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 661C71065672 for ; Wed, 27 Feb 2008 17:02:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 457D18FC1E for ; Wed, 27 Feb 2008 17:02:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.2/8.14.2) id m1RH2Xku026605; Wed, 27 Feb 2008 11:02:33 -0600 (CST) (envelope-from dan) Date: Wed, 27 Feb 2008 11:02:33 -0600 From: Dan Nelson To: Wojciech Puchar Message-ID: <20080227170232.GK3328@dan.emsphone.com> References: <20080227100132.G1831@wojtek.tensor.gdynia.pl> <47C52A64.5000701@locolomo.org> <20080227111551.GA2403@kobe.laptop> <20080227124822.C2519@wojtek.tensor.gdynia.pl> <20080227152937.GJ3328@dan.emsphone.com> <20080227175527.E3645@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080227175527.E3645@wojtek.tensor.gdynia.pl> X-OS: FreeBSD 7.0-PRERELEASE User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: argument list too long X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 17:02:35 -0000 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@allantgroup.com