Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 14:59:21 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        Putinas Piliponis <Putinas.Piliponis@hansa.lt>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Could ARG_MAX be increased?
Message-ID:  <20040923135921.GK2493@submonkey.net>
In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt>
References:  <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt>

next in thread | previous in thread | raw e-mail | index | archive | help

--OY4z34RctfP64Hws
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 23, 2004 at 04:54:56PM +0300, Putinas Piliponis wrote:
>=20
> > -----Original Message-----
> > From: owner-freebsd-current@freebsd.org
> > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Cyrille Lefevre
> > Sent: Thursday, September 23, 2004 4:47 PM
> > To: Juha Saarinen; freebsd-current@freebsd.org
> > Subject: Re: Could ARG_MAX be increased?
> >=20
> > "Juha Saarinen" <juhasaarinen@gmail.com> wrote:
> > > Currently, ARG_MAX is set to:
> > >=20
> > > $ getconf ARG_MAX
> > > 65536
> > > =20
> > > in syslimits.h. This is quite low compared to other OS (SunOS has 1MB
> > > IIRC, and OpenBSD 3.5 256K) and causes the "argument list too long"
> > > issues when for instance grep'ing in directories with lots of files.
> >=20
> >=20
> > how about grep -r ou find | xargs grep !
> >=20
>=20
> but this is workaround - isn't it ?=20

Well yes, but you need to know how to workaround this.  Otherwise, what
happens when you hit ARG_MAX limit?  You lobby the developer of that
system to up the number and then upgrade?

Ceri
--=20
It is not tinfoil, it is my new skin.  I am a robot.

--OY4z34RctfP64Hws
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBUta4ocfcwTS3JF8RAtQfAKC91a1jChC0nxe6BHdtMiiYSfVuPgCghfmU
k++a4F03sV5bwBp/nUWsado=
=UJbX
-----END PGP SIGNATURE-----

--OY4z34RctfP64Hws--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040923135921.GK2493>