Skip to content
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

Memory graph always at 0 under raspberry pi #2044

Closed
Enissay opened this issue Feb 12, 2023 · 3 comments
Closed

Memory graph always at 0 under raspberry pi #2044

Enissay opened this issue Feb 12, 2023 · 3 comments
Assignees

Comments

@Enissay
Copy link

Enissay commented Feb 12, 2023

Describe the bug
I am running an instance of Dozzle on RPI 4B, Debian 11 x64. While the CPU graph shows some usage, the MEM is always nul

Expected behavior
Clearly the MEM graph is not properly working

Screenshots
image

Desktop (please complete the following information):

  • OS: Debian 11 x64
  • Docker version: 20.10.22
  • Browser & version: Chrome, Version 110.0.5481.77 (Official Build) (64-bit)
  • Version: Dozzle 4.7.4
@Enissay
Copy link
Author

Enissay commented Feb 12, 2023

I went and investigated the reasons and it seems to be an issue with docker on arm64: docker/for-linux#1112

Which is confirmed when testing on my RPI4:

$ docker stats CONTAINER_ID
CONTAINER ID   NAME                                       CPU %     MEM USAGE / LIMIT   MEM %     NET I/O        BLOCK I/O    PIDS
2daa465456f1   blah_app.1.wsel6v0x                        0.01%     0B / 0B             0.00%     274kB / 44kB   120MB / 0B   33

I simply fixed it by adding cgroup_memory=1 cgroup_enable=memory to the end of line in /boot/cmdline.txt followed by a reboot... If anyone had issues still, please refer to the link for more details...

@Enissay Enissay closed this as completed Feb 12, 2023
@Enissay
Copy link
Author

Enissay commented Feb 12, 2023

Okay, I just found out it is a duplicate of #1965... Grrrr...

@amir20
Copy link
Owner

amir20 commented Feb 12, 2023

Yep. It is also in the README at the bottom in the FAQ section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants