From owner-freebsd-questions@FreeBSD.ORG Tue Aug 29 19:34:29 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 8ECC316A4DE for ; Tue, 29 Aug 2006 19:34:29 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3F8D43D45 for ; Tue, 29 Aug 2006 19:34:28 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 7975 invoked by uid 0); 29 Aug 2006 19:34:27 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp2.knology.net with SMTP; 29 Aug 2006 19:34:27 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id F3E3528420; Tue, 29 Aug 2006 14:34:23 -0500 (CDT) Date: Tue, 29 Aug 2006 14:34:23 -0500 From: David Kelly To: regisr Message-ID: <20060829193423.GA82013@Grumpy.DynDNS.org> References: <20060829080134.829f9683.regisr@pobox.com> <20060829141552.GB80182@Grumpy.DynDNS.org> <20060829192212.9e2e3dda.regisr@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060829192212.9e2e3dda.regisr@pobox.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: datasize ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD-Questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 19:34:29 -0000 On Tue, Aug 29, 2006 at 07:22:12PM +0200, regisr wrote: > On Tue, 29 Aug 2006 09:15:52 -0500 > David Kelly a ?crit: > > > Yes, you will have to tweak a few kernel values to allow more than 512M > > per process. And then have enough core RAM and swap to back your data. > > But I have yet set the limit to 1.5GB! I wanted to known if the limit > to ~3G is always in effect. I don't understand your 1.5 GB reference. I think you set the kernel maximum in /boot/loader.conf and can then set per-user limits up to that value in /etc/login.conf. IIRC the stock unmodified kernel limit is 512 MB per process, and the login.conf default is the same 512 MB. Login.conf can not override the kernel. Something like this needs to be added to /boot/loader.conf: kern.maxdsiz="3G" # think this is the absolute system per-process limit kern.dfldsiz="3G" # think this is the default per-process limit kern.maxssiz="128M" # stack size -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.