haproxy "inter" and "timeout check", retries and "fall"

2017-05-13 Thread Jiafan Zhou
Hi all, The version of haproxy I use is: # haproxy -version HA-Proxy version 1.5.2 2014/07/12 Copyright 2000-2014 Willy Tarreau I have a question regarding the Health Check. In the documentation of haproxy, it mentions the below for the "timeout check" and "inter": For "timeout check": If

haproxy "inter" and "timeout check", retries and "fall"

2017-05-13 Thread Jiafan Zhou
Hi all, The version of haproxy I use is: # haproxy -version HA-Proxy version 1.5.2 2014/07/12 Copyright 2000-2014 Willy Tarreau I have a question regarding the Health Check. In the documentation of haproxy, it mentions the below for the "timeout check" and "inter": For "timeout check": If

Re: hostname to IP converter possible?

2017-05-13 Thread Baptiste
Hi all, As Willy said, I'm reviewing the internal DNS architecture to make it fully autonomous and more flexible with a registration mechanism and callbacks system. First purpose is to mutualise DNS resources (cache of the response, one resolution at a time for a query), second is to enable dns re

Re: Failed to compile haproxy with lua on Solaris 10

2017-05-13 Thread Benoît GARNIER
Le 13/05/2017 à 11:27, Willy Tarreau a écrit : > On Sat, May 13, 2017 at 10:42:58AM +0200, Benoît GARNIER wrote: >> Le 13/05/2017 à 09:46, Willy Tarreau a écrit : >>> On Sat, May 13, 2017 at 08:44:06AM +0200, Benoît GARNIER wrote: Time handling is not easy. I hate to say that, but POSIX and gl

Re: Failed to compile haproxy with lua on Solaris 10

2017-05-13 Thread Willy Tarreau
On Sat, May 13, 2017 at 10:42:58AM +0200, Benoît GARNIER wrote: > Le 13/05/2017 à 09:46, Willy Tarreau a écrit : > > On Sat, May 13, 2017 at 08:44:06AM +0200, Benoît GARNIER wrote: > >> Time handling is not easy. I hate to say that, but POSIX and glibc > >> manage to make it even harder. Especially

Re: Failed to compile haproxy with lua on Solaris 10

2017-05-13 Thread Benoît GARNIER
Le 13/05/2017 à 09:46, Willy Tarreau a écrit : > On Sat, May 13, 2017 at 08:44:06AM +0200, Benoît GARNIER wrote: >> Time handling is not easy. I hate to say that, but POSIX and glibc >> manage to make it even harder. Especially the timezone global handling >> which is not thread-safe as you pinpoin

Re: Failed to compile haproxy with lua on Solaris 10

2017-05-13 Thread Willy Tarreau
On Sat, May 13, 2017 at 08:44:06AM +0200, Benoît GARNIER wrote: > Time handling is not easy. I hate to say that, but POSIX and glibc > manage to make it even harder. Especially the timezone global handling > which is not thread-safe as you pinpointed. > Anyway, free conding a simple timegm() is not