Can someone help to explain why the AIX ulimit stack setting will indicate hard value of 4194304 when we have set it to unlimited in /etc/security/limits?
$ ulimit -a
But if you look in /etc/security/limits, you can see that it is set
core = -1
data = -1
stack = -1
rss = -1
fsize = -1
Thanks in advance.
SystemAdmin 110000D4XK6902 Posts
Re: AIX ulimit stack setting2007-12-12T14:13:36ZThis is the accepted answer. This is the accepted answer.The value that is being displayed for the stack parameter corresponds to the default stack_hard value:
* The following table contains the default hard values if the
* hard values are not explicitly defined:
* Attribute Value
* ========== ============
* stack_hard 8388608
You would need to explicity set stack_hard to "-1" in /etc/security/limits to get unlimited stack size.