Hi,
We are installing CentOS on various servers, however we only receive Chinese mirrors with seriously low bandwidth (actually download hangs after a few MB) while we are located in Japan.
# curl 'http://mirrorlist.centos.org/?release=6.5&arch=x86_64&repo=os' http://mirrors.hustunique.com/centos/6.5/os/x86_64/ http://mirrors.hust.edu.cn/centos/6.5/os/x86_64/ http://mirrors.aliyun.com/centos/6.5/os/x86_64/ http://mirrors.yun-idc.com/centos/6.5/os/x86_64/ http://mirrors.btte.net/centos/6.5/os/x86_64/ http://centos.ustc.edu.cn/centos/6.5/os/x86_64/ http://mirrors.skyshe.cn/centos/6.5/os/x86_64/ http://mirrors.stuhome.net/centos/6.5/os/x86_64/ http://ftp.stust.edu.tw/pub/Linux/CentOS/6.5/os/x86_64/ http://ftp.tc.edu.tw/Linux/CentOS/6.5/os/x86_64
We are doing queries from IP range 118.27.0.0/16. Sometimes we get some Japanese mirrors in the list (and those are really fast), but sometimes there is not even a single one.
For information China usually has very bad bandwidth to other countries (the case for many Asian countries actually), as such Chinese mirrors are not suitable for hosts located in Japan (and the other way around).
Anyway I'm not sure how mirrorlist.centos.org works, but anyway I hope this issue can be solved one way or another.
Thanks, Mark
On 17/07/14 10:28, Mark Karpeles wrote:
Hi,
We are installing CentOS on various servers, however we only receive Chinese mirrors with seriously low bandwidth (actually download hangs after a few MB) while we are located in Japan.
# curl 'http://mirrorlist.centos.org/?release=6.5&arch=x86_64&repo=os' http://mirrors.hustunique.com/centos/6.5/os/x86_64/ http://mirrors.hust.edu.cn/centos/6.5/os/x86_64/ http://mirrors.aliyun.com/centos/6.5/os/x86_64/ http://mirrors.yun-idc.com/centos/6.5/os/x86_64/ http://mirrors.btte.net/centos/6.5/os/x86_64/ http://centos.ustc.edu.cn/centos/6.5/os/x86_64/ http://mirrors.skyshe.cn/centos/6.5/os/x86_64/ http://mirrors.stuhome.net/centos/6.5/os/x86_64/ http://ftp.stust.edu.tw/pub/Linux/CentOS/6.5/os/x86_64/ http://ftp.tc.edu.tw/Linux/CentOS/6.5/os/x86_64
Well, I just checked here : http://mirrorlist.centos.org/?release=6.5&arch=x86_64&repo=os&cc... and the list : http://ftp.nara.wide.ad.jp/pub/Linux/centos/6.5/os/x86_64/ http://ftp.tsukuba.wide.ad.jp/Linux/centos/6.5/os/x86_64/ http://www.ftp.ne.jp/Linux/packages/CentOS/6.5/os/x86_64/ http://ftp.jaist.ac.jp/pub/Linux/CentOS/6.5/os/x86_64/ http://ftp.iij.ad.jp/pub/linux/centos/6.5/os/x86_64/ http://mirror.fairway.ne.jp/centos/6.5/os/x86_64/ http://ftp.riken.jp/Linux/centos/6.5/os/x86_64/ http://centos.mirror.secureax.com/6.5/os/x86_64/ http://mirrors.aliyun.com/centos/6.5/os/x86_64/ http://mirrors.stuhome.net/centos/6.5/os/x86_64/
We are doing queries from IP range 118.27.0.0/16. Sometimes we get some Japanese mirrors in the list (and those are really fast), but sometimes there is not even a single one.
For information China usually has very bad bandwidth to other countries (the case for many Asian countries actually), as such Chinese mirrors are not suitable for hosts located in Japan (and the other way around).
Anyway I'm not sure how mirrorlist.centos.org works, but anyway I hope this issue can be solved one way or another.
The mirrorlist process checks the incoming IP and queries the GeoIP.dat database (geolite from Maxmind) and then verify the actual list of valid mirrors for that country : if not enough mirrors in that country are available, the mirrorlist script adds several mirrors from a nearby country.
In that specific .jp/.cn case, we can eventually select another "nearby" country and not using .cn at all, but that's something to discuss before implemeting it. Also, the current situation seems correct, can you confirm ?
Thanks, Mark
Cheers,
On Thu, Jul 17, 2014 at 7:15 PM, Fabian Arrotin fabian.arrotin@arrfab.net wrote:
The mirrorlist process checks the incoming IP and queries the GeoIP.dat database (geolite from Maxmind) and then verify the actual list of valid mirrors for that country : if not enough mirrors in that country are available, the mirrorlist script adds several mirrors from a nearby country.
The situation is not correct. For example: http://mirrorlist.centos.org/?release=6.5&arch=x86_64&repo=os&ip...
The returned list is obviously made up of mostly Chinese or Taiwanese mirrors.
According to https://www.maxmind.com/en/geoip_demo the IP I provided is indeed seen in Japan (MaxMind used to show our range in China, maybe GeoIP.dat needs to be updated?)
Mark
17.7.2014 13.21, Mark Karpeles kirjoitti:
On Thu, Jul 17, 2014 at 7:15 PM, Fabian Arrotin fabian.arrotin@arrfab.net wrote:
The mirrorlist process checks the incoming IP and queries the GeoIP.dat database (geolite from Maxmind) and then verify the actual list of valid mirrors for that country : if not enough mirrors in that country are available, the mirrorlist script adds several mirrors from a nearby country.
The situation is not correct. For example: http://mirrorlist.centos.org/?release=6.5&arch=x86_64&repo=os&ip...
The returned list is obviously made up of mostly Chinese or Taiwanese mirrors.
$ curl -4 'http://mirrorlist.centos.org/?release=6.5&arch=x86_64&repo=os&ip...' http://ftp.nara.wide.ad.jp/pub/Linux/centos/6.5/os/x86_64/ http://ftp.tsukuba.wide.ad.jp/Linux/centos/6.5/os/x86_64/ http://www.ftp.ne.jp/Linux/packages/CentOS/6.5/os/x86_64/ http://ftp.jaist.ac.jp/pub/Linux/CentOS/6.5/os/x86_64/ http://ftp.iij.ad.jp/pub/linux/centos/6.5/os/x86_64/ http://mirror.fairway.ne.jp/centos/6.5/os/x86_64/ http://ftp.riken.jp/Linux/centos/6.5/os/x86_64/ http://centos.mirror.secureax.com/6.5/os/x86_64/ http://mirrors.aliyun.com/centos/6.5/os/x86_64/ http://mirrors.stuhome.net/centos/6.5/os/x86_64/
Looks mostly Japanese to me..
As an aside, you should use 6 instead of 6.5 in that URL.