Could ARG_MAX be increased?

Barney Wolff barney at
Thu Sep 23 12:11:19 PDT 2004

On Thu, Sep 23, 2004 at 02:28:02PM -0400, Garance A Drosihn wrote:
> No, that is the solution which will work for any number of files,
> on any Unix-based system.  No matter what we increase MAX_ARGS to,
> it still be possible that some users will have a good reason to
> need to process even more args.
> The `find' command takes a little time to get comfortable with,
> but it is a very useful utility program for some situations.  I
> have hit the limits in Solaris, for instance, and one of the
> earlier messages claimed that Sun uses a value of 1meg for MAX_ARGS.
> I have nothing against the idea of increasing the value of MAX_ARGS,
> as long as people realize that increasing it will not solve the issue
> for all situations.

<briefly emerging from my crypt>
I spent 20 years on systems with a max of 5120.
<lid back on>

Barney Wolff
I'm available by contract or FT, in the NYC metro area or via the 'Net.

More information about the freebsd-current mailing list