Bug#507794: apt-cacher: Rate limit is per-connection, not overall
On Thu, Dec 04, 2008 at 02:00:22PM +, Tom Wright wrote: Package: apt-cacher Version: 1.6.4 Severity: normal *** Please type your report below this line *** The rate limit specified in apt-cacher.conf seems to apply individually to each package downloaded so if, for example, one computer is downloading packages from more than one source, or several computers are downloading packages simultaneously, it is possible to go several times over the specified rate limit. Can this limit be shared between all concurrent uncached downloads? Thanks for this. You are correct, the download limit is per connection, not overall. I cannot immediately think of a way of doing rate limiting overall, although I will give it some more consideration. My initial thought is that you should look at wondershaper or shaper which can prevent your link from being saturated by any particular process. Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#507794: apt-cacher: Rate limit is per-connection, not overall
Package: apt-cacher Version: 1.6.4 Severity: normal *** Please type your report below this line *** The rate limit specified in apt-cacher.conf seems to apply individually to each package downloaded so if, for example, one computer is downloading packages from more than one source, or several computers are downloading packages simultaneously, it is possible to go several times over the specified rate limit. Can this limit be shared between all concurrent uncached downloads? By way of example, I've specified a rate limit of 50k/s to prevent apt-cacher from saturating my 80k/s connection, but if a computer is downloading packages from both ftp.debian.org and www.debian-multimedia.org, the line is saturated as neither download hits the 50k/s limit. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26.080917.1 (SMP w/2 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Shell: /bin/sh linked to /bin/bash Versions of packages apt-cacher depends on: ii bzip2 1.0.5-1high-quality block-sorting file co ii ed0.7-2 The classic unix line editor ii libdigest-sha1-perl 2.11-2+b1 NIST SHA-1 message digest algorith ii libwww-curl-perl 4.05-1 Perl bindings to libcurl ii libwww-perl 5.813-1WWW client/server library for Perl ii perl 5.10.0-16 Larry Wall's Practical Extraction Versions of packages apt-cacher recommends: ii libberkeleydb-perl0.34-1+b1 use Berkeley DB 4 databases from P Versions of packages apt-cacher suggests: pn libio-socket-inet6-perl none (no description available) -- no debconf information signature.asc Description: This is a digitally signed message part.