[Yum] Strange timeout issue...

Cris Rhea crhea at mayo.edu
Fri Aug 17 14:17:15 UTC 2012


On Thu, Aug 16, 2012 at 05:54:46PM -0400, Seth Vidal wrote:
> 
> 
> 
> On Thu, 16 Aug 2012, Cris Rhea wrote:
> 
> >
> >
> >But, wget or curl succeeds:
> >
> ># wget ftp://clustersw-212.mayo.edu/CentOS/6/os/x86_64/repodata/repomd.xml
> 
> Hi,
> 
> 
> 1. try using urlgrabber from the prompt - since that's what yum uses to 
> download.
> 
> 2. pretty please, stop using ftp.
> 
> 3. if it works for the others but not for urlgrabber then that will help 
> explain what's going on.
> 
> 
> -sv
> 
> ps: pretty, pretty please, stop using ftp? With ice cream on top?


As you suspected, urlgrabber has horrid performance compared to wget.

What's the next step?

--- Cris

PS: Don't want to go off-topic for this list, but why the comments on ftp?



# time urlgrabber ftp://clustersw-212.mayo.edu/CentOS/6/os/x86_64/repodata/repomd.xml

real    1m3.118s
user    0m0.060s
sys     0m0.024s


# time wget ftp://clustersw-212.mayo.edu/CentOS/6/os/x86_64/repodata/repomd.xml
--2012-08-17 09:12:40--  ftp://clustersw-212.mayo.edu/CentOS/6/os/x86_64/repodata/repomd.xml
           => `repomd.xml'
Resolving clustersw-212.mayo.edu... 129.176.212.87
Connecting to clustersw-212.mayo.edu|129.176.212.87|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /CentOS/6/os/x86_64/repodata ... done.
==> SIZE repomd.xml ... 3824
==> PASV ... done.    ==> RETR repomd.xml ... done.
Length: 3824 (3.7K) (unauthoritative)

100%[======================================>] 3,824       --.-K/s   in 0.001s  

2012-08-17 09:12:40 (5.36 MB/s) - `repomd.xml' saved [3824]


real    0m0.027s
user    0m0.003s
sys     0m0.005s





More information about the Yum mailing list