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

[Xen-devel] [PATCH] Increase shutdown timeout



# HG changeset patch
# User john.levon@xxxxxxx
# Date 1180064546 25200
# Node ID 2b5c6aa784528d83f57bb6c6c1104371d421dced
# Parent  c602e67039bc9365550fc3242dc2b54984fb92b7
Increase shutdown timeout

30 seconds is not a very long time for a busy domain to cleanly shutdown all
its services, which may be arbitrary in complexity. Increase the timeout to 5
minutes.

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/tools/python/xen/xend/XendConstants.py 
b/tools/python/xen/xend/XendConstants.py
--- a/tools/python/xen/xend/XendConstants.py
+++ b/tools/python/xen/xend/XendConstants.py
@@ -72,7 +72,7 @@ STATE_DOM_OK       = 1
 STATE_DOM_OK       = 1
 STATE_DOM_SHUTDOWN = 2
 
-SHUTDOWN_TIMEOUT = 30.0
+SHUTDOWN_TIMEOUT = (60.0 * 5)
 
 ZOMBIE_PREFIX = 'Zombie-'
 

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


 


Rackspace

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