From owner-freebsd-questions@FreeBSD.ORG Tue Feb 28 01:26:17 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 44E1B16A420 for ; Tue, 28 Feb 2006 01:26:17 +0000 (GMT) (envelope-from schultz@sgi.com) Received: from omx1.americas.sgi.com (omx1-ext.sgi.com [192.48.179.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEDF243D46 for ; Tue, 28 Feb 2006 01:26:16 +0000 (GMT) (envelope-from schultz@sgi.com) Received: from floyd.americas.sgi.com (floyd.americas.sgi.com [137.38.227.201]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with ESMTP id k1S1QEOX023558 for ; Mon, 27 Feb 2006 19:26:15 -0600 Received: from vrazalla.corp.sgi.com (vrazalla.corp.sgi.com [134.15.85.187]) by floyd.americas.sgi.com (Postfix) with ESMTP id 842661A4059 for ; Mon, 27 Feb 2006 19:26:14 -0600 (CST) Date: Mon, 27 Feb 2006 19:26:11 -0600 (CST) From: Randy Schultz To: freebsd-questions@freebsd.org In-Reply-To: <20060227210554.GA4232@dan.emsphone.com> Message-ID: References: <20060227210554.GA4232@dan.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Tue, 28 Feb 2006 01:26:17 -0000 On Mon, 27 Feb 2006, Dan Nelson spaketh thusly: -}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. Doh! Thinking powers of 10 not 2. Sorry. Didn't know about the login.conf bit tho'. Tnx. -- Randy (schultz@sgi.com) 715-726-2832 email bodhisattva <*> "There is no fire like passion, there is no shark like hatred, there is no snare like folly, there is no torrent like greed."