cgroups & killing processes
Hi all,
I am playing with cgroups right now to test memory limits for group of processes.
It works very well except ... killing processes. I mean if process is trying to allocate too big chunk of memory
(over its limits) it is killed. Is it possible to configure cgroups to refuse giving memory to process
but not kill it ? What I mean is that syscalls like malloc etc should give an error instead (of course
the code should maintain failure but this is another topic ...) but the process shouldn't be killed.
Is it possible somehow ?