HttpHealthcheckModule server not marked down

nikita.tovstoles nginx-forum at
Sat Apr 21 02:22:25 UTC 2012


I was seeing the same issue: when upstream node is down, healthcheck
correctly flags it as down yet subsequent requests are still routed to
that node (even though others are healthy). 

Tried this patch with 1.0.13 and .15 - no relief:

Is the above supposed to work when ip_hash directive is used?

Thank you,


My config:

        upstream admin-cluster {
                ip_hash; # clientIP-based session affinity
healthcheck_send "GET /running HTTP/1.0" "Host:"
"User-Agent: FooBar/1.0 nginx" "Connection: close";
healthcheck_delay 2000;
healthcheck_failcount 2;
healthcheck_timeout 2000;
server max_fails=1 fail_timeout=5; #max
sec to connect to upstream host

Posted at Nginx Forum:,215656,225577#msg-225577

More information about the nginx mailing list