From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 06:20:47 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 B26AB16A41F for ; Wed, 14 Dec 2005 06:20:47 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 437C043D49 for ; Wed, 14 Dec 2005 06:20:47 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id B03716066; Wed, 14 Dec 2005 01:20:46 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09589-06; Wed, 14 Dec 2005 01:20:46 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id BD0545E80; Wed, 14 Dec 2005 01:20:45 -0500 (EST) Message-ID: <439FB9BF.6090305@mac.com> Date: Wed, 14 Dec 2005 01:20:47 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Dexter References: In-Reply-To: X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: 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 06:20:47 -0000 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