While the stack size in user space is set to 8M, we can see that an application using 132K of it, and if we set the stack size limit to 32K (with ulimit) then the application uses 28K of it.
So wonder that
- What is the meaning of those numbers, I mean why 132K while stack max is 8M and 28K when stack max is 32K?
- what is the effect of reducing stack on application's execution.
Thank you in advance.