Jay Kline writes:
> 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.

UNIX has a wonderful thing called resource limits, or rlimits.  See
getrlimit(2) and setrlimit(2).  If you have an sh compatible shell, you can
set resource limits using ulimit.  An easy way to run a program with new
resource limits is softlimit:

http://cr.yp.to/daemontools/softlimit.html

-- 
David Phillips <david at acz.org>
http://david.acz.org/


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list