WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] dom0 - oom-killer - memory leak somewhere ?

To: Adrien Urban <adrien.urban@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] dom0 - oom-killer - memory leak somewhere ?
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Sun, 13 Nov 2011 18:19:32 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 13 Nov 2011 03:20:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4EBF8DEB.1050804@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4EBBC9E3.7000909@xxxxxxxxxxxxxx> <4EBF8DEB.1050804@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sun, Nov 13, 2011 at 4:29 PM, Adrien Urban
<adrien.urban@xxxxxxxxxxxxxx> wrote:
>
> Hello,
>
> I work in a hosting company, we have tens of Xen dom0 running just fine,
> but unfortunately we do have a few that get out of control.
>
> Reported behaviour :
> - dom0 uses more and more memory
> - no process can be found using that memory

Does the dom0 also serve as some kind of file server (e.g. nfs, web)
with lost of files (e.g. several hundred GBs)?

If yes, you might need to set /proc/sys/vm/vfs_cache_pressure to 1000
(or any value over 100). More details:
http://rackerhacker.com/2008/12/03/reducing-inode-and-dentry-caches-to-keep-oom-killer-at-bay/

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users