Date: Tue, 13 Dec 2005 16:34:32 -0800 From: Michael Dexter <dexter@ambidexter.com> To: freebsd-questions@freebsd.org Subject: kern.maxdsiz "big memory/tuning" questions Message-ID: <a06230935bfc4e3834caa@[192.168.1.30]>
next in thread | raw e-mail | index | archive | help
Hello, I'm trying to RTFM but the M does not appear to exist. I am dealing with processes over 512MB in size on 6.0 on x86 and am using these loader.conf tunables as suggested by MySQL and other documentation: kern.maxdsiz="1073741824" # 1GB kern.dfldsiz="1073741824" # 1GB kern.maxssiz="134217728" # 128MB I can glean so far that: 1. You don't want to exceed physical memory with these 2. These are listed in /boot/defaults/loader.conf 3. This is not controlled by sysctls :) 4. 'limits' will show what they are currently set to 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. 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? Much appreciated, Michael.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a06230935bfc4e3834caa>