From owner-freebsd-questions@FreeBSD.ORG Mon Feb 27 21:05:56 2006 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 8348216A420 for ; Mon, 27 Feb 2006 21:05:56 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1881543D46 for ; Mon, 27 Feb 2006 21:05:55 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k1RL5tqk016446; Mon, 27 Feb 2006 15:05:55 -0600 (CST) (envelope-from dan) Date: Mon, 27 Feb 2006 15:05:55 -0600 From: Dan Nelson To: Randy Schultz Message-ID: <20060227210554.GA4232@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: loader.conf != limits? 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: Mon, 27 Feb 2006 21:05:56 -0000 In the last episode (Feb 27), Randy Schultz said: > I've been running some code with larger data sets and needed to up > some kernerl parameters. I added this to loader.conf: > kern.maxdsiz="1073741824" > kern.dfldsiz="1073741824" > kern.maxssiz="134217728" > > The odd thing is limits shows: > Resource limits (current): > cputime infinity secs > filesize infinity kB > datasize 1048576 kB > stacksize 131072 kB > > Anybody know what's up with this? Should something be up? 1073741824/1024 is 1048576, which is what the limit command shows. The stack size hasn't changed because you didn't set kern.dflssiz. You can also set the default sizes in /etc/login.conf. -- Dan Nelson dnelson@allantgroup.com