Subject: oom-killer killapps on hosts not not guest
From: Michael <michael.auckland@gmail.com>
Date: Wed, 19 Aug 2009 11:51:46 +1200

Hi,

I've got a test server with 8Gb RAM
setup guest with rss.hard=90000  rss.soft=40000

now run
stress --cpu 4 --vm 8 --vm-bytes 50M

Got oom-killer on host killing applicatioin on not guest but on host.
How to avoid this?

I've tring to setup vm.overcommit_memory=2  which doesen't help

The only option seems to be
vm.oom_kill_allocating_task = 1

Is it a right way to do it?

-- 
--
Michael