Podman stats does not show memory limits set per container (aarch64) #8265
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
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
Wanted to limit the memory used by a container, however the memory limit it is not visualized in the stats command.
Podman is running on a F33 on a raspberry pi3 (aarch64)
Steps to reproduce the issue:
# podman run -d --rm --memory=64m busybox sleep 1000000000000000 ff622b233d98cc083529ba01e9f937e9483eebfc1ad52ffef35cbecde4b1ee93
# podman stats ID NAME CPU % MEM USAGE / LIMIT MEM % NET IO BLOCK IO PIDS 7ccb9e39ee32 home-assistant 7.91% 219.3MB / 981.1MB 22.35% -- / -- 276.8MB / 39.99MB 92 ff622b233d98 angry_edison -- 1.069MB / 981.1MB 0.11% 628B / 1.646kB 757.8kB / 0B 1
Describe the results you received:
Podman stats shows the limit of the container to be the total amount of memory of the rpi3.
Describe the results you expected:
I would expect to see the limit set explicitly for the container. Basically, the same it shows in my laptop (Fedora x86_64)
Additional information you deem important (e.g. issue happens only occasionally):
This issue seems to show only in my ARM server.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
physical ARM arch. Same behaviour in FC32 aarch
The text was updated successfully, but these errors were encountered: