limits puzzle - different limits on similar machines

Charles Swiger cswiger at mac.com
Thu Aug 25 22:05:44 GMT 2005


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



More information about the freebsd-questions mailing list