From f1ce462da088bba87d891014c5d8b5c9eeaca238 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 10 Aug 2009 21:10:53 +0000 Subject: Watchdog feature to remove unresponsive cluster nodes. In some intstances (e.g. while resolving an error) it's possible for a hung process to hang the entire cluster as they wait for its response. The cluster can handle terminated processes but hung processes present a problem. If the watchdog plugin is loaded and --watchdog-interval is set then the broker forks a child process that runs a very simple watchdog program, and starts a timer in the broker process to signal the watchdog every interval/2 seconds. The watchdog kills its parent if it does not receive a signal for interval seconds. This allows a stuck broker to be removed from the cluster so other cluster members can continue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@802927 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'qpid/cpp/src/Makefile.am') diff --git a/qpid/cpp/src/Makefile.am b/qpid/cpp/src/Makefile.am index 24b92c8981..feff066e2e 100644 --- a/qpid/cpp/src/Makefile.am +++ b/qpid/cpp/src/Makefile.am @@ -115,6 +115,7 @@ INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include -I$(srcdir) -I=$(bu # Destination for intalled programs and tests defined here # qpidexecdir = $(libexecdir)/qpid +AM_CXXFLAGS += -DQPID_EXEC_DIR=\"$(qpidexecdir)\" qpidexec_PROGRAMS = qpidexec_SCRIPTS = qpidtestdir = $(qpidexecdir)/tests -- cgit v1.2.1