-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
manager.go:694] Error getting data for container / because of race condition #3407
Comments
This happens to us as well when we disable root cgroup stats. That log message actually appears when something scrapes the The 15s interval you are seeing is likely your Prometheus server scraping at every 15s (the default)? There was recently a PR fixing a related log spam: #3341 (not yet released) Line 701 in 688835d
The error message itself is a bit misleading, as this is not really a race condition. |
Yes that would be it! |
I got some time now and did dig deeper. cadvisor/metrics/prometheus.go Line 1822 in 688835d
Therefore it is normal to hit |
Running cadvisor like:
Gives error log every 15s:
Setting
--disable_root_cgroup_stats=false
make this error log go away.The text was updated successfully, but these errors were encountered: