Skip to content
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

High CPU usage after etcd connection is lost #2171

Open
dhilgarth opened this issue Jan 22, 2025 · 1 comment · May be fixed by #2172
Open

High CPU usage after etcd connection is lost #2171

dhilgarth opened this issue Jan 22, 2025 · 1 comment · May be fixed by #2172

Comments

@dhilgarth
Copy link
Contributor

I'm using flannel in Docker Swarm, so together with etcd. #1830 already reported this issue: When flannel loses connectivity to etcd, it will use all CPUs completely and never recover from it.

I've built a version with symbols and profiled the process with perf. This is the result:

Image

@dhilgarth
Copy link
Contributor Author

The issue is: the watch channel in both methods is being closed upon connection loss but never re-established. I'm working on a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant