[vserver] oom-killer killapps on hosts not not guest

From: Michael <michael.auckland_at_gmail.com>
Date: Wed 19 Aug 2009 - 00:51:46 BST
Message-ID: <35207fdf0908181651ke33a892hc4e75d4a454ad06d@mail.gmail.com>

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
Received on Wed Aug 19 00:52:06 2009
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 19 Aug 2009 - 00:52:08 BST by hypermail 2.1.8