Limiting process memory usage

Patrick O'Callaghan pocallaghan at gmail.com
Fri Aug 15 21:45:09 UTC 2008


On Fri, 2008-08-15 at 17:01 -0400, Matthew Saltzman wrote:
> Is there an administrative way to prevent a process from using more than
> some set amount of memory?  Apparently, ulimit -m is not enforced in
> Linux.

Maybe you want "ulimit -v". "-m" limits the resident set size (i.e. the
number of process pages physically in RAM at one time), not the total
memory available to the process.

poc




More information about the fedora-list mailing list