-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Increased memory usage in version 2.11.18 #11423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @aucampia, Thanks for reaching out. Could you provide a minimal reproducible case (for instance, full Kubernetes manifest to reproduce the issue)? |
We have same problem after upgrading from 2.11.16 to 2.11.18, pods starting to be OOM killed. |
Sorry I accidentally closed this, please re-open it. |
Here are the PRs merged between 2.11.16 and 2.11.18:
The most likely root cause is the bump of the lib golang.org/x/net to v0.33.0. There is no release note associated with v0.33.0. The go team released v0.34.0 on Jan 6, it might be worth a try. In the meantime, can anyone provide a pprof of Traefik while facing the issue? |
Have the same problem. Memory consumption is too large and increasing. |
Hi, We’ve built a test version of A corresponding Docker image is available on Docker Hub. ⚠ Warning: Let us know your findings! |
I saw this also with upgrade from 2.11.16 to 2.11.17 |
a pprof show huge usage of logrus maybe it's #11344 |
I think I found something. In #11344, a new logger object is initialized per request. |
Indeed, this is the issue: |
I think it's missing a close on the logger and happens mostly hen you have a lot of config changes |
Closed by #11487. |
Uh oh!
There was an error while loading. Please reload this page.
Welcome!
What did you do?
Upgrade from version 2.11.16 to 2.11.18. We did not expect any change in memory usage.
What did you see instead?
It seems Træfik now uses at least 2x as much memory as before, and it may even be leaking memory.
What version of Traefik are you using?
2.11.18
What is your environment & configuration?
N/A
If applicable, please paste the log output in DEBUG level
No response
The text was updated successfully, but these errors were encountered: