Pieter,

Am 29.05.20 um 00:45 schrieb PiBa-NL:
> I 'suspect' it has something to do with the healthchecks though... (and
> their refactoring as i think happened.?.)

This appears to be correct.

> Anyhow perhaps this is already enough for someone to take a closer look.?
> If more info is needed ill try and provide :).
> 
> Regards,
> PiBa-NL (Pieter)
> 
> *Reproduction (works 99% of the time..):*
>   haproxy -W -f /var/etc/haproxy-2020/haproxy.cfg
>   kill -s USR2 17683
> 
> *haproxy.cfg*
> frontend www
>     bind            127.0.0.1:81
>     mode            http
> backend testVPS_ipv4
>     mode            http
>     retries            3
>     option            httpchk OPTIONS /Test HTTP/1.1\r\nHost:\ test.test.nl
>     server            vps2a 192.168.30.10:80 id 10109 check inter 15000
> backend O365mailrelay
>     mode            tcp
>     option            smtpchk HELO
>     no option log-health-checks
>     server-template            O365smtp 2
> test.mail.protection.outlook.com:25 id 122 check inter 10000
> 

I can reproduce the issue with your configuration on

> HA-Proxy version 2.2-dev8-fa9d78-30 2020/05/28 - https://haproxy.org/
> Status: development branch - not safe for use in production.
> Known bugs: https://github.com/haproxy/haproxy/issues?q=is:issue+is:open
> Running on: Linux 4.4.0-179-generic #209-Ubuntu SMP Fri Apr 24 17:48:44 UTC 
> 2020 x86_64


Backtrace is as follows:

> (gdb) bt full
> #0  eb_next (node=0x19e2e60) at ebtree/ebtree.h:571
>         t = 0x19e2e61
> #1  ebpt_next (ebpt=0x19e2e60) at ebtree/ebpttree.h:77
> No locals.
> #2  deinit_tcpchecks () at src/checks.c:5523
>         rs = <optimized out>
>         r = <optimized out>
>         rb = <optimized out>
>         node = 0x19e2e60
> #3  0x00000000004d1da3 in deinit () at src/haproxy.c:2762

strace does not show any further activity.

Best regards
Tim Düsterhus

Reply via email to