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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Milan Holzäpfel <listen@xxxxxxxx>
  • Date: Wed, 7 Jun 2006 22:01:07 +0200
  • Delivery-date: Wed, 07 Jun 2006 13:03:37 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 17 Apr 2006 10:13:25 -0600
Jim Henderson <his_jimboness@xxxxxxxx> wrote:


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

- From reading the source code, I'd say yes. 
You can find the value
in /usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py, line 86
(Xen 3.0.2), in case you haven't seen yet. 

> 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?

You should be able to destroy the zombies (xm destroy) shutting down.
Alternatively, you could also use different init scripts, ofc. 

Maybe xm should be changed to not wait for zombies?

Regards, 
Milan


- -- 
Milan Holzaepfel <mail(a)mjh(d)name>             <URL:http://mjh.name/>
pub  4096R/C790FC23  EB8E 5E81 81E3 53A9 9B74  B895 5179 54C0 C790 FC23 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iQIVAwUBRIcwg2GQ1TgKZKJkAQIT+hAAhA6cRp8CpGhLc6M+xS6ggRoseGwv5SXE
WTRism6IkZ/0p7exYLBdkouggJJMM3O3XIxekEQt7GU+17WTnniF2kP5C4UH+3Ik
6+DGYAJBuirUDey5kwfzNcpdxrswctNj/0/oqIsmjoyy/8EvPnlU9UUV2BdJgQ8O
tffKGcVYrzxWdkhRgsLApzGhQ/a7UbfDBvHwo8wCFbRLFjFgJ6hBHADXNm45Wxxj
R2sYzUXw2nT2BRBUTAjt7E2PXao4SZg2YA3/n1yfTzRlOwdQ8cdlj80X5tsVstu3
Yl0l/5wws03iR7P39L1ofpMMPn1EMoSpxbqyas+TusZXTSSvTPi8gD/LWhVdHdq1
XyewOWSOGQuU7u5UbMQIcBRey5ot1Ob4gBpF4oxTrEPWMX8eo4zdn8JGaMta47tI
zx33qdL0+WyyXa/iUFx5kEt4Tj49JpA+5PBYX+IFhHyOnkNUaHrTr6dwPVlQRZQk
RQaWnI78An1smqMS3GJw9ZqPheR1ZVKiunAuVuyYcizUDAjFgTvJB4nJ7N/m8fBn
Znmms+Z+G8yAJZNjGc8Y2uIoBNwG4NAKWExWW0dlLydKLm9LPl6gLS8XCZPhpWCZ
rsUBdT/k/hMDv0iOa/8ojI4Psv78WQKr6sJPZCVQkRbUgbYbG3cLY5Tp71KHlIQs
qM1uFoZU7UQ=
=aiX6
-----END PGP SIGNATURE-----


_______________________________________________
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®.