Subject: Re: [vserver] Question about rss limit and out-of-memory kill service
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 28 Jan 2008 22:14:40 +0100

On Mon, Jan 28, 2008 at 12:58:30PM -0800, Belinda Lawson wrote:
> Hey,
> 
> Does anyone know if the vserver decides which processes get killed off once
> the rss hard limit is reached?  And if so, what criteria does it use?

the same decision process is used as on the host
(actually it is the host's OOM killer reaping the
processes), but you can provide a bias for each
guest (in recent kernels) and being over the soft
limit will increase the chances too

best,
Herbert

> Thanks,
> -Belinda