From owner-freebsd-questions Mon Mar 30 12:07:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09009 for freebsd-questions-outgoing; Mon, 30 Mar 1998 12:07:31 -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 MAA08965 for ; Mon, 30 Mar 1998 12:07:22 -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 MAA10974; Mon, 30 Mar 1998 12:05:49 -0800 (PST) (envelope-from Studded@san.rr.com) Message-ID: <351FFB1D.E08DF2A8@san.rr.com> Date: Mon, 30 Mar 1998 12:05:49 -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: <199803301200.OAA03027@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: > > 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. 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