On 04/12/2018 22:12, Eduard Bloch wrote:
> Hallo,
> * OmegaPhil [Mon, Dec 03 2018, 04:28:36PM]:
>> Package: apt-cacher-ng
>> Version: 2-2
>> Severity: wishlist
>>
>> Please can apt-cacher-ng implement an optional size cap on the caching
>> directory, so that I can (for example) guarantee it will never go above
>> 100GB.
> 
> Oh, "guarantee" is such a strong word. If you wish guarantees, please
> configure your filesystem with hard quotas (you can set the filter on
> the user name "apt-cacher-ng"). And you can have this today.
> 
> In future, I might add this as an application feature but only if this
> is not likely to add lots of complexity (to implement and at runtime).
> 
> Best regards,
> Eduard.


Guarantee as in a few megs over limit is irrelevant, but the piece of
mind that apt-cacher-ng will only use the rough amount specified,
without having to set up a dedicated partition etc.

Hmm, with hard quotas (not something I've investigated into yet), would
apt-cacher-ng understand to start removing old packages when it hits the
quota limit? (If not, presumably it would prevent caching anything new,
which would probably defeat the purpose of the cacher for my usage).



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to