On Wed, Oct 15, 2008 at 09:22:11PM +0200, Guntsche Michael wrote:
> Hi,
>
> I seem to have a similar problem. In my case apt-get update works rather 
> fast. If I then download a package via apt-get install I get a download 
> rate of 167K if I got directly to the same server (removing the proxy 
> entries in sources.list) I get around 560K of download. This started 
> recently so I it might be the upgrade of another package that cause this 
> problem. is there a way to just test the package download part of 
> apt-cacher?

Thanks.

I am afraid I can't reproduce this behaviour (admittedly I have the
apt-cacher version 1.6.6 which is still to be uploaded. If you want to
try it and see if it is any better you can get it from
http://www.hindley.org.uk/~mark/debian). I assume you have found this
with 1.6.4?

You can use wget/curl to download files directly through the cache:


--22:46:30--  
http://localhost:3142/debian/pool/main/t/tcpdump/tcpdump_3.9.8-4_i386.deb
           => `/dev/null'
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:3142... connected.
HTTP request sent, awaiting response... 200 (OK) OK
Length: 305,698 (299K) [application/x-debian-package]

    0K .......... .......... .......... .......... .......... 16%  139.37 MB/s
   50K .......... .......... .......... .......... .......... 33%   49.89 KB/s
  100K .......... .......... .......... .......... .......... 50%  202.52 MB/s
  150K .......... .......... .......... .......... .......... 66%   49.89 KB/s
  200K .......... .......... .......... .......... .......... 83%  288.41 MB/s
  250K .......... .......... .......... .......... ........  100%   48.26 KB/s

22:46:35 (99.16 KB/s) - `/dev/null' saved [305698/305698]

--22:47:21--  
http://ftp.uk.debian.org/debian/pool/main/t/tcpdump/tcpdump_3.9.8-4_i386.deb
           => `/dev/null'
Resolving ftp.uk.debian.org... 83.142.228.128
Connecting to ftp.uk.debian.org|83.142.228.128|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 305,698 (299K) [application/x-debian-package]

    0K .......... .......... .......... .......... .......... 16%   79.95 KB/s
   50K .......... .......... .......... .......... .......... 33%   85.33 KB/s
  100K .......... .......... .......... .......... .......... 50%   84.50 KB/s
  150K .......... .......... .......... .......... .......... 66%  109.17 KB/s
  200K .......... .......... .......... .......... .......... 83%  106.08 KB/s
  250K .......... .......... .......... .......... ........  100%  118.30 KB/s

22:47:25 (94.99 KB/s) - `/dev/null' saved [305698/305698]


The limit for my ADSL is about 125KB/s, so I am not that far off. Maybe
it is only seen at higher speeds.

I really need some debug info when this behaviours is seen. Could you set
debug=1 in the config file. Restart the daemon and then fetch a single
file through the cache. Send me the info in
/var/log/apt-cacher/error.log

Thanks,

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to