ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    CentOS 7 mirrors operation too slow.

    IT Discussion
    centos 7 yum
    4
    11
    6.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RomoR
      Romo
      last edited by

      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?

      1 1 Reply Last reply Reply Quote 1
      • 1
        1337 @Romo
        last edited by

        @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.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @1337
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              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

              black3dynamiteB 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • black3dynamiteB
                  black3dynamite @scottalanmiller
                  last edited by

                  @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.

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @black3dynamite
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • RomoR
                      Romo
                      last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

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

                        1 Reply Last reply Reply Quote 1
                        • RomoR
                          Romo
                          last edited by

                          Yep choosing an https mirror seems to be working.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post