Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2005 18:05:38 -0400
From:      Charles Swiger <cswiger@mac.com>
To:        Danny Howard <dannyman@toldme.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: limits puzzle - different limits on similar machines
Message-ID:  <F586E31D-0CD4-47C8-B114-403D7086A4B8@mac.com>
In-Reply-To: <20050825191346.GE51748@ratchet.nebcorp.com>
References:  <20050823235642.GP51748@ratchet.nebcorp.com> <B23AAEEF-0AF6-4A66-AEFB-3375580F698C@shire.net> <20050824214038.GU51748@ratchet.nebcorp.com> <430D2304.3030002@mac.com> <20050825191346.GE51748@ratchet.nebcorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 25, 2005, at 3:13 PM, Danny Howard wrote:
>> No, but see /boot/default/loader.conf, you can tune it there  
>> without having
>> to rebuild the kernel...
>
> That much I know, but what variables?

kern.dfldsiz is probably the most crucial one, but a more complete  
list would be:

#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

It's used like so:

9-pi% cat /boot/loader.conf
kern.dfldsiz="1G"
kern.hz="1000"

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F586E31D-0CD4-47C8-B114-403D7086A4B8>