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

[Xen-API] [PATCH] bump up the host offline threshold time in response to stress testing



# HG changeset patch
# User David Scott <dave.scott@xxxxxxxxxxxxx>
# Date 1278584016 -3600
# Node ID bdfe7edd4af86ff1a1a7adae1a7a22e3b246272a
# Parent  e81508994446d06cd964e8f6bbadec1e78aed511
CA-40530: bump up the threshold time before a host is declared offline to 10 
minutes. This is in response to several stress test failures where the 
heartbeats were delayed by 3 minutes.

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>

diff -r e81508994446 -r bdfe7edd4af8 ocaml/xapi/xapi_globs.ml
--- a/ocaml/xapi/xapi_globs.ml  Thu Jul 08 11:11:56 2010 +0100
+++ b/ocaml/xapi/xapi_globs.ml  Thu Jul 08 11:13:36 2010 +0100
@@ -86,7 +86,7 @@
 (* Interval between host heartbeats *)
 let host_heartbeat_interval = 30.0
 (* If we haven't heard a heartbeat from a host for this interval then the host 
is assumed dead *)
-let host_assumed_dead_interval = 200.0 
+let host_assumed_dead_interval = 600.0 (* 10 minutes *)
 
 let http_realm = "xapi"
 
 ocaml/xapi/xapi_globs.ml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

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