rcourtman
4090d98160
fix(docker): calculate Used memory from Total-Free in Docker-in-LXC
...
When running Docker inside an LXC container, gopsutil can read the
Total memory (from cgroup limits) and Free memory correctly, but
returns 0 for Used memory. This caused the display to show "0B / 7GB"
even though memory was being used.
Added a fallback that calculates Used = Total - Free when Used is 0
but Total and Free are valid. This completes the fallback chain for
Docker-in-LXC memory reporting.
Fixes #1075
2026-01-12 14:04:38 +00:00
..
2025-11-26 23:44:36 +00:00
2025-10-20 15:13:37 +00:00
2025-11-05 19:26:20 +00:00
2025-12-01 17:33:36 +00:00
2025-10-11 23:29:47 +00:00
2025-12-01 20:15:32 +00:00
2025-11-26 23:44:36 +00:00
2025-12-01 17:33:36 +00:00
2025-11-18 09:46:48 +00:00
2025-12-12 17:51:43 +00:00
2025-12-12 18:13:17 +00:00
2025-12-01 19:40:32 +00:00
2025-10-22 15:36:26 +00:00
2025-12-29 23:37:05 +00:00
2026-01-03 19:05:18 +00:00
2025-12-02 17:21:48 +00:00
2026-01-02 00:03:23 +00:00
2026-01-01 22:29:15 +00:00
2025-12-01 01:37:28 +00:00
2025-10-20 15:13:38 +00:00
2025-10-14 16:13:53 +00:00
2025-11-12 09:47:02 +00:00
2025-12-02 17:21:48 +00:00
2025-12-01 10:53:41 +00:00
2025-10-23 08:07:32 +00:00
2026-01-01 22:29:15 +00:00
2026-01-01 22:29:15 +00:00
2026-01-01 22:29:15 +00:00
2025-11-26 23:44:36 +00:00
2025-12-23 05:10:47 +00:00
2025-10-25 16:00:37 +00:00
2025-12-02 17:21:48 +00:00
2025-12-01 21:18:33 +00:00
2025-11-27 09:16:53 +00:00
2025-12-02 17:21:48 +00:00
2025-12-12 23:24:04 +00:00
2025-12-02 17:21:48 +00:00
2025-11-27 09:19:33 +00:00
2026-01-01 22:29:15 +00:00
2025-12-12 23:24:04 +00:00
2026-01-04 10:29:40 +00:00
2025-12-02 17:21:48 +00:00
2025-11-18 22:57:20 +00:00
2026-01-03 18:36:17 +00:00
2026-01-09 21:31:49 +00:00
2026-01-04 10:29:40 +00:00
2025-10-20 15:13:38 +00:00
2025-12-17 20:16:27 +00:00
2025-11-11 23:52:24 +00:00
2026-01-04 10:29:40 +00:00
2026-01-04 10:29:40 +00:00
2026-01-04 10:29:40 +00:00
2025-11-05 19:28:37 +00:00
2025-12-02 17:21:48 +00:00
2026-01-10 15:37:45 +00:00
2026-01-08 12:06:36 +00:00
2025-11-18 14:25:09 +00:00
2026-01-04 10:29:40 +00:00
2026-01-04 10:29:40 +00:00
2025-11-18 09:46:48 +00:00
2026-01-04 10:29:40 +00:00
2025-11-06 00:16:18 +00:00
2025-12-02 17:21:48 +00:00
2026-01-05 23:34:33 +00:00
2026-01-12 14:04:38 +00:00
2025-12-02 17:21:48 +00:00
2025-11-27 00:05:04 +00:00
2025-10-11 23:29:47 +00:00
2025-12-02 17:21:48 +00:00
2025-10-11 23:29:47 +00:00
2025-11-18 21:30:04 +00:00
2025-12-02 17:21:48 +00:00
2025-12-02 14:48:57 +00:00
2025-12-01 20:44:00 +00:00
2025-12-02 14:41:53 +00:00
2025-12-01 19:04:23 +00:00
2026-01-06 17:44:52 +00:00
2026-01-06 17:44:52 +00:00
2025-12-02 12:02:13 +00:00
2025-10-25 13:12:47 +00:00
2025-12-19 17:09:57 +00:00
2025-12-02 15:21:41 +00:00