-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Traefik keeps opening new sockets when docker swarm loses quorum #3904
Copy link
Copy link
Closed
Labels
area/provider/docker/swarmcontributor/waiting-for-feedbackkind/bug/confirmeda confirmed bug (reproducible).a confirmed bug (reproducible).priority/P1need to be fixed in next releaseneed to be fixed in next releasestatus/5-frozen-due-to-age
Description
Do you want to request a feature or report a bug?
Bug
What did you do?
I am running traefik on top of docker swarm and when the swarm cluster loses quorum traefik does not respect the timeouts for connections and keeps opening new sockets connections until file descriptors be full and raises too many open files.
What did you expect to see?
Expect traefik to close socket connections when the timeouts and maxIdleConnection limits are reached.
What did you see instead?
Traefik keeps openning new sockets until file descriptors max are reached causing too many open files.
Output of traefik version: (What version of Traefik are you using?)
traefik version
Version: v1.6.6
Codename: tetedemoine
Go version: go1.10.3
Built: 2018-08-20_01:10:06PM
OS/Arch: linux/amd64
What is your environment & configuration (arguments, toml, provider, platform, ...)?
"--api",
"--docker",
"--docker.swarmmode",
"--docker.watch",
"--logLevel=DEBUG",
"--respondingtimeouts.idletimeout=3s",
"--maxidleconnsperhost=20",
"--forwardingtimeouts.dialtimeout=3s",
"--forwardingtimeouts.responseheadertimeout=3s"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/provider/docker/swarmcontributor/waiting-for-feedbackkind/bug/confirmeda confirmed bug (reproducible).a confirmed bug (reproducible).priority/P1need to be fixed in next releaseneed to be fixed in next releasestatus/5-frozen-due-to-age