ldirectord: checkinterval global, or per-service?

Horms horms at verge.net.au
Thu Feb 8 07:56:57 GMT 2007


On Thu, Feb 01, 2007 at 04:22:41PM +1100, Guy Waugh wrote:
> Hi all,
> 
> I'm running Ultramonkey - heartbeat and ldirectord on RHEL3 boxes.
> 
> It looks to me like the 'checkinterval' parameter in an ldirectord
> config file is global... can anyone confirm or deny this? Can this be
> declared per virtual service?

I can confirm that it is global.

In a nuthell ldirectord is just a big loop, along the lines of:

  while (1) {
  	start = time();
	do_checks_one_by_one();
	end = time();
	if (end - start < checkinterval)
		sleep (checkinterval - (end - start));
  }

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list