Pulse/pkg
rcourtman efa916ee2a fix(memory): correct memory reporting for Linux VMs and FreeBSD ZFS ARC
Linux VM page cache (#1270): QEMU VM memory now falls back to Proxmox
RRD's memavailable metric (which excludes reclaimable page cache) when
the qemu-guest-agent doesn't provide MemInfo.Available. Previously the
fallback was detailedStatus.Mem (total - MemFree), inflating usage to
80%+ on VMs with normal Linux page cache. Mirrors the existing LXC
rrd-memavailable path.

FreeBSD ZFS ARC (#1264, #1051): The host agent now reads
kstat.zfs.misc.arcstats.size via SysctlRaw on FreeBSD and subtracts
the ARC size from reported memory usage. ZFS ARC is reclaimable under
memory pressure (like Linux SReclaimable) but gopsutil counts it as
wired/non-reclaimable, causing false 90%+ memory alerts on TrueNAS
and FreeBSD hosts. Build-tagged so it compiles cleanly on all platforms.

Fixes #1270
Fixes #1264
Fixes #1051

(cherry picked from commit 94502f83ff9ffc6da28aaadc946a2f7d8b4e9bac)
2026-02-18 12:56:53 +00:00
..
agents fix(docker,metrics): preserve container metadata on update and reduce DB writes 2026-02-18 12:56:46 +00:00
audit fix: harden SQLite against I/O contention causing persistent lock errors 2026-02-02 17:29:14 +00:00
auth security: add scope checks to AI Patrol and agent profile endpoints 2026-02-03 19:29:56 +00:00
discovery test: expand backend coverage 2026-01-25 21:08:44 +00:00
fsfilters fix: disk-exclude now works with device paths and disk I/O 2026-01-21 19:03:05 +00:00
metrics fix(docker,metrics): preserve container metadata on update and reduce DB writes 2026-02-18 12:56:46 +00:00
pbs test(monitoring): fix failing snapshot tests and improve coverage 2026-01-04 10:29:40 +00:00
pmg style: Apply gofmt to 37 files 2025-12-02 17:21:48 +00:00
proxmox fix(memory): correct memory reporting for Linux VMs and FreeBSD ZFS ARC 2026-02-18 12:56:53 +00:00
reporting Fix stale metrics store reference in reporting engine after monitor reload 2026-02-04 12:34:40 +00:00
server Fix stale metrics store reference in reporting engine after monitor reload 2026-02-04 12:34:40 +00:00
tlsutil test: Add comprehensive test coverage across packages 2026-01-19 19:26:18 +00:00