On Tue, May 13, 2003 at 04:09:58PM -0500, Jay Kline wrote:
> On a server I admin there is a custom application that likes to consume large 
> ammounts of memory.  Apparently, there are no checks within the application 
> when it allocates memory because it seems to kill the box occationally. the 
> kernel logger says it ran out of memory, then eventully the box stops 
> responding, except to pings.  I need some suggestions for this, we cant throw 
> more memory at the box, but that wont solve the problem (this app WILL 
> consume anything you give it).  I know there must be some way to limit a 
> process's memory usage- at least enough to protect the kernel better.  We 
> have like 6 gig's of swap partitions thrown at it right now, but I am fairly 
> certain that it dosnt use much, if any, of it. I know its almost a flame war, 
> but in the situation where you have one app consuming most of the memory, 
> what is the best setup with swap?

$LINUX_SRC/Documentation/vm/overcommit-accounting.

It works on 2.5.x, AC kernels, and RHAS.

florin

-- 

"NT is to UNIX what a doughnut is to a particle accelerator."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030513/d5617391/attachment.pgp