Subject: Re: managing process memory limits on the fly?
To: Carl Brewer <carl@bl.echidna.id.au>
From: Martin S. Weber <Ephaeton@gmx.net>
List: netbsd-users
Date: 02/22/2007 02:19:27
On Thu, Feb 22, 2007 at 11:11:08AM +1100, Carl Brewer wrote:
> 
> 
> Hello,
> 
> I've a process running (zope, python, plone) that is running into
> the default 128MB memory limit for processes.  I'd like to
> bump it up to 256MB or so.  Is it possible to do that on the fly
> to a process (like one can renice something as root?), or do I need
> to change the memory limit for all process with sysctl?

You can do it on the fly with sysctl; check sysctl proc.<pid>.rlimit
and/or set these values. See the first paragraph after description
of cmd line ooptions in sysctl(8).

Regards,

-Martin