Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 16:43:51 -0400
From:      suresh gumpula <gsuryacse7k@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: stack size rlimit
Message-ID:  <CAJOqHmi71=-ofp0RUqbR=NinzQOjeF8puOFpNzrw3%2BG3c3dREw@mail.gmail.com>
In-Reply-To: <20140921203410.GM2210@kib.kiev.ua>
References:  <CAJOqHmhpjuh5em%2Bdr8Qpqu8fCsDnwC6_znSZYwc=XdM90OAVvw@mail.gmail.com> <20140921195943.GK2210@kib.kiev.ua> <CAJOqHmhAn=-0izzxTOmoAJDsnafTtUqO4niTxGNSM8H5S40wYA@mail.gmail.com> <20140921203410.GM2210@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOqHmi71=-ofp0RUqbR=NinzQOjeF8puOFpNzrw3%2BG3c3dREw>