Re: HAPROXY CAN NOT POINT IN TO PORT 5000 OF PATRONI

2021-04-22 Thread Adis Nezirovic
On 4/22/21 11:39 AM, Maciej Zdeb wrote: Hi, try removing those two lines from config: option httpchk http-check expect status 200 it is postgres (tcp backend), you should not expect http response on health check. As far as I can see, this is Patroni style HA setup, where Patroni services

Re: HAPROXY CAN NOT POINT IN TO PORT 5000 OF PATRONI

2021-04-22 Thread Maciej Zdeb
Hi, try removing those two lines from config: option httpchk http-check expect status 200 it is postgres (tcp backend), you should not expect http response on health check. Kind regards, Maciej czw., 22 kwi 2021 o 02:38 thủy bùi napisał(a): > I have open all port by setting firewall rules,

Re: HAPROXY CAN NOT POINT IN TO PORT 5000 OF PATRONI

2021-04-22 Thread Jarno Huuskonen
Hi, On Thu, 2021-04-22 at 11:39 +0200, Maciej Zdeb wrote: > Hi, > try removing those two lines from config: > option httpchk > http-check expect status 200 > > it is postgres (tcp backend), you should not expect http response on > health check. > I think httpchk/port 8008 is for patroni rest

Re: Proposal about libslz integration into haproxy

2021-04-22 Thread Willy Tarreau
On Wed, Apr 21, 2021 at 08:04:08AM +0200, Willy Tarreau wrote: > Does anyone have any opinion, objection or suggestion on this (especially > those in CC who participated to the first discussion or who could have > packaging concerns) ? Barring any comment I think I'm going to do this > tomorrow so

Re: Illegal instruction - 2.2 on AMD/Sempron ?

2021-04-22 Thread Jim Freeman
stock 1.8.19 (which runs fine) doesn't also use cmpxchg16b ? https://en.wikipedia.org/wiki/X86-64#Older_implementations May be time for a new motherboard (or a Pi4?) ... Dump of assembler code for function ha_random64: 0x5566bac0 <+0>: push %rbx 0x5566bac1 <+1>: sub

Re: Illegal instruction - 2.2 on AMD/Sempron ?

2021-04-22 Thread Willy Tarreau
Hi Jim, On Wed, Apr 21, 2021 at 04:46:17AM -0600, Jim Freeman wrote: > Stock 1.8.19-1+deb10u3 on Debian10 runs fine, but when I install > 2.2.8-1~bpo10+1 from buster-backports, I get "Illegal instruction" ? > Is my CPU just too historic ? Possible but it makes me think that it could also be a

Re: Illegal instruction - 2.2 on AMD/Sempron ?

2021-04-22 Thread Willy Tarreau
On Thu, Apr 22, 2021 at 09:17:29AM -0600, Jim Freeman wrote: > stock 1.8.19 (which runs fine) doesn't also use cmpxchg16b ? > https://en.wikipedia.org/wiki/X86-64#Older_implementations By default threads were not enabled in 1.8, so there were no atomic ops. And indeed it died on it :-/ > May be

Re: [2.2.11] 100% CPU again

2021-04-22 Thread Maciej Zdeb
śr., 21 kwi 2021 o 13:53 Christopher Faulet napisał(a): > The fix was merge in upstream : > > * BUG/MAJOR: mux-h2: Properly detect too large frames when decoding headers >(http://git.haproxy.org/?p=haproxy.git;a=commit;h=07f88d75) > Thanks! Building 2.2.13 and 2.3.9 with patches. I'll