From: Martijn B. <e.a...@tn...> - 2004-05-05 12:53:45
|
Chris Halls wrote: >Hi Martijn, >On Tue, 2004-05-04 at 00:16, Martijn Brouwer wrote: > > >>I am running apt-proxy (the old version) on an old computer with debian >>woody. I noticed that dd consumes all cpu, which makes total performance >>poor (throughput of 20kb/s instead of 75kb/s). This is due to the ibs=1 >>option. >> >> > >Oh, that's not good :( > >What happens if you try increasing the ibs and obs sizes to the length >of the message? I don't know if this might work: > > I tried the your suggestion, and when I ran apt-get update I got this output: Get:2 http://server sarge/main Packages 99% [2 Packages gzip 0] [Connecting to server (192.168.0.1)] 66.1kB/s 0s gzip: stdin: invalid compressed data--format violated Err http://server sarge/main Packages Sub-process gzip returned an error code (1) Get:3 http://server sarge/main Release [81B] Err http://server sarge/non-free Packages 0 OK Get:4 http://server sarge/non-free Release [85B] Err http://server sarge/contrib Packages 0 OK Get:5 http://server sarge/contrib Release Fetched 3579kB in 1m29s (39.9kB/s) Failed to fetch http://server:9999/debian/dists/sarge/main/binary-i386/Packages.gz Sub-process gzip returned an error code (1) Failed to fetch http://server:9999/debian/dists/sarge/non-free/binary-i386/Packages.gz 0 OK Failed to fetch http://server:9999/debian/dists/sarge/contrib/binary-i386/Packages.gz 0 OK Reading Package Lists... Done W: Couldn't stat source package list http://server sarge/main Packages (/var/lib/apt/lists/server:9999_debian_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://server sarge/main Packages (/var/lib/apt/lists/server:9999_debian_dists_sarge_main_binary-i386_Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used instead. But it was much faster :) Do you have another suggestion? About the python version: I do not want to mess up my server, so for the time being I will not swith to apt-proxy v2. Hopefully, sarge will be stable soon... Thanks for your help Martijn |