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
Can't find mounted cgroup on Debian #2251
Comments
Thanks for reporting the issue @aieeeeeeeee Could you reach out support using flare ? This would be a valuable feedback to help us troubleshooting it. Thanks |
Has anyone found a workaround for this? |
@aieeeeeeeee @gtaylor, were you able to reach out the support team using the Additionally please note that Datadog Agent 5.7.0 (released on 03/07/2016) ships many bugfixes related to the |
I'm running 5.7.0-1. I haven't had a chance to get into a conversation with support just yet. |
I'm running the agent from inside a container and have the same error. This is my docker-cloud.yml (docker-compose) file, just in case:
It worked perfectly on another host. |
I just read a bit of your source and checked my /proc/mounts file. After some reading I found this:
Referencing:
It seems like the debian we are using is missing the cgroup memory kernel option. @gtaylor @aieeeeeeeee could you check your /proc/cmdline and confirm the absence of the cgroup_enable=memory option? |
Hey, so I actually had to manually enable this on all of our Wheezy VMs. Though you might not be using Ansible, this may help get the basic idea of the steps I took to work around this issue:
For those with Ansible, these are the matching handlers:
|
For the dockercloud + debian hosts user, just added this line to /etc/default/grub
Used grub-update and rebooted the machine. |
While I understand that Debian misses the e.g. |
Getting the following error while enabling the
docker_daemon
on the agent running on my host (and not in a container)2016-02-07 03:20:06 CET | CRITICAL | dd.collector | checks.docker_daemon(docker_daemon.py:201) | Can't find mounted memory cgroups. 2016-02-07 03:20:06 CET | WARNING | dd.collector | checks.docker_daemon(__init__.py:649) | Initialization failed. Will retry at next iteration
Neither #1896 nor #1908 are fixing my problem.
Thanks in advance.
The text was updated successfully, but these errors were encountered: