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

next in thread | previous in thread | raw e-mail | index | archive | help

--x1F0m3RQhDZyj8sd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 ?

>=20
> % sudo ./test_stack
> Current limit value is : 8M
> max limit value is : 512M
>=20
> Changing the limits to infinity...
>=20
> Current limit  value now is : 512M
> max limit value now is : 512M

--x1F0m3RQhDZyj8sd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUHzZCAAoJEJDCuSvBvK1BblIQAJccX3woINySDZl96SaJDyMN
sJShqVxracOL1o6Jjg+xHsaEtbM7vguZav/eEm5IS0GZ7SOCLqvY+nDhsY0TzsvX
Jhv80LGIGSILvgik4oS6jsNWFA5jri9mdGHz4ry+w8E+TEOkpqoirmA0iuwBBTap
bTG75CObc80E5NMUU8cVq/lA6Mg8a9oQAaGk2Nk27lxElwmfS5uDw8SS4T1R4caH
16b2bs9b9x42R3u+y1aFKBPjuXpwaJTmbHOjzdbP5L9uroA3gQCUsWmDpE3riNt7
wwCy5ow/T+NoKHtSf+dpuDIMyKsq3fMnuPtwsjC/04Uc6lNpfkTAIEQzTPIBl2ay
2iTouGhQY4xB6PuSoBfxdeomt/1hH1Zl3nB9AVrYTvywCTxPGQAcakE4kohz6M+w
jgkLqadkqZ7UQDq/SEMaEM9gAg4biPGfksjNvM3PABcfshnqahpVr6vLJOMYtNtz
5chVypOL16sx8kKy5TsjnL9/zjciaNzKhyGa16PnwvIsf9SFrw5T0usGrTxVA33M
n+6bIfqkdCK1/UATp8g4fx8nqanr+FEzdj5GBmpgyxmp3AaZiMvOhoUgnvH+PyuK
Nla+DAud2BCul/e4iOTG4JIxkT4sZIggRwEEkKX3k/M+SD2m0Lsq78deUBYK31KO
ShDmbtOKV9IxUY8NMJCI
=mGcK
-----END PGP SIGNATURE-----

--x1F0m3RQhDZyj8sd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140921203410.GM2210>