Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2011 21:00:16 +0100
From:      Mark Blackman <mark@exonetric.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to increase stacksize?
Message-ID:  <EE39EAC1-0CE0-4C02-9B51-885973681A96@exonetric.com>
In-Reply-To: <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk>
References:  <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk>

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

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EE39EAC1-0CE0-4C02-9B51-885973681A96>