# HG changeset patch # User Jonathan Knowles # Date 1268152759 0 # Node ID 5d38ff0e1e4be330bdf7f722e56b2741c147c730 # Parent 59957bd3df0ac08f4aa601d551c23b02de8c9a10 Lengthens the timeout time for clean shutdown requests from 20 minutes to 60 minutes. Windows guests sometimes have genuine reasons to take longer than 20 minutes to shut down. Possible reasons include: * there are updates to install. * the guest is overloaded. * the host is overloaded. diff -r 59957bd3df0a -r 5d38ff0e1e4b ocaml/xapi/vmops.ml --- a/ocaml/xapi/vmops.ml Tue Mar 09 16:38:07 2010 +0000 +++ b/ocaml/xapi/vmops.ml Tue Mar 09 16:39:19 2010 +0000 @@ -853,7 +853,7 @@ if not !finished then raise (Api_errors.Server_error (Api_errors.vm_failed_shutdown_ack, [])) end; at 0.50; - let total_timeout = 20. *. 60. in (* 20 minutes *) + let total_timeout = 60. *. 60. in (* 1 hour *) (* Block for 5s at a time, in between check to see whether we've been cancelled and update our progress if not *) let start = Unix.gettimeofday () in