On a TP-Link Archer C7 v5 running OpenWrt 24.10.2, free memory exceeded available memory by 8008 kB. The difference alone neither proves a leak nor measures the kernel reserve.
Read both fields together
Run these read-only commands over SSH on the router. Record the build and use the units in the same reading. Avoid comparing an earlier LuCI sample with a later shell value.
ubus call system board
grep -E '^(MemTotal|MemFree|MemAvailable|Cached|SReclaimable|SwapFree):' /proc/meminfo
| /proc/meminfo | Archer C7 v5 sample (kB) |
|---|---|
| MemTotal | 121164 |
| MemFree | 26776 |
| MemAvailable | 18768 |
| Cached | 31336 |
MemFree counts unused pages. MemAvailable estimates room for new work without swapping. Linux 6.6 subtracts reserved pages and credits reclaimable file pages and kernel memory with allowances for low watermarks. If the credit is smaller than the reserve, the estimate can fall below free memory. Do not add Cached again.

When to act
Sample at idle, under ordinary load and after it stops. If memory recovers and DNS and forwarding work, leave settings alone. If successive lows keep falling, look for OOM and Killed process in the system log. Match times to process IDs, resident memory and connection counts. A missing field is unknown, not zero.
If service stalls, pause the most recent optional task. Open a website from the same client and check memory again. Restore tasks individually. The killed process may be a victim. There is no need to flush caches or change watermarks to make the columns agree.
Comments