Date: Mon, 4 Apr 2011 21:10:44 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Mark Blackman <mark@exonetric.com> Cc: Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-questions@freebsd.org Subject: Re: how to increase stacksize? Message-ID: <20110404201044.GA31206@mech-cluster241.men.bris.ac.uk> In-Reply-To: <EE39EAC1-0CE0-4C02-9B51-885973681A96@exonetric.com> References: <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk> <EE39EAC1-0CE0-4C02-9B51-885973681A96@exonetric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 04, 2011 at 09:00:16PM +0100, Mark Blackman wrote: > > On 4 Apr 2011, at 20:50, Anton Shterenlikht wrote: > > [snip] > > > > I'd like to increase stacksize. > > How do I do this? > > > > "limits -s xxx" doesn't set the limits, > > any anyway, in /etc/login.conf I get: > > > > So where do my shell settings come from? > > stacksize is ultimately a kernel limit, and the hard > maximum is visible with > > sysctl kern.maxssiz > > set 'kern.maxdxiz' in your /boot/loader.conf and reboot > if you're already hitting the hard limit. > > - Mark Mark, thank you. kern.maxssiz: 268435456 kern.maxdsiz: 1073741824 kern.maxtsiz: 1073741824 Is the second limit datasize? What is the 3rd limit? Is this documented anywhere? I can't seem to find it here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html Many thanks Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110404201044.GA31206>