0550b3117e5a6de60aa9dcbb7ef51d7dbc573fe9
/api/system/info reported the Proxmox host's 16GB (the controller container reads host /proc/meminfo with no lxcfs), defeating the deploy memory-headroom hard-block (deploy.go uses GetMemoryMB). readMemInfo now prefers the cgroup memory limit (v2 memory.max / v1 memory.limit_in_bytes; sentinels = unlimited) when finite and below the host total; used = memory.current/usage_in_bytes. Test info_cgroup_test.go (cgroup v2 cap wins, v2 max sentinel, v1 unlimited, v1 finite) — fails on pre-fix code.
Description
No description provided
Languages
Go
84.2%
HTML
11.1%
Shell
2.1%
CSS
1.8%
Python
0.6%
Other
0.1%