Welcome! Log In Create A New Profile

Advanced

Re: HttpHealthcheckModule server not marked down

April 20, 2012 10:22PM
Hello,

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: https://github.com/liseen/healthcheck_nginx_upstreams/blob/master/healthcheck.patch

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

Thank you,

-nikita

My config:

upstream admin-cluster {
ip_hash; # clientIP-based session affinity
healthcheck_enabled;
healthcheck_send "GET /running HTTP/1.0" "Host: www.mydomain.com" "User-Agent: FooBar/1.0 nginx" "Connection: close";
healthcheck_delay 2000;
healthcheck_failcount 2;
healthcheck_timeout 2000;
server admin1.staging.mydomain.com:8080 max_fails=1 fail_timeout=5; #max sec to connect to upstream host
}
Subject Author Posted

HttpHealthcheckModule server not marked down

Sjaak Pieterse September 22, 2011 04:36PM

Re: HttpHealthcheckModule server not marked down

Jaap van Arragon September 30, 2011 05:08AM

Re: HttpHealthcheckModule server not marked down

liseen September 30, 2011 06:08PM

Re: HttpHealthcheckModule server not marked down

liseen September 30, 2011 07:18PM

Re: HttpHealthcheckModule server not marked down

liseen October 01, 2011 04:36AM

Re: HttpHealthcheckModule server not marked down

Sjaak Pieterse October 03, 2011 10:40AM

Re: HttpHealthcheckModule server not marked down

liseen October 03, 2011 01:54PM

Re: HttpHealthcheckModule server not marked down

Sjaak Pieterse October 04, 2011 03:42AM

Re: HttpHealthcheckModule server not marked down

nikita.tovstoles April 20, 2012 10:22PM

Re: HttpHealthcheckModule server not marked down

nikita.tovstoles April 21, 2012 04:51PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready