[CentOS] strict memory

Filipe Brandenburger filbranden at gmail.com
Thu Oct 16 16:56:12 UTC 2008


On Thu, Oct 16, 2008 at 12:48, Mag Gam <magawake at gmail.com> wrote:
> I was wondering if there is a way to restrict memory usage
> per process? If the process goes over 32G simply kill it.

You can limit the amount of virtual memory of a process with "ulimit
-v". See "help ulimit" or "man bash" for more details.


More information about the CentOS mailing list