acngtool shrink is insufficient to maintain acng cache size
In build-tails
we call acngtool shrink 10G
before each build to
prevent the cache from running out of disk space. From what I can tell
it doesn’t clean APT indices correctly, e.g. in my
/var/cache/apt-cacher-ng/time-based.snapshots.deb.tails.boum.org/debian
I have snapshots dating back to January 2017. Each such snapshot takes
30-120 MB (especially the old ones with multiarch are large) so it adds
up, for me to 8 GBs. :S
Either we need to improve acngtool
(for everyone’s benefit) or we
manually find snapshots older than six months (or whatever) and purge
them from acng’s cache.
Feature Branch: bugfix/16020-fix-cache-shrinking
Related issues
- Blocks #16209
Original created by @anonym on 16020 (Redmine)