Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2011 13:21:16 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to increase stacksize?
Message-ID:  <C46793DC-3A71-4A0A-A4EA-A5DE258485C3@mac.com>
In-Reply-To: <20110404201735.GA31338@mech-cluster241.men.bris.ac.uk>
References:  <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk> <B218D3BE-356C-4247-A5B6-7BC824117EDF@mac.com> <20110404201735.GA31338@mech-cluster241.men.bris.ac.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?C46793DC-3A71-4A0A-A4EA-A5DE258485C3>