[Bug 208154] please increase ARG_MAX
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 20 19:03:06 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208154
--- Comment #2 from Pedro F. Giffuni <pfg at 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 */
/illumos-gate/usr/src/head/limits.h
#define _ARG_MAX32 1048320 /* max length of args to exec 32-bit program */
#define _ARG_MAX64 2096640 /* max length of args to exec 64-bit program */
#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 value.
Perhaps the _ARG_MAX32 is sufficient for UbuntuBSD? (Cool project BTW).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-amd64
mailing list