CentOS 7 mirrors operation too slow.



  • Getting this timeout errors on several CentOS servers hosted on Vultr. It basically goes through the mirror list until there are no more mirrors to try and the update fails.

    kernel-tools-libs-3.10.0-1062. FAILED                                           
    http://mirror.grid.uchicago.edu/pub/linux/centos/7.7.1908/updates/x86_64/Packages/kernel-tools-libs-3.10.0-1062.7.1.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.grid.uchicago.edu/pub/linux/centos/7.7.1908/updates/x86_64/Packages/kernel-tools-libs-3.10.0-1062.7.1.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
    Trying other mirror.
    kernel-tools-3.10.0-1062.7.1.e FAILED                                          
    http://mirror.team-cymru.com/CentOS/7.7.1908/updates/x86_64/Packages/kernel-tools-3.10.0-1062.7.1.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.team-cymru.com/CentOS/7.7.1908/updates/x86_64/Packages/kernel-tools-3.10.0-1062.7.1.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
    Trying other mirror.
    kernel-3.10.0-1062.7.1.el7.x86 FAILED                                           
    http://mirror.grid.uchicago.edu/pub/linux/centos/7.7.1908/updates/x86_64/Packages/kernel-3.10.0-1062.7.1.el7.x86_64.rpm: [Errno 12] Timeout on http://mirror.grid.uchicago.edu/pub/linux/centos/7.7.1908/updates/x86_64/Packages/kernel-3.10.0-1062.7.1.el7.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
    Trying other mirror.
    
    

    Any idea why this could be happening?



  • @Romo said in CentOS 7 mirrors operation too slow.:

    Getting this timeout errors on several CentOS servers hosted on Vultr. It basically goes through the mirror list until there are no more mirrors to try and the update fails.

    Any idea why this could be happening?

    Sounds like a network issue.

    I can read those rpms just fine.



  • @Pete-S said in CentOS 7 mirrors operation too slow.:

    @Romo said in CentOS 7 mirrors operation too slow.:

    Getting this timeout errors on several CentOS servers hosted on Vultr. It basically goes through the mirror list until there are no more mirrors to try and the update fails.

    Any idea why this could be happening?

    Sounds like a network issue.

    I can read those rpms just fine.

    We agree, but we see it on different networks, which is what's so weird.



  • @Romo said in CentOS 7 mirrors operation too slow.:

    team-cymru.com

    If we do a yum clean all, it behaves better, but as soon as it attempts to download a kernel package the speed drops to zero, regardless of the mirror chosen, and can never complete the download.



  • Looks like disabling Delta RPMs (the repos don't seem to have deltas in them) and specifying a fast, local repo did the trick on the first test. We have this issue on several, going to test just removing the deltas to see if that does it on its own.

    In yum.conf just add the line deltarpm=0



  • Tested on a second host. It's the mirror detection that is the problem. You have to stop using whatever mirror discovery algorithm they are using now and just put in a known, good mirror.



  • @scottalanmiller said in CentOS 7 mirrors operation too slow.:

    Looks like disabling Delta RPMs (the repos don't seem to have deltas in them) and specifying a fast, local repo did the trick on the first test. We have this issue on several, going to test just removing the deltas to see if that does it on its own.

    In yum.conf just add the line deltarpm=0

    Do you have deltarpm package installed? I don't recall being installed by default with Minimal install.



  • @black3dynamite said in CentOS 7 mirrors operation too slow.:

    @scottalanmiller said in CentOS 7 mirrors operation too slow.:

    Looks like disabling Delta RPMs (the repos don't seem to have deltas in them) and specifying a fast, local repo did the trick on the first test. We have this issue on several, going to test just removing the deltas to see if that does it on its own.

    In yum.conf just add the line deltarpm=0

    Do you have deltarpm package installed? I don't recall being installed by default with Minimal install.

    On some we do, on some we don't. But the mirrors don't have DRPMs so it won't work either way. But it throws errors while trying to.



  • Still getting the issue it doesn't work if I choose a single mirror to download from. Super odd



  • Seems to be if we remove the mirror list, then select manually an https site, it works.



  • Yep choosing an https mirror seems to be working.


Log in to reply