Page MenuHomePhabricator

HAProxy fails to reuse connections under some conditions
Closed, ResolvedPublic

Description

The issue has been reported to upstream on https://github.com/haproxy/haproxy/issues/1472 (details can be found on the GitHub issue)

Please note that even if connection reuse is non existent on cp3064 during EU daytime it doesn't seem to impact negatively HAProxy/varnish performance (we used to run nginx without connection reuse with varnish successfully after all)

Event Timeline

Mentioned in SAL (#wikimedia-operations) [2021-12-02T17:51:21Z] <vgutierrez> puppet disabled on cp3064 to manually increase number of maxconns in HAProxy - T296874

As pointed out by Willy Tarreau on https://github.com/haproxy/haproxy/issues/1472#issuecomment-984745445 it's a matter of FD usage and increasing maxconn seems to solve it:

image.png (338×1 px, 36 KB)

Change 743221 had a related patch set uploaded (by Vgutierrez; author: Vgutierrez):

[operations/puppet@production] haproxy:tls_terminator: Increase maxconn to 200k

https://gerrit.wikimedia.org/r/743221

Change 743221 merged by Vgutierrez:

[operations/puppet@production] haproxy:tls_terminator: Increase maxconn to 200k

https://gerrit.wikimedia.org/r/743221

Mentioned in SAL (#wikimedia-operations) [2021-12-02T18:19:29Z] <vgutierrez> re-enable puppet on cp3064 - T296874

Vgutierrez claimed this task.
Vgutierrez triaged this task as Medium priority.