From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 04:41:24 2005 Return-Path: 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 0FB8716A4D0 for ; Fri, 11 Mar 2005 04:41:24 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 818BA43D41 for ; Fri, 11 Mar 2005 04:41:23 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1D9bxi-000JGL-PC; Thu, 10 Mar 2005 21:41:23 -0700 In-Reply-To: <20050310214644.GH9663@dan.emsphone.com> References: <00ce60d0ae670341dbd028c4cab204ff@shire.net> <20050310214644.GH9663@dan.emsphone.com> Mime-Version: 1.0 (Apple Message framework v619.2) Message-Id: <70c49547938734897f0b8d3376ce38f1@shire.net> From: Chad Leigh -- Shire.Net LLC Date: Thu, 10 Mar 2005 21:41:21 -0700 To: Dan Nelson X-Mailer: Apple Mail (2.619.2) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) cc: List Free Bsd Subject: Re: how to change process limits? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 04:41:24 -0000 On Mar 10, 2005, at 2:46 PM, Dan Nelson wrote: > In the last episode (Mar 09), Chad Leigh -- Shire.Net LLC said: >> The following is aon 5.3-RELEASE-p5 >> >> If I do a limits command I get >> >> # limits >> Resource limits (current): >> datasize 524288 kb >> stacksize 65536 kb >> # >> >> However, login.conf has (and no other classes defined) >> >> default:\ >> :datasize=unlimited:\ >> :stacksize=unlimited:\ >> >> I am wondering where the datasize and stacksize get set. These have >> limits when listed with "limits" but they do not appear to be getting >> set through login as the login.conf has unlimitged. > > I believe those are extra-hard limits enforced by the kernel. You can > raise them by adding this to /boot/loader.conf: > > kern.maxdsiz=2147483648 > kern.maxssiz=2147483648 Should I be able to do a sysctl to look at their current values? On my 5.3 and my 4.9 systems, there are no kern.max%siz listed at all (% = d or s) to inspect. thanks Chad