Re: [SLUG] Restricting a program to a fixed amount of memory.

From: awyatt@fewt.com
Date: Mon Jun 03 2002 - 15:52:59 EDT


man bash then search for ulimit?

You Wrote:

Date: Mon, 03 Jun 2002 14:52:42 -0400
From: "Brett Simpson" <Simpsonb@hillsboroughcounty.org>
To: <slug@nks.net>
Subject: [SLUG] Restricting a program to a fixed amount of memory.

I have a daemon "realserver" that likes to consume all available memory on the system despite using a config option to only use a fixed amount of memory. It even consumes the swap memory so the drive keeps quite busy. Normally this would be an issue for Real support to fix but they won't support 2.4.x kernels. Is there a way to force the daemon or any other program to only see a fixed amount of memory. For example lets say I have 256MB of ram but I only want a particular program to see 96MB.

Brett



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:18:27 EDT