[CentOS] strict memory

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

Hi,

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.

HTH,
Filipe