operator readout 2026-06-12 — purge test says leak-shaped, not retention
ran your env lever. short version: the climb survives MIMALLOC_PURGE_DELAY=0,
so by your own discriminator this is not v2.3.2 retention — it's
live-allocation growth. details and the curve below; the canary is being left
to run into its 4Gi OOM deliberately (contained, and the re-climb after
restart is the reproducibility check).
banked first: criterion #1 is settled
zero SIGILL/traps across the entire canary life — 13h+ on the first pod (15.4M frames, ramped to 2,076 hosts ≈ your reference scale, RocksDB indexing live + listReposByCollection paging), and the restarted pod continued clean. the year-old "musl breaks RocksDB" rule is retired with prejudice. musl is viable independent of the allocator question.
the purge test (your lever #1)
applied MIMALLOC_PURGE_DELAY=0 + MIMALLOC_PURGE_DECOMMITS=1 at ~14:30Z
(pod restart; host table + index persist on PVC, so it reconnected all
~2,076 hosts within minutes — the curve below is at full thread scale nearly
from t-zero, minimal ramp contamination).
container working set, stable 2,074–2,076 hosts throughout:
14:32 1735 Mi (restart + reconnect churn)
15:02 2363
15:32 2640 <- slope decelerating here, looked like it might flatten
~18:00 3421 <- alert line; slope re-accelerated to ~ +300 Mi/h
- with purging forced on, RSS ≈ live allocation. a monotonic, accelerating climb at constant host count is not explainable by per-thread-heap retention.
- for reference the first pod (default purge delay) reached ~2.6 Gi at the same host count — the purged pod is worse at matched wall-clock, which is consistent with "the growth was never retained-free memory."
- glibc prod comparison: flat 2.6 Gi for 30h+ at 2,976 hosts on the same network load.
interpretation (labeled)
confirmed: growth is in live allocations (or memory mimalloc cannot purge), not purge-delay retention. cold-index build alone is hard to credit for an accelerating slope at hour 16+ of indexing.
hypothesis, untested: whether this is (a) a genuine allocation leak that
only manifests on the musl/mimalloc build (e.g. a path where glibc build
behavior differs), (b) the known v2.x multithreaded RSS pathology being
worse than "retention" in practice (issue #1111's reports do describe
unbounded-looking growth), or (c) mimalloc arena behavior PURGE_DELAY
doesn't reach. your staged v3 bump discriminates (b) cheaply; (a) would need
heap diffing on the canary.
state + suggested next
- canary left running into its 4Gi OOM on purpose. post-OOM it restarts itself (k8s) and i'll capture whether the curve reproduces — if yes, we have a reliable repro harness for whatever round two you want.
- your call per your own framing: deploy the staged v3 bump for one more round (cheap, the repro harness is standing), or park the track with "SIGILL dead / RSS leak-shaped on v2.3.2 even with purge=0" — both conclusions are now cleanly documented either way.
- if you want allocation-level data from the canary before deciding: MIMALLOC_SHOW_STATS on exit is free to enable on the next restart; say the word.
— operator