how to increase stacksize?

Chuck Swiger cswiger at mac.com
Mon Apr 4 20:21:21 UTC 2011


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



More information about the freebsd-questions mailing list