On 03/03/2010 08:53 AM, David C. Rankin wrote:
Marcus, et. al.
We have another trickling update using the download.opensuse.org redirector system. I've looked in y2log, but don't know what I'm reading. It looks like the server is one of these. (if this actually tells you anything)
2010-03-03 01:49:15 <1> alchemy(10373) [zypp] RpmDb.cc(doInstallPackage):1974 RpmDb::installPackage(/var/cache/zypp/packages/gnome1/x86_64/imlib-32bit-1.9.14-408.1.x86_64.rpm,12) cut useless lines 2010-03-03 01:49:17 <1> alchemy(10373) [zypp] PackageProvider.cc(providePackage):95 provide Package (82788)imlib-1.9.14-408.1.x86_64(gnome1) 2010-03-03 01:49:17 <1> alchemy(10373) [YCP] SlideShow.ycp:739 Package 'imlib' is remote 2010-03-03 01:49:17 <1> alchemy(10373) [zypp] RepoProvideFile.cc(provideFile):204 [1]./x86_64/imlib-1.9.14-408.1.x86_64.rpm{133.0 K|sha1-a41ce39b6377dbf428994a7e911f4e4187d2b03d} 2010-03-03 01:49:17 <1> alchemy(10373) [zypp] RepoProvideFile.cc(provideFile):229 Added cache path /var/cache/zypp/packages/gnome1
If this isn't the right info to identify to slow server, tell me what you need to see and I'll get it for you.
Well, it isn't. The log is cut at the point where the download just starts and does not show where it ends. And it all happens in the very same second. Maybe you could do $ time curl --max-redirs 0 <urlofsomerpm> ------------------------------------------------------------------- $ time curl --max-redirs 0 http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/PackageKit... <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://ftp.linux.cz/pub/linux/opensuse/distribution/11.2/repo/oss/suse/i586/PackageKit-0.5.1-3.7.i586.rpm">here</a>.</p> <hr> <address>Apache/2.2.14 (Linux/SUSE) Server at download.opensuse.org Port 80</address> </body></html> real 0m0.155s user 0m0.004s sys 0m0.000s ------------------------------------------------------------------- second try ------------------------------------------------------------------- $ time curl --max-redirs 0 http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/PackageKit... ... real 0m4.282s user 0m0.008s sys 0m0.008s ------------------------------------------------------------------- Hmm. that was pretty slow. Let's try verbose output: ------------------------------------------------------------------- $ time curl -v --max-redirs 0 http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/PackageKit... * About to connect() to download.opensuse.org port 80 (#0) * Trying 195.135.221.130... connected * Connected to download.opensuse.org (195.135.221.130) port 80 (#0)
GET /distribution/11.2/repo/oss/suse/i586/PackageKit-0.5.1-3.7.i586.rpm HTTP/1.1 User-Agent: curl/7.19.6 (x86_64-unknown-linux-gnu) libcurl/7.19.6 OpenSSL/0.9.8k zlib/1.2.3 libidn/1.10 Host: download.opensuse.org
Accept: */*
< HTTP/1.1 302 Found < Date: Thu, 04 Mar 2010 07:30:06 GMT < Server: Apache/2.2.14 (Linux/SUSE) < X-Prefix: 195.47.0.0/17 < X-AS: 2819 < X-MirrorBrain-Mirror: ftp.linux.cz < X-MirrorBrain-Realm: country < Location: http://ftp.linux.cz/pub/linux/opensuse/distribution/11.2/repo/oss/suse/i586/... < Content-Length: 380 < Content-Type: text/html; charset=iso-8859-1 < <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="http://ftp.linux.cz/pub/linux/opensuse/distribution/11.2/repo/oss/suse/i586/PackageKit-0.5.1-3.7.i586.rpm">here</a>.</p> <hr> <address>Apache/2.2.14 (Linux/SUSE) Server at download.opensuse.org Port 80</address> </body></html> * Connection #0 to host download.opensuse.org left intact * Closing connection #0 real 0m0.482s user 0m0.008s sys 0m0.004s ------------------------------------------------------------------- Looks like these 0m0.482s really was waiting for the response from the redirector. Most of the time the response is quick, but some requests get as much as few seconds response time (like in the second example). It might be worth to check this also with aria2c. -- cheers, jano Ján Kupec YaST team ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz ---------------------------------------------------------(EOF)---