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

Re: [Xen-users] VM suddenly hangs

  • To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
  • From: Marco Weber <marco.jamendo@xxxxxxxxx>
  • Date: Sat, 29 Jan 2011 17:35:06 -0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 29 Jan 2011 17:36:34 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=NhbDPKSWRUD6tg8h0KjS1Ur8xFmri4tmmtvyjecjKvj4FOOz5nJ6xGnUNHsj9R1Yqu lSj57jEph03+Jm+FytnjpJ2Pzf7cvG7Jw70seKU3XzrZ+9Lr5aZhqCff1ilhC00OGjWX 28yMGTckp5QAigjKnudtsF+jCUHLK0ZqUaNiU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

right now it happened again... i followed your guide, and it seems that the vm uses 100% cpu.
what can be done to fix this xenconsoled bug?

2011/1/26 Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Marco Weber wrote:

This problem just occurs on a small ubuntu 8.04 LTS host.
On this host, there is just 1 VM running.
The problem always occurs, when the VM is up for about 2-3days.
Suddenly, the machine hangs and you cannot connect to it using ssh.
( Just a xm destroy Âand Âxm create  helps to get the VM running again. )

>From the copious console messages I think it probably isn't the known xenconsoled bug, but just to rule it out can you try this next time it happens ?

With xentop, see how much CPU the guest is using. Typically I see the guest taking one full core.

stop xend - "/etc/init.d/xend stop"

kill the xencolsoled process :
ps axl | grep xenconsoled
kill nnn (where nnn is the process ID found in the previous step)

start xend again - "/etc/init.d/xend start"

Withsome combinations of xen and kernel, the guest will block on IO to the console because xenconsoled has turned up it's toes in some way. Restarting xenconsoled unblocks it and the guest carries on as it was.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list

Xen-users mailing list



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