Score:0

Our Docker HAProxy keeps getting slow after some time

th flag

We have 2 HAProxies running on two different Docker hosts. These become slow after some time. I monitor the whole thing with an image download every minute.

When I do a speed test on one of the Docker hosts, I get only 26 Mbits/s. If I restart the HAProxy with a docker restart, everything is normal again.

This is our Config:

global
    maxconn 500000

defaults
    maxconn 500000

frontend https-in
    bind *:443
    default_backend https-servers
    timeout client          60m

backend https-servers
    mode tcp
    timeout server          60m
    timeout connect         10s
    balance roundrobin
    server srv1 IP:443 check send-proxy
    server srv2 IP:443 check send-proxy
    server srv3 IP:443 check send-proxy
    server srv4 IP:443 check send-proxy

frontend http-in
    bind *:80
    default_backend http-servers
    timeout client          1m

backend http-servers
    mode tcp
    timeout server          1m
    timeout connect         10s
    balance roundrobin
    server srv1 IP:80 check send-proxy
    server srv2 IP:80 check send-proxy
    server srv3 IP:80 check send-proxy
    server srv4 IP:80 check send-proxy

Do you have a hint what can cause this to happen, maybe the limit of open connections has been reached?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.