This commit is contained in:
Mateusz Gruszczyński committed 2026-11-15 12:21:12 +01:00
1 parent 5e57e48c6a
commit df0e39b899
25 files changed
+319 -97

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ The mimalloc rows above were measured with 0.35.2 and a different object mix; re
### Where the memory goes
Process memory is always larger than the configured HOT cache. The HOT size already includes RustProxy's estimate of per-object bookkeeping (index, keys, headers), but not allocator rounding and fragmentation, connection and TLS buffers, the runtime, logs or GeoIP data. Enable the optional **Memory breakdown** Overview card to see the split for your workload: if the "Outside cache" trend stays flat while the cache is full, the difference is overhead or fragmentation; a steady rise points to memory that is not released. For reference, Varnish documents about 1 KiB of per-object overhead outside its storage size and notes that total use can reach about twice the configured storage.
Process memory is always larger than the configured HOT cache. The HOT size already includes RustProxy's estimate of per-object bookkeeping (index, keys, headers), but not allocator rounding and fragmentation, connection and TLS buffers, the runtime, logs or GeoIP data. Enable the optional **Memory breakdown** Overview card to see the split for your workload: if the "Outside cache" trend stays flat while the cache is full, the difference is overhead or fragmentation; a steady rise points to memory that is not released. Since 0.37.3 Docker agent polls no longer rebuild the configuration when nothing changed, which previously allocated and discarded the compiled configuration (TLS settings, certificates, routes) every few seconds and raised both CPU use and allocator fragmentation on servers with many vhosts. For reference, Varnish documents about 1 KiB of per-object overhead outside its storage size and notes that total use can reach about twice the configured storage.
## Production tuning