WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] bump up the host offline threshold time in response to stress testing
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Thu, 8 Jul 2010 11:14:13 +0100
Delivery-date: Thu, 08 Jul 2010 03:22:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
# 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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] bump up the host offline threshold time in response to stress testing, David Scott <=