stack size rlimit
suresh gumpula
gsuryacse7k at gmail.com
Sun Sep 21 20:43:52 UTC 2014
Yes, we may not really need this big stack space for a process. I am just
experimenting RLIMIT_INFINITY on BSD and linux. On BSD we are limiting to
kern.maxssiz it seems.
And the address map layout which described in the design book , is not what
we are doing as you said.
Thank you!
On Sun, Sep 21, 2014 at 4:34 PM, Konstantin Belousov <kostikbel at gmail.com>
wrote:
> 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
>
More information about the freebsd-hackers
mailing list