From owner-freebsd-questions Mon Mar 30 12:47:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17905 for freebsd-questions-outgoing; Mon, 30 Mar 1998 12:47:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt050n33.san.rr.com (@dt050n33.san.rr.com [204.210.31.51]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA17764 for ; Mon, 30 Mar 1998 12:46:38 -0800 (PST) (envelope-from Studded@san.rr.com) Received: from san.rr.com (Studded@localhost [127.0.0.1]) by dt050n33.san.rr.com (8.8.8/8.8.8) with ESMTP id MAA11461; Mon, 30 Mar 1998 12:45:39 -0800 (PST) (envelope-from Studded@san.rr.com) Message-ID: <35200473.8AC02341@san.rr.com> Date: Mon, 30 Mar 1998 12:45:39 -0800 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-STABLE-0325 i386) MIME-Version: 1.0 To: Andre Albsmeier CC: freebsd-questions@FreeBSD.ORG Subject: Re: How to limit the physical RAM usage of a process? References: <199803302028.WAA18355@intern> 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: > > > 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? To be honest, I have no familiarity with 'limits'. You asked for alternatives and I provided one for you that I know will work. :) Good luck, Doug -- *** Chief Operations Officer, DALnet IRC network *** *** Proud operator, designer and maintainer of the world's largest *** Internet Relay Chat server. 5,328 clients and still growing. *** Try spider.dal.net on ports 6662-4 (Powered by FreeBSD) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message