Apparent memory leak introduced with v2.1.7 #6520
Labels
area/middleware/metrics
kind/bug/confirmed
a confirmed bug (reproducible).
priority/P0
needs hot fix
status/5-frozen-due-to-age
Projects
Milestone
Do you want to request a feature or report a bug?
Bug
What did you do?
We have deployed Traefik v2.1 on a couple of nodes, limited to 128 MB memory each. This setup has been running stable ever since Trafik 2.x was released.
Last night our Traefik deployments have been automatically updated from v2.1.6 to v2.1.7.
Since then the instances are regularly OOM-killed. The following Grafana chart shows the difference in behavior (old: constant memory usage after a ramp-up, new: restart cycles due to OOMs):
What did you expect to see?
Traefik continues running as before.
What did you see instead?
Traefik is periodically killed by the Linux kernel due to an OOM (when hitting the 128 MB memory limit).
The issue can be reproduced more quickly by firing plenty of requests against the instance, e.g., using
ab
:Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
Linux amd64, running on Ubuntu 18.04 w/ Docker 19.03.8
The text was updated successfully, but these errors were encountered: