I have some old code that needs the stack to not be limited to 8192kb in order for it to run.
I am used to doing this in /etc/security/limits.conf
* stack hard unlimited
* stack soft unlimited
However in RHEL 7.9 having a local account with a bash shell when I do a ulimit -s it still responds with 8192. So my modification of limits.conf seems to have no affect?
In my terminal window having a bash shell if I do a ulimit -s unlimited first then run my code, my code runs fine.
What is the best way to set stack size to unlimited, globally for all users in RHEL 7.9 ?
Am I missing something, is ulimit and /etc/security/limits.conf not the same thing?
session requiredcorrect? – ron Dec 07 '20 at 19:40/etc/security/limit.confis not being put into effect. I am stumped. – ron Dec 07 '20 at 19:44/etc/security/limits.confnot limit.conf – ILMostro_7 Dec 07 '20 at 20:47