From: James Stevens Subject: Re: KVM and the OOM-Killer Date: Fri, 14 May 2010 14:01:57 +0100 Message-ID: <4BED49C5.1070904@jrcs.co.uk> References: <4BEBEE8F.9050508@jrcs.co.uk> <20100514073334.GE16563@miggy.org> <4BED056B.1080804@jrcs.co.uk> <20100514082106.GG3296@balbir.in.ibm.com> <4BED0D18.80209@jrcs.co.uk> <20100514122801.GH3296@balbir.in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: balbir@linux.vnet.ibm.com, kvm@vger.kernel.org Return-path: Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]:1680 "EHLO mk-outboundfilter-3.mail.uk.tiscali.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751277Ab0ENNB6 (ORCPT ); Fri, 14 May 2010 09:01:58 -0400 In-Reply-To: <20100514122801.GH3296@balbir.in.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: > I understand, You could potentially encapsulate all else - except your > VM's in a small cgroup and frequently reclaim from there using the > memory cgroup. If drop caches works for you, that is good too. I am > surprised that cache allocations are causing lowmem exhaustion. I'm suirprised that LOWMEM exhaustion causes oom-killer (when HIGH & SWAP are half empty) but there you go, life is full of surprises ;) Of course, it could be something else, but its definitely disk i/o that triggers the oom-killer and clearing the cache stops it from happening (2.6.31.12) - any alternative explain really really welcome. James