[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: limit the memory allocation to a process



On Thu, Jul 04, 2002 at 04:03:47PM +0800, Zou Min wrote:
> In Linux, is there a way to limit the memory allocation to a proccess?
> So, we can impose a restriction to a proccess, say certain proc can't use more 
> than 10MB memory.

Zou, man bash, search for ulimit. This only works on certain kernels,
sadly enough. Rik's -rmap tree has rlimits implemented, and perhaps
-aa's tree has them implemented, but I don't think they are in 2.4
mainline.

Cheers

-- 
http://sardonix.org/

PGP signature