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
Docker stats returns "0" despite valid cgroup data. #43387
Comments
I'm seeing the same issue on dedicated hardware running Ubuntu 20.04.4
Docker Version output:
Docker Info output:
memory.stat output:
cat /proc/cgroups
|
Rolling back package versions I was able to find the culprit. For other's benefit: For future reference, I did not need to downgrade any other docker related packages. |
Fixes - docker/for-linux#1284 - containerd/containerd#6700 - moby#43387 Update to cgroups v1.0.1 which has the current proto for cgroupsv1 Need to update cilium/ebpf dependency to v0.4.0
Fixes - docker/for-linux#1284 - containerd/containerd#6700 - moby#43387 Update to cgroups v1.0.1 which has the current proto for cgroupsv1 Need to update cilium/ebpf dependency to v0.4.0 Signed-off-by: Wim <wim@42.be>
Fixes - docker/for-linux#1284 - containerd/containerd#6700 - moby/moby#43387 Update to cgroups v1.0.1 which has the current proto for cgroupsv1 Need to update cilium/ebpf dependency to v0.4.0 Signed-off-by: Wim <wim@42.be>
Fixes - docker/for-linux#1284 - containerd/containerd#6700 - moby/moby#43387 Update to cgroups v1.0.1 which has the current proto for cgroupsv1 Need to update cilium/ebpf dependency to v0.4.0 Signed-off-by: Wim <wim@42.be>
Fixes - docker/for-linux#1284 - containerd/containerd#6700 - moby/moby#43387 Update to cgroups v1.0.1 which has the current proto for cgroupsv1 Need to update cilium/ebpf dependency to v0.4.0 Signed-off-by: Wim <wim@42.be>
Fixes - docker/for-linux#1284 - containerd/containerd#6700 - moby/moby#43387 Update to cgroups v1.0.1 which has the current proto for cgroupsv1 Need to update cilium/ebpf dependency to v0.4.0 Signed-off-by: Wim <wim@42.be>
Fixes - docker/for-linux#1284 - containerd/containerd#6700 - moby/moby#43387 Update to cgroups v1.0.1 which has the current proto for cgroupsv1 Need to update cilium/ebpf dependency to v0.4.0 Signed-off-by: Wim <wim@42.be>
We are seeing the same issue however, only for a subset of containers?
We just upgraded to the latest docker:
Server is running 20.04.4 LTS OS Seems like the container stopped reporting metrics after processes within the web container were killed by oom killer. We may have found the culprit:
Is this expected? The metrics work again after the container was restarted |
Description
Docker stats on my fresh 20.04.4 installation are all reporting 0. This has been reproduced on 6 servers thus far, all reporting the same issue. I have confirmed cgroup settings, and manually edited my grub configuration based on other recommendations found, with no success. I don't have any other compute environment to test this on, but have successfully deployed this on AMD64 previously without issues. Any help would really be appreciated I am at an absolute loss.
Steps to reproduce the issue:
Describe the results you received:
All stats are 0.
Describe the results you expected:
Expected to see valid results reported
Additional information you deem important (e.g. issue happens only occasionally):
Occurs on all containers at all times.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
This is running on ESXi 7.0 on an AMD Threadripper Pro. The only customization done to the VM settings beyond VMWare's 'ubuntu 64-bit' defaults was switching from BIOS to EFI.
Grub config:
cat /proc/cgroups
Output from check-config.sh script:
And most importantly, memory.stat shows valid information:
The text was updated successfully, but these errors were encountered: