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

[Xen-users] DomU Shutdown Timeout, Zombies Hanging a Reboot

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU Shutdown Timeout, Zombies Hanging a Reboot
From: Jim Henderson <his_jimboness@xxxxxxxx>
Date: Mon, 17 Apr 2006 10:13:25 -0600
Delivery-date: Mon, 17 Apr 2006 09:14:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7 (X11/20060313)
Hello,

I am using Xen 3.0.2/2.6.16-xen on Gentoo 2006.0.  I am getting the
following in my Xen logs when I attempt to shut down a domU:

---
[2006-04-17 09:41:39 xend] DEBUG (DevController:132) Waiting for devices
vtpm.
[2006-04-17 09:41:40 xend] INFO (XendDomain:363) Domain lists.test.ca
(1) unpaused.
[2006-04-17 09:44:33 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-04-17 09:44:33 xend.XendDomainInfo] DEBUG (XendDomainInfo:877)
XendDomainInfo.handleShutdownWatch
[2006-04-17 09:45:03 xend.XendDomainInfo] INFO (XendDomainInfo:867)
Domain shutdown timeout expired: name=lists.test.ca id=1
[2006-04-17 09:45:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327)
XendDomainInfo.destroy: domid=1
[2006-04-17 09:45:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335)
XendDomainInfo.destroyDomain(1)
---

QUESTION 1: Is the only way to increase the "Domain shutdown timeout" by
changing python source code?  Is this configurable?

Possibly because of this timeout forcing a shutdown of the domain too
early, that domain will turn into a zombie.  (But it may be something
else causing the Zombie... not sure.)

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      128     1 r-----   146.4
Zombie-lists.test.ca           1      192     1 -----d    63.2

And when I try to shutdown/reboot the server via dom0 in this state, it
will hang.  I've determined that the offending line in the Gentoo xen
init/shutdown script is: '/usr/sbin/xm shutdown --all --wait >/dev/null'

And when I run this on the command line it will hang, waiting to kill
the Zombie it would seem-- but it never kills it.

QUESTION 2: How can I shut down or reboot my server cleanly if there are
zombies?

Thank you,
James

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] DomU Shutdown Timeout, Zombies Hanging a Reboot, Jim Henderson <=