Welcome! Log In Create A New Profile

Advanced

Re: Passive health check in stream_proxy module

Roman Arutyunyan
June 08, 2016 05:48PM
Hi Frank,

On Tue, Jun 07, 2016 at 04:16:39PM -0700, Frank Liu wrote:
> I checked that page before sending the email.
> The "Passive Health Monitoring" section of that page wasn't clear on how
> nginx would consider a "failed attempt", especially in case of UDP where
> there is no "handshake".
>
> On Tue, Jun 7, 2016 at 3:45 PM, Yuriy Medvedev <medvedev.yp@gmail.com>
> wrote:
>
> > Hi, https://www.nginx.com/resources/admin-guide/load-balancer/
> >
> > 2016-06-08 0:03 GMT+03:00 Frank Liu <gfrankliu@gmail.com>:
> >
> >> How does passive health check work in stream_proxy module? especially for
> >> UDP which is connectionless. How does nginx detect if it is a failed
> >> connection and retry next?

There are two types of such errors.

If proxy_responses is not zero, ICMP Destination Unreachable signals a UDP
error. This results in socket read error.

If proxy_responses is not default, proxy_timeout expiration is considered a UDP
connection error too.

--
Roman Arutyunyan

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Passive health check in stream_proxy module

Frank Liu June 07, 2016 05:06PM

Re: Passive health check in stream_proxy module

Yuriy Medvedev June 07, 2016 06:46PM

Re: Passive health check in stream_proxy module

Frank Liu June 07, 2016 07:18PM

Re: Passive health check in stream_proxy module

Roman Arutyunyan June 08, 2016 05:48PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
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