From owner-freebsd-questions Mon Mar 30 12:29:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12977 for freebsd-questions-outgoing; Mon, 30 Mar 1998 12:29:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12963 for ; Mon, 30 Mar 1998 12:28:56 -0800 (PST) (envelope-from andre.albsmeier@mchp.siemens.de) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.8.8/8.8.8) with ESMTP id VAA07517 for ; Mon, 30 Mar 1998 21:28:53 +0100 (MET) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.mchp.siemens.de (8.8.8/8.8.5) with ESMTP id WAA21794 for ; Mon, 30 Mar 1998 22:28:54 +0200 (MDT) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id WAA12382 for ; Mon, 30 Mar 1998 22:28:54 +0200 (CEST) From: Andre Albsmeier Message-Id: <199803302028.WAA18355@intern> Subject: Re: How to limit the physical RAM usage of a process? In-Reply-To: <351FFB1D.E08DF2A8@san.rr.com> from Studded at "Mar 30, 98 12:05:49 pm" To: Studded@san.rr.com (Studded) Date: Mon, 30 Mar 1998 22:28:53 +0200 (CEST) Cc: andre.albsmeier@mchp.siemens.de, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Andre Albsmeier wrote: > > > > Hi, > > > > I want to limit the usage of physical RAM to 20MB for a specific process. > > I tried a little with > > > > limits -m 20M /path/to/process > > > > but it still shows up in ps with 50M in the RSS field. > > You could set up a specific user for that process and use > /etc/login.conf to control its resources. Check out man login.conf for > more info. But doesn't this have the same effect as limits? -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message