stack size rlimit

Konstantin Belousov kostikbel at gmail.com
Sun Sep 21 20:34:16 UTC 2014


On Sun, Sep 21, 2014 at 04:19:38PM -0400, suresh gumpula wrote:
> Thank you ! .  So we cannot have the stack size beyond 512M  . correct ?
You have to adjust kern.maxssiz to be able to bump RLIMIT_STACK beyond
512M (on amd64).

Just curious, why do you need this ?

> 
> % sudo ./test_stack
> Current limit value is : 8M
> max limit value is : 512M
> 
> Changing the limits to infinity...
> 
> Current limit  value now is : 512M
> max limit value now is : 512M
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20140921/0e0431e2/attachment.sig>


More information about the freebsd-hackers mailing list