-
Notifications
You must be signed in to change notification settings - Fork 18.6k
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
/proc/self/cgroup
does not contain relative paths in docker container
#34584
Labels
Comments
mook-as
added a commit
to mook-as/guardian
that referenced
this issue
Feb 28, 2018
This is, basically, a workaround for moby/moby#34584 When creating cgroup directories, check that our cgroup mountpoint isn't itself a child cgroup; if it is, adjust the paths accordingly so that the paths (relative to the top cgroup) is correct. Otherwise we end up with cgroups that have duplicate sections in the path.
mook-as
added a commit
to mook-as/guardian
that referenced
this issue
Feb 28, 2018
This is, basically, a workaround for moby/moby#34584 When creating cgroup directories, check that our cgroup mountpoint isn't itself a child cgroup; if it is, adjust the paths accordingly so that the paths (relative to the top cgroup) is correct. Otherwise we end up with cgroups that have duplicate sections in the path.
mook-as
added a commit
to mook-as/guardian
that referenced
this issue
Mar 2, 2018
This is, basically, a workaround for moby/moby#34584 When creating cgroup directories, check that our cgroup mountpoint isn't itself a child cgroup; if it is, adjust the paths accordingly so that the paths (relative to the top cgroup) is correct. Otherwise we end up with cgroups that have duplicate sections in the path.
mook-as
added a commit
to SUSE/scf
that referenced
this issue
Apr 23, 2018
Set up hostpath mounts to /sys/fs/cgroups on diego-cell so that garden can correctly create cgroups at the global level (because docker doesn't isolate things correctly). This fixes issues with memory accounting in the Kubernetes dashboard. See: - #1345 - cloudfoundry/guardian#110 - moby/moby#34584
mook-as
added a commit
to SUSE/scf
that referenced
this issue
Apr 27, 2018
Set up hostpath mounts to /sys/fs/cgroups on diego-cell so that garden can correctly create cgroups at the global level (because docker doesn't isolate things correctly). This fixes issues with memory accounting in the Kubernetes dashboard. See: - #1345 - cloudfoundry/guardian#110 - moby/moby#34584
jhnwkmn
added a commit
to mariadb-corporation/MaxScale
that referenced
this issue
Sep 20, 2022
/proc/self/cgroup does not contain relative paths in docker container moby/moby#34584
jhnwkmn
added a commit
to mariadb-corporation/MaxScale
that referenced
this issue
Sep 22, 2022
/proc/self/cgroup does not contain relative paths in docker container moby/moby#34584
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
/proc/self/cgroup
does not contain relative paths in docker container.man cgroups
describes this file should contain relative paths:And so does
man cgroup_namespaces
:Steps to reproduce the issue:
For example, in a docker container
The path in the cgroup file is not a relative path but it matches the mount root. The limits are not found at that path under the mount point, but directly under the mount point:
Expected behavior:
/proc/self/cgroup
to behave as described in the man pages.Or document the difference in the docker docs.
The text was updated successfully, but these errors were encountered: