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

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



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


 


Rackspace

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