-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Memory Leak using woodpecker with kubernetes #4228
Comments
Not me. But have no such a load (10 agents) :)
|
Hey @zc-devs , we are currently working on our migration project (automated migration from Drone CI to Woodpecker) and I could not collect all of the answers for you yet. By the end of this week I should be able to come back to that. |
memory: 4Gi |
in your fork? Have you tried to update it? Entertaining discussion. Even shared informer has been mentioned. |
those are: and we have not tried updating it yet |
Component
agent
Describe the bug
I’ve been encountering what appears to be a memory leak issue when running Woodpecker CI on a Kubernetes cluster. After running pipelines over time, I noticed that the memory usage of the Woodpecker agents and server steadily increases, eventually leading to performance degradation and, in some cases, the need for manual intervention to prevent the system from becoming unresponsive.
Steps to reproduce
Deploy Woodpecker CI in a Kubernetes environment.
Run multiple pipelines continuously over an extended period.
Monitor memory usage of the Woodpecker agents and server, I will attach my grafana memory usage graph.
Notice that memory consumption increases over time without being released after pipeline execution.
Expected behavior
Memory usage should stabilize after pipeline executions are completed, and unused memory should be reclaimed properly.
System Info
Additional context
I am using golang profiling to find something about it, this is what I could find so far:
Has anyone ever faced an issue like this?
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: