[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xend memory usage is increasing steadily and make dom0 out of memory


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: dongkyu lee <dongq.lee@xxxxxxxxx>
  • Date: Fri, 30 Apr 2010 01:52:09 +0900
  • Delivery-date: Thu, 29 Apr 2010 09:54:00 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pRiHhY+pSNcKbQm4PZ1sKqSgI4+awty1zCInqEzomLljhzxRlI5Mq/fJIG37kxWjsS cBrQG09ySbJKxQs7hCb2TbPsLAKsS5EaHdgB2ro7CuywwVRxbtzJKcV7lUGgOzOemL5L lwQkoOUY2mn4sX+vyFFEiUdb9uImWkoxqEhKI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I have posted this question a couple of days ago and I am trying to explain it in more detail.

More than two hundreds Xen VMs has been running more than a year and no xend memory problems with the only linux vms.
Recently, we decided to use Windows VMs. After that, we have experienced lack of dom0 memory serveral times
because dom0 memory usage (because of xend) has increased linearly until dom0 became out of memory.
(Eventually OOM killer make the server reboot)

We created six windows VMs to test memory usage of xend for a week. Now xend is using 4.6GB memory (out of 32GB)
It is 22% usage of total memory size. Monitoring system shows increasing line gradually.
After restart xend, memory usage % of xend becomes normal (less 1%)
As work around, we regularly restart xend to prevent dom0 out of memory.
Is it known issue or something wrong with configuration.

SYSTEM INFO
  • Xen Version:3.4.1
  • dom0 : CentOS 5.3
  • Windows : Windows Server 2003 R2
  • Physical Server Model: HP DL360G6 (dual socket, QC)

[Windows VM configuration]
import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

name = "Win01"
memory = "2048"
vcpus = 2
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "dc"
disk = [ 'file:/home1/xen/vm_images/Win01,xvda,w','file:/home1/xen/vm_images/win2k3_01.iso,xvdc:cdrom,r']
vif = [ 'bridge=eth1' ]

sdl=0
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
stdvga=0
serial='pty'

>on_reboot   = 'restart'
on_crash    = 'restart'

[xm info]
host                   : tpriv04.covi
release                : 2.6.18-164.el5xen
version                : #1 SMP Thu Sep 3 04:03:03 EDT 2009
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 1995
hw_caps                : bfebfbff:20100800:00000000:00000140:0004e33d:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 32762
free_memory            : 12
node_to_cpu            : node0:0-7
node_to_memory         : node0:12
xen_major              : 3
xen_minor              : 4
xen_extra              : .1
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
cc_compile_by          : root
cc_compile_domain      : gitco.tld
cc_compile_date        : Tue Sep  8 22:51:53 CEST 2009
xend_config_format     : 4


Thank you in advance.






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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.