how to increase stacksize?
Anton Shterenlikht
mexas at bristol.ac.uk
Mon Apr 4 20:10:46 UTC 2011
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
More information about the freebsd-questions
mailing list