Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We're using HAProxy v1.3 to load balance between a bunch of Windows VMs in Amazon's EC2, and hare having some issues with instance stability. We've got our own monitoring in place, so we're aware of when an instance starts dropping requests or starts behaving even worse, but one of the problems is that it may sporadically start working for a brief period of time, so HAProxy thinks it's up, starts feeding it requests, only to have them eventually get close/timeout, which is becoming a big problem.

When it does this, the instance flaps between the two states with a period of less than two minutes, so I'm wondering if there's any way we can configure HAProxy to only add servers if they've been consistently up for a period of time (say, 5 minutes).

share|improve this question

1 Answer 1

up vote 6 down vote accepted

rise <count> The "rise" parameter states that a server will be considered as operational after consecutive successful health checks. This value defaults to 2 if unspecified. See also the "check", "inter" and "fall" parameters.

HAProxy Configuration

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.