#789068 apt-cacher-ng: add option to limit bandwidth

Package:
apt-cacher-ng
Source:
apt-cacher-ng
Description:
caching proxy server for software repositories
Submitter:
Sandro Tosi
Date:
2015-06-17 17:12:04 UTC
Severity:
wishlist
#789068#5
Date:
2015-06-17 14:03:56 UTC
From:
To:
Hello,
while it is true the purpose of acng is to maximize the bandwidth usage caching
data locally, it is also unwise to completely saturate the up/downlink (which
might impact other systems on the same network).

Could you please add an option to limit the bandwith usage (much like
limit/limit_global of apt-cacher)? eventually having 2 options, one to limit the
bw of packages getting downloaded (to be store in the cache) and another to
limit the bw of packages served from the cache

Thanks,
Sandro

#789068#10
Date:
2015-06-17 16:26:05 UTC
From:
To:
Hallo,
* Sandro Tosi [Wed, Jun 17 2015, 10:03:56AM]:

$ grep limit /etc/apt-cacher-ng/acng.conf
...
# It's possible to limit the processing speed of download agents to set an
# overall download speed limit. Unit: KiB/s, Default: unlimited.

The second part is new, I need to think about that.

Regards,
Eduard.

#789068#15
Date:
2015-06-17 17:09:06 UTC
From:
To:
Hello Eduard,

I remembered I saw something like that, and I did the same grep that
you did, but on a wheezy system (0.7.27-1~bpo70+1) and that feature is
not available there.

awesome, thanks!