kern.maxdsiz "big memory/tuning" questions

Chuck Swiger cswiger at mac.com
Tue Dec 13 22:20:47 PST 2005


Michael Dexter wrote:
[ ... ]
> However, I am not clear if:
> 
> 1. It is permitted to use "M" and "G" notation (kern.maxsiz="1G")? -
> some say yes, some say no and I would prefer not risk the system not
> booting.

Using "1G" or some number followed by "M" is working for me in 5.x and 6.0.

> 2. Which tunables actually matter beyond kern.maxdsiz? Some say only
> kern.maxdsiz and some suggest all three. 'man tuning' and the handbook
> (~/handbook/configtuning-kernel-limits.html) only goes into maxfiles and
> maxusers. Searches of this list and Google have yeilded what you see above.
> 
> Could someone please share some wisdom or docs on this matter?

The stuff listed in /etc/defaults/loader.conf is probably the most complete
reference outside of the kernel source code itself, but you might find looking
at the corresponding "sysctl -d" output for the variables in question.  Note
that the loader and sysctl don't always use the same name.

Other than that, check what limits you're seeing in the shell you run.  And
double-check under /bin/sh too, for cron jobs or stuff started at boot.  :-)

-- 
-Chuck


More information about the freebsd-questions mailing list