Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2016 19:03:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 208154] please increase ARG_MAX
Message-ID:  <bug-208154-6-hcLPrWvZWq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208154-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208154-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208154

--- Comment #2 from Pedro F. Giffuni <pfg@FreeBSD.org> ---
For reference, here are some values in other systems:

/netbsd/sys/sys/syslimits.h
#define ARG_MAX (256 * 1024) /* max bytes for an exec function */=20

/illumos-gate/usr/src/head/limits.h
#define _ARG_MAX32      1048320 /* max length of args to exec 32-bit progra=
m */
#define _ARG_MAX64      2096640 /* max length of args to exec 64-bit progra=
m */
#ifdef  _LP64
#define ARG_MAX         _ARG_MAX64      /* max length of arguments to exec =
*/
#else   /* _LP64 */
#define ARG_MAX         _ARG_MAX32      /* max length of arguments to exec =
*/
#endif  /* _LP64 */

____

I have no opinion, but since our own LibreOffice builds haven't seem to have
reached that issue(?), perhaps it's better to avoid a huge bump in that val=
ue.
Perhaps the _ARG_MAX32 is sufficient for UbuntuBSD? (Cool project BTW).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208154-6-hcLPrWvZWq>