Non-leader contour controller pod memory keeps increasing until OOM #6860
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/needs-triage
Indicates that an issue needs to be triaged by a project contributor.
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
What did you expect to happen:
All contour controller pod works well.
Anything else you would like to add:
The pod memory heap (generated by https://github.com/cloudwego/goref):
The pod memory goroutine:
Checked the goroutine of the pod, the service events consumer is hangs on
ServiceStatusLoadBalancerWatcher.notify
.On non-leader contour controller pod, loadBalancerStatusWriter will not start, it will cause
ServiceStatusLoadBalancerWatcher.notify
blocking writing to channel.And then, all service events are cached in
pendingNotifications.ringGrowing
and will not be consumed. And as new events are generated, more events are cached inpendingNotifications.ringGrowing
, and the memory continues to increase, final OOM.Environment:
kubectl version
): 1.26.15/etc/os-release
):The text was updated successfully, but these errors were encountered: