From owner-freebsd-questions@FreeBSD.ORG Thu Aug 25 22:05:44 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 8037616A41F for ; Thu, 25 Aug 2005 22:05:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B76A43D45 for ; Thu, 25 Aug 2005 22:05:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/8.12.11/smtpout10/MantshX 4.0) with ESMTP id j7PM5h4V011167; Thu, 25 Aug 2005 15:05:43 -0700 (PDT) Received: from [10.1.1.209] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0) by mac.com (Xserve/smtpin01/MantshX 4.0) with ESMTP id j7PM5fR6026366; Thu, 25 Aug 2005 15:05:42 -0700 (PDT) In-Reply-To: <20050825191346.GE51748@ratchet.nebcorp.com> References: <20050823235642.GP51748@ratchet.nebcorp.com> <20050824214038.GU51748@ratchet.nebcorp.com> <430D2304.3030002@mac.com> <20050825191346.GE51748@ratchet.nebcorp.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Thu, 25 Aug 2005 18:05:38 -0400 To: Danny Howard X-Mailer: Apple Mail (2.734) Cc: freebsd-questions@freebsd.org Subject: Re: limits puzzle - different limits on similar machines 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: Thu, 25 Aug 2005 22:05:44 -0000 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