From owner-freebsd-arch Mon Feb 24 21:55: 1 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A5FC37B401; Mon, 24 Feb 2003 21:55:00 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E13C143F3F; Mon, 24 Feb 2003 21:54:59 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h1P5ss5E015032; Mon, 24 Feb 2003 23:54:54 -0600 (CST) (envelope-from dan) Date: Mon, 24 Feb 2003 23:54:54 -0600 From: Dan Nelson To: Mike Barcroft Cc: Marcel Moolenaar , Garance A Drosihn , "M. Warner Losh" , arch@FreeBSD.ORG Subject: Re: Proposed new sysctl MIB nodes Message-ID: <20030225055454.GC20064@dan.emsphone.com> References: <20030224.174742.21056478.imp@bsdimp.com> <20030225005912.GA1583@athlon.pn.xcllnt.net> <20030225021234.GA1835@athlon.pn.xcllnt.net> <20030224224154.F61907@espresso.bsdmike.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030224224154.F61907@espresso.bsdmike.org> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Feb 24), Mike Barcroft said: > Marcel Moolenaar writes: > > Also, why a sysctl to get the total amount of memory in the box. > > Isn't getrlimit a much better approach to tune process behaviour? > > Good point, a process may also have resource limits, so the system > memory is almost irrelevant. Too bad we don't support the > standardized RLIMIT_AS option for getrlimit(). Anyone know the difference between our RLIMIT_VMEM and SUSv3's RLIMIT_AS? Unfortunately, RLIMIT_VMEM went into 4.7, so we can't just rename it to RLIMIT_AS... -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message