2 ms·
A person commented on that page about argument list size. For completeness sake, one can adjust the argument limit on Linux via PAM. To see your current argum
by LinuxBender 5y ago
A person commented on that page about argument list size. For completeness sake, one can adjust the argument limit on Linux via PAM.
To see your current argument limit:
getconf ARG_MAX
This is based on limits.h and you can adjust with ulimit -s. On my own systems I set this as unlimited but one can adjust to a number they feel comfortable with.
grep stack /etc/security/limits.conf
root - stack -1
* hard stack -1
* soft stack -1
getconf ARG_MAX
4611686018427387903
I believe the default is 8192 which looks more like
ulimit -s 8192;getconf ARG_MAX
2097152
In systemd, this is set in the unit file with
LimitSTACK=