Skip to contentSkip to conversation

Increase shutdown timeout

PATCH New [email protected] 1 participant 1 message May 25, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Increase shutdown timeout

# HG changeset patch
# User [email protected]
# 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.

tools/python/xen/xend/XendConstants.py +1 -1
@@ -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-'