Originally posted by: SystemAdmin
The value that is being displayed for the stack parameter corresponds to the default stack_hard value:
From /etc/security/limits:
* 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.