docs(buildkit): record the snapshots that keep filling the cache claim #736
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/buildkit-minfreespace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The 2026-09-10 worker replacement copied this cache to a surviving worker and
left its transfer snapshots behind. On 2026-09-14 the dataset read:
Two snapshots,
@arm-20260911-baseand@arm-20260911-final, held 77 percentof a 100G quota carrying 11.6G of live cache.
This is the second time, not the first
The note already in this file about a filesystem with "only 57.9GB and no free
space" on 2026-09-12 is this same dataset, already losing room to these same
snapshots. GC was retuned to cope. The snapshots were never found, so it came
back two days later — this time with
availablebelow the floor, and seanfarmbuilds failing in
gitops-select.The guard was right and I was wrong
My first draft lowered
minFreeSpaceto 6GB to make the numbers fit.tests/binjovi-buildkit.shrefused it:That 12GB floor is pinned so a full cache cannot fill the shared pool — the
failure that cost 35 hours on 2026-08-09. No GC setting changes in this PR.
What the comment now carries
availableunder the floor means the space went somewhere buildkitd cannotreach; GC cannot win it back. Check
zfs get used,referenced,usedbysnapshotsfirst.
minFreeSpaceto make it fit.manages its own (1029 of them, all 0B), the OpenEBS
ZFSSnapshotCRD has zeroinstances, and no cron or script here creates or reaps any. A snapshot taken
by hand lives until a human destroys it.
maxUsedSpacein the older comment said 80GB. It is 24GB.Documentation only. The reclaim itself is
zfs destroyon the two snapshots,done out of band.
bash tests/check.shexits 0.https://claude.ai/code/session_01GfkEuwuvGSqGyXVuxwT7PA
f6ae9c2ec646f10788d6