Date: Mon, 30 Mar 1998 12:05:49 -0800 From: Studded <Studded@san.rr.com> To: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to limit the physical RAM usage of a process? Message-ID: <351FFB1D.E08DF2A8@san.rr.com> References: <199803301200.OAA03027@intern>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?351FFB1D.E08DF2A8>