How can I increase the ARG_LIMIT in linux?

unix syzadmin unixsyzadmin at gmail.com
Tue Dec 20 06:52:35 UTC 2005


Hi,

One of our developer is getting the following error, while running a test
script.

Warning: UNIXProcess.forkAndExec native error: Argument list too long.
I have got a request to increase the ARG_LIMIT in "/
usr/include/linux/limits.h".

Currently the ARG_MAX limit is set to 128KB.  How can I increase it?
#define ARG_MAX       131072    /* # bytes of args + environ for exec() */

Thanks & Regards,
-GnanaShekar-



More information about the redhat-list mailing list