-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
CPU of cadvisor too high #152
Comments
Awesome! Thanks for taking the time to open an issue. We will have a look and answer as soon as we can.' first issue |
I'm experiencing the same issue (15% CPU usage here). What helped a bit was putting the
But the CPU usage is still pretty high (~7%) so I opened an issue with cadvisor: I hope they have tips and I will keep this ticket updated if they have interesting conclusions! |
I'm experiencing exactly the same. |
Thank you @immortaly007 !
The above helped ! |
Good to hear! To do this, under the services:
#...
cadvisor:
# ...
command:
- '--docker_only'
- '--disable_metrics=disk,diskIO,tcp,udp,percpu,sched,process'
- '--housekeeping_interval=10s' |
The above helped! Down from 20 % to below 7 % cpu usage. Thanks. |
This issue has seen no activity and is marked as stale |
I recently setup cadvisor and prometheus and noticed 36% usage, when googled i ended up here, so i put in the command as you mentioned, after that cadvisor won't run, log shows a lot or lines, some that says error are: -alsologtostderr any idea? |
When i deploy the stack with default values the cadvisor container had a CPU usage too high regards to regular containers. Maybe its' normal ?
Expected Behaviour
I would expect that CPU usage was like other containers not that much
Current Behaviour
Bellow the CPU taken by cadvisor container
The top of my server :
Possible Solution
I tried to follow the case : google/cadvisor#1774
But it didn't seems to work on my server
Steps to Reproduce (for bugs)
Provide a link to a live example, or steps to reproduce this bug. Include code to reproduce, if relevant:
Your Environment
My OS is CentOS Linux release 8.1.1911 (Core)
The text was updated successfully, but these errors were encountered: