-
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
cAdvisor does not return memory data on Debian #432
Comments
Thanks @cwahl-Treeptik! We've known about the issue but we should document it better. Let me add a pointer to these instructions to the docs. |
vmarmol
added a commit
to vmarmol/cadvisor
that referenced
this issue
Jan 12, 2015
kateknister
pushed a commit
to kateknister/cadvisor-1
that referenced
this issue
Jan 23, 2015
Note that the memory controller is enabled by default in Debian 9 (stretch):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have had some troubles making cAdvisor work on Debian, especially returning data on the memory, and I wanted to share the solution! The use case is a Docker based PaaS dedicated to Java/JEE applications.
By default, the Cgroup memory controller is in the state missing on Debian, so cAdvisor does not collect the relevant data.
The solution simply consists in adding the line:
GRUB_CMDLINE_LINUX="cgroup_enable=memory"
to the file
/etc/default/grub
. Then, one has to run:sudo update-grub2
and reboot.A more detailed article is available on our blog.
The text was updated successfully, but these errors were encountered: