From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 00:34:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81C0816A41F for ; Wed, 14 Dec 2005 00:34:35 +0000 (GMT) (envelope-from dexter@ambidexter.com) Received: from fed1rmmtao06.cox.net (fed1rmmtao06.cox.net [68.230.241.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B24B43D79 for ; Wed, 14 Dec 2005 00:34:34 +0000 (GMT) (envelope-from dexter@ambidexter.com) Received: from [192.168.1.30] (really [68.6.69.14]) by fed1rmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051214003239.OYVR20050.fed1rmmtao06.cox.net@[192.168.1.30]> for ; Tue, 13 Dec 2005 19:32:39 -0500 Mime-Version: 1.0 Message-Id: Date: Tue, 13 Dec 2005 16:34:32 -0800 To: freebsd-questions@freebsd.org From: Michael Dexter Content-Type: text/plain; charset="us-ascii" ; format="flowed" Subject: kern.maxdsiz "big memory/tuning" questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 00:34:35 -0000 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.