Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 1998 12:45:39 -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:  <35200473.8AC02341@san.rr.com>
References:  <199803302028.WAA18355@intern>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35200473.8AC02341>