how to increase stacksize?

Mark Blackman mark at exonetric.com
Mon Apr 4 20:26:34 UTC 2011


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




More information about the freebsd-questions mailing list