Pulse/pkg/proxmox
rcourtman 0ae2806f18 fix(memory): add guest agent /proc/meminfo fallback to avoid VM memory inflation (#1270)
Proxmox status.Mem includes page cache as "used" memory, inflating
reported VM usage. The existing fallbacks (balloon meminfo, RRD, linked
host agent) were frequently unavailable, causing most VMs to fall
through to the inflated status-mem source.

Adds a new last-resort fallback that reads /proc/meminfo via the QEMU
guest agent file-read endpoint to get accurate MemAvailable. Results
are cached (60s positive, 5min negative backoff for unsupported VMs).

Also fixes: RRD memavailable fallback missing from traditional polling
path, cache key collisions in multi-PVE setups, FreeMem underflow
guard inconsistency, and integer overflow in kB-to-bytes conversion.
2026-02-20 13:31:52 +00:00
..
ceph.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
ceph_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
client.go fix(memory): add guest agent /proc/meminfo fallback to avoid VM memory inflation (#1270) 2026-02-20 13:31:52 +00:00
client_api_more2_test.go fix(memory): correct memory reporting for Linux VMs and FreeBSD ZFS ARC 2026-02-18 12:56:53 +00:00
client_api_more3_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
client_api_more4_test.go test: improve coverage for API, AI, Alerts, and Frontend Utils 2026-01-20 15:52:39 +00:00
client_api_more_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
client_test.go test: Add Disk UnmarshalJSON RPM and error path tests 2025-12-02 02:23:44 +00:00
cluster_client.go fix(memory): add guest agent /proc/meminfo fallback to avoid VM memory inflation (#1270) 2026-02-20 13:31:52 +00:00
cluster_client_api_test.go fix(memory): correct memory reporting for Linux VMs and FreeBSD ZFS ARC 2026-02-18 12:56:53 +00:00
cluster_client_failover_test.go fix(proxmox): prevent guest agent errors from marking endpoints unhealthy 2026-02-18 12:59:20 +00:00
cluster_client_more_test.go test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00
cluster_client_test.go test: add regression tests for missing frontend fields 2026-01-02 20:45:35 +00:00
replication.go fix: Add debug logging and response format handling for replication status 2026-01-04 15:01:32 +00:00
replication_test.go fix(replication): fetch status from per-node endpoint 2025-12-31 23:58:06 +00:00
zfs.go Fix false ZFS log/cache warnings 2025-10-14 20:57:43 +00:00
zfs_details_test.go Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00
zfs_test.go Add unit tests for ZFS device conversion functions 2025-12-01 09:03:48 +00:00