From: "Jan Beulich" Subject: Re: Kernel 3.11 / 3.12 OOM killer and Xen ballooning Date: Tue, 10 Dec 2013 08:16:31 +0000 Message-ID: <52A6DBEF020000780010BAC9@nat28.tlf.novell.com> References: <52A602E5.3080300@zynstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VqIUe-0003MI-9F for xen-devel@lists.xenproject.org; Tue, 10 Dec 2013 08:16:36 +0000 In-Reply-To: <52A602E5.3080300@zynstra.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: James Dingwall Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 09.12.13 at 18:50, James Dingwall wrote: > Since 3.11 I have noticed that the OOM killer quite frequently triggers > in my Xen guest domains which use ballooning to increase/decrease their > memory allocation according to their requirements. One example domain I > have has a maximum memory setting of ~1.5Gb but it usually idles at > ~300Mb, it is also configured with 2Gb swap which is almost 100% free. > > # free > total used free shared buffers cached > Mem: 272080 248108 23972 0 1448 63064 > -/+ buffers/cache: 183596 88484 > Swap: 2097148 8 2097140 > > There is plenty of available free memory in the hypervisor to balloon to > the maximum size: > # xl info | grep free_mem > free_memory : 14923 But you don't tell us how you trigger the process of re-filling memory. Yet that's the crucial point here; the fact that there is enough memory available in the hypervisor is only a necessary prerequisite. Jan