mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-05 19:17:36 -06:00
Server reporting wrong RAM for host vs container, when installed in a Proxmox VM #492
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @supermarkert on GitHub (Jul 30, 2025).
I've created a Debian VM (in Proxmox), with 2 CPU and 8 GB RAM.
I've installed Docker, and installed the Periphery agent - systemd, and added it to my Komodo install.
Komodo is reporting that the System host has only 1.73 GB memory, but is correctly showing the Container usage as percentage of 8 GB.
@supermarkert commented on GitHub (Jul 30, 2025):
Not sure what changed, but I needed to make several adjustments/restores of this install, and when starting over (mostly from scratch), the issue is no longer present. Weird. No further logs are available.
@supermarkert commented on GitHub (Jul 31, 2025):
Well, after several reboots of the host (and adjustments of RAM up to 12 GB), the problem has returned. So it seems to be a recurring problem. Komodo thinks the Host system only has 3.6 GB of Memory, but properly identifies the container as it's usage of 12 GB. The bigger issue is that this affects Memory alerts, because Komodo warns me if the RAM usage is over % of the 3.6 GB, and not the real 12 GB.
I'm vaguely aware of how memory Ballooning works with VMs, but the ultimate question is, where does Komodo get the ~12 GB number from that's used for the Container allocation? Because that's the correct (maximum) RAM allocated to the VM.
@mbecker20 commented on GitHub (Aug 30, 2025):
Komodo gets all system stats using the sysinfo rust crate