cgroup2: podman stats is wrong #4409
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman stats
does not report CPU usage properlySteps to reproduce the issue:
podman run -it --rm --cpus 1.0 --runtime=/usr/local/bin/crun alpine sh -c "apk add --no-cache stress-ng && stress-ng -c 0
podman stats
Describe the results you received:
CPU %
won't reach more than 10%Describe the results you expected:
Should be about 100%.
systemd-cgtop
can report it properly.Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:The text was updated successfully, but these errors were encountered: