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