Date: Mon, 4 Apr 2011 21:32:04 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Chuck Swiger <cswiger@mac.com> Cc: Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-questions@freebsd.org Subject: Re: how to increase stacksize? Message-ID: <20110404203204.GA31453@mech-cluster241.men.bris.ac.uk> In-Reply-To: <C46793DC-3A71-4A0A-A4EA-A5DE258485C3@mac.com> References: <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk> <B218D3BE-356C-4247-A5B6-7BC824117EDF@mac.com> <20110404201735.GA31338@mech-cluster241.men.bris.ac.uk> <C46793DC-3A71-4A0A-A4EA-A5DE258485C3@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 04, 2011 at 01:21:16PM -0700, Chuck Swiger wrote: > On Apr 4, 2011, at 1:17 PM, Anton Shterenlikht wrote: > >> Set kern.maxssiz in /boot/loader.conf > >> to a larger value-- also consider > >> tweaking kern.dflssiz, > > > > What does this limit? > > > > Is it documented anywhere? > > > It appears to be documented in the manpages: > > http://www.freebsd.org/cgi/man.cgi?query=tuning&sektion=7 > http://www.freebsd.org/cgi/man.cgi?query=loader&sektion=8 > > ...and sys/boot/forth/loader.conf says: > > #hw.physmem="1G" # Limit physical memory. See loader(8) > #kern.dfldsiz="" # Set the initial data size limit > #kern.dflssiz="" # Set the initial stack size limit > #kern.hz="100" # Set the kernel interval timer rate > #kern.maxbcache="" # Set the max buffer cache KVA storage > #kern.maxdsiz="" # Set the max data size > #kern.maxfiles="" # Set the sys. wide open files limit > #kern.maxproc="" # Set the maximum # of processes > #kern.maxssiz="" # Set the max stack size > #kern.maxswzone="" # Set the max swmeta KVA storage > #kern.maxtsiz="" # Set the max text size > > Regards, > -- > -Chuck > Many thanks. I was trying to learn by looking at sys/kern/subr_param.c, but this is much more informative. 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?20110404203204.GA31453>