Hello,
I see that ftp.pbone.net is not listed as a mirror for CentOS 6 updates for x86_64 arch. curl -4 --silent 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&...'
http://centos.hitme.net.pl/6.6/updates/x86_64/ http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/x86_64/ http://ftp.icm.edu.pl/pub/Linux/distributions/centos/6.6/updates/x86_64/ http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/x86_64/ http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/x86_64/ http://centos2.hti.pl/6.6/updates/x86_64/ http://ftp.prz.edu.pl/centos/6.6/updates/x86_64/ http://centos.komster.pl/6.6/updates/x86_64/ http://centos1.hti.pl/6.6/updates/x86_64/ http://ftp.agh.edu.pl/centos/6.6/updates/x86_64/
But for i386 arch is listed: curl -4 --silent 'http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates&i...'
http://centos.slaskdatacenter.com/6.6/updates/i386/ http://ftp.prz.edu.pl/centos/6.6/updates/i386/ http://ftp.agh.edu.pl/centos/6.6/updates/i386/ http://ftp.pbone.net/pub/centos/6.6/updates/i386/ http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/i386/ http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/i386/ http://ftp.vectranet.pl/centos/6.6/updates/i386/ http://centos.komster.pl/6.6/updates/i386/ http://centos2.hti.pl/6.6/updates/i386/ http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/i386/
For x86_64 base system and other CentOS versions ftp.pbone.net is listed as a mirror. Could you point me what is wrong with CentOS ver. 6 x86_64 updates on ftp.pbone.net ? What should I fix ?
Best regards. --- Grzegorz Paszka
Hi Grzegorz!
When there is a larger number of mirrors the system will randomly show only some mirrors to the client.
Have a lovely day!
With Kind Regards,
Dominik Nowacki
Clouvider Limited - UK Dedicated Servers, Cloud, Colocation, Web Hosting Provider https://www.clouvider.co.uk
Have you seen our current Dedicated Servers Sale? https://www.clouvider.co.uk/dedicated-servers-sale
-----Original Message----- From: centos-mirror-bounces@centos.org [mailto:centos-mirror-bounces@centos.org] On Behalf Of Grzegorz Paszka Sent: 18 June 2015 15:05 To: centos-mirror@centos.org Subject: [CentOS-mirror] Mirror not listed for updates x86_64 version 6
Hello,
I see that ftp.pbone.netftp://ftp.pbone.net is not listed as a mirror for CentOS 6 updates for x86_64 arch.
curl -4 --silent
'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&...'
http://centos.hitme.net.pl/6.6/updates/x86_64/
http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/x86_64/
http://ftp.icm.edu.pl/pub/Linux/distributions/centos/6.6/updates/x86_64/
http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/x86_64/
http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/x86_64/
http://centos2.hti.pl/6.6/updates/x86_64/
http://ftp.prz.edu.pl/centos/6.6/updates/x86_64/
http://centos.komster.pl/6.6/updates/x86_64/
http://centos1.hti.pl/6.6/updates/x86_64/
http://ftp.agh.edu.pl/centos/6.6/updates/x86_64/
But for i386 arch is listed:
curl -4 --silent
'http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates&i...'
http://centos.slaskdatacenter.com/6.6/updates/i386/
http://ftp.prz.edu.pl/centos/6.6/updates/i386/
http://ftp.agh.edu.pl/centos/6.6/updates/i386/
http://ftp.pbone.net/pub/centos/6.6/updates/i386/
http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/i386/
http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/i386/
http://ftp.vectranet.pl/centos/6.6/updates/i386/
http://centos.komster.pl/6.6/updates/i386/
http://centos2.hti.pl/6.6/updates/i386/
http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/i386/
For x86_64 base system and other CentOS versions ftp.pbone.netftp://ftp.pbone.net is listed as a mirror.
Could you point me what is wrong with CentOS ver. 6 x86_64 updates on ftp.pbone.netftp://ftp.pbone.net ? What should I fix ?
Best regards.
---
Grzegorz Paszka
_______________________________________________
CentOS-mirror mailing list
CentOS-mirror@centos.orgmailto:CentOS-mirror@centos.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 18/06/15 16:04, Grzegorz Paszka wrote:
Hello,
I see that ftp.pbone.net is not listed as a mirror for CentOS 6 updates for x86_64 arch. curl -4 --silent 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&...'
http://centos.hitme.net.pl/6.6/updates/x86_64/ http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/x86_64/
http://ftp.icm.edu.pl/pub/Linux/distributions/centos/6.6/updates/x86_64/
http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/x86_64/ http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/x86_64/ http://centos2.hti.pl/6.6/updates/x86_64/ http://ftp.prz.edu.pl/centos/6.6/updates/x86_64/ http://centos.komster.pl/6.6/updates/x86_64/ http://centos1.hti.pl/6.6/updates/x86_64/ http://ftp.agh.edu.pl/centos/6.6/updates/x86_64/
But for i386 arch is listed: curl -4 --silent 'http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates&i...'
http://centos.slaskdatacenter.com/6.6/updates/i386/ http://ftp.prz.edu.pl/centos/6.6/updates/i386/ http://ftp.agh.edu.pl/centos/6.6/updates/i386/ http://ftp.pbone.net/pub/centos/6.6/updates/i386/ http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/i386/ http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/i386/ http://ftp.vectranet.pl/centos/6.6/updates/i386/ http://centos.komster.pl/6.6/updates/i386/ http://centos2.hti.pl/6.6/updates/i386/ http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/i386/
For x86_64 base system and other CentOS versions ftp.pbone.net is listed as a mirror. Could you point me what is wrong with CentOS ver. 6 x86_64 updates on ftp.pbone.net ? What should I fix ?
Best regards. --- Grzegorz Paszka
_______________________________________________ CentOS-mirror mailing list CentOS-mirror@centos.org http://lists.centos.org/mailman/listinfo/centos-mirror Received: from lithium.arrfab.net (unknown [172.19.5.1]) by radium.arrfab.net (Postfix) with ESMTP id 1DF43EF1C7 for fabian.arrotin@arrfab.net; Thu, 18 Jun 2015 16:05:10 +0200 Received: from mail.centos.org (mail.centos.org [72.26.200.203]) by lithium.arrfab.net (8.13.8/8.13.8) with ESMTP id t5IE4w5i015270 for fabian.arrotin@arrfab.net; Thu, 18 Jun 2015 16:04:58 +0200 Received: from mail.centos.org (localhost [127.0.0.1]) by mail.centos.org (Postfix) with ESMTP id B647FA00B42; Thu, 18 Jun 2015 14:04:56 +0000 Received: from tygrys.pbone.net (tygrys.pbone.net [85.14.85.27]) by mail.centos.org (Postfix) with ESMTP id 7C678A007F7 for centos-mirror@centos.org; Thu, 18 Jun 2015 14:04:54 +0000 Received: from [10.32.46.36] (host851485250.static.tkplan.3s.pl [85.14.85.250]) (authenticated bits= by tygrys.pbone.net (8.14.4/8.14.4) with ESMTP id t5IE4l5X010122 (version=Sv1/SSLv3 cipher=E-RSA-CAMELLIA256-SHA bits%6 verify=NO) for centos-mirror@centos.org; Thu, 18 Jun 2015 16:04:47 +0200 Subject: [CentOS-mirror] Mirror not listed for updates x86_64 version 6 From: =indows-1252?Q?Grzegorz_Paszka?= grzegorz@paszka.com To: =indows-1252?Q?centos-mirror@centos.org? centos-mirror@centos.org Date: Thu, 18 Jun 2015 14:04:48 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=ndows-1252 Content-Transfer-Encoding: quoted-printable X-Mailer: Zarafa 6.40.7-26119 Sender: =indows-1252?Q?grzegorz@paszka.com? centos-mirror-bounces@centos.org Reply-To: =indows-1252?Q?Mailing_list_for_CentOS_mirrors.? centos-mirror@centos.org Precedence: list List-Id: "Mailing list for CentOS mirrors." <centos-mirror.centos.org> List-Unsubscribe: http://lists.centos.org/mailman/options/centos-mirror, mailto:centos-mirror-request@centos.org?subject=subscribe List-Archive: http://lists.centos.org/pipermail/centos-mirror/ List-Post: mailto:centos-mirror@centos.org List-Help: mailto:centos-mirror-request@centos.org?subject=lp List-Subscribe: http://lists.centos.org/mailman/listinfo/centos-mirror, mailto:centos-mirror-request@centos.org?subject=bscribe X-Spam-Status: No, score=.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.1, No X-Beenthere: centos-mirror@centos.org X-Mailman-Version: 2.1.12 X-Original-To: centos-mirror@centos.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on tygrys.pbone.net X-Virus-Scanned: amavisd-new at pbone.com X-Arrfab-Bluewall-Mailscanner-Information: Please contact the ISP for more information X-Arrfab-Bluewall-Mailscanner-Id: t5IE4w5i015270 X-Arrfab-Bluewall-Mailscanner: Found to be clean X-Arrfab-Bluewall-Mailscanner-From: centos-mirror-bounces@centos.org Message-Id: 5582D000.1080801@paszka.com
Hello,
I see that ftp.pbone.net is not listed as a mirror for CentOS 6 updates for x86_64 arch. curl -4 --silent 'http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&...'
http://centos.hitme.net.pl/6.6/updates/x86_64/ http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/x86_64/
http://ftp.icm.edu.pl/pub/Linux/distributions/centos/6.6/updates/x86_64/
http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/x86_64/ http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/x86_64/ http://centos2.hti.pl/6.6/updates/x86_64/ http://ftp.prz.edu.pl/centos/6.6/updates/x86_64/ http://centos.komster.pl/6.6/updates/x86_64/ http://centos1.hti.pl/6.6/updates/x86_64/ http://ftp.agh.edu.pl/centos/6.6/updates/x86_64/
But for i386 arch is listed: curl -4 --silent 'http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates&i...'
http://centos.slaskdatacenter.com/6.6/updates/i386/ http://ftp.prz.edu.pl/centos/6.6/updates/i386/ http://ftp.agh.edu.pl/centos/6.6/updates/i386/ http://ftp.pbone.net/pub/centos/6.6/updates/i386/ http://mirror-pl.kielcetechnologypark.net/centos/6.6/updates/i386/ http://mirror.onet.pl/pub/mirrors/centos/6.6/updates/i386/ http://ftp.vectranet.pl/centos/6.6/updates/i386/ http://centos.komster.pl/6.6/updates/i386/ http://centos2.hti.pl/6.6/updates/i386/ http://ftp.ps.pl/pub/Linux/CentOS/6.6/updates/i386/
For x86_64 base system and other CentOS versions ftp.pbone.net is listed as a mirror. Could you point me what is wrong with CentOS ver. 6 x86_64 updates on ftp.pbone.net ? What should I fix ?
Best regards. --- Grzegorz Paszka
I can have a look, but don't forget that the mirror crawler process will do the following : - - query for mirrors from a current country (but in random way) - - validate each mirror from that randomized list until it gets to 10 mirror for each list (per release/repo/arch) - - when 10 nodes are there, stop
So each time a yum mirrorlist is produced, your mirror can enter/leave/enter it again (and each mirrorlist is produced in loop , and takes ~30 minutes), and there are more than 10 mirrors in .pl actually :-)
Hope that it answers your question
- --
Fabian Arrotin The CentOS Project | http://www.centos.org gpg key: 56BEC54E | twitter: @arrfab
Hello,
I can have a look, but don't forget that the mirror crawler process will do the following :
- query for mirrors from a current country (but in random way)
- validate each mirror from that randomized list until it gets to 10
mirror for each list (per release/repo/arch)
- when 10 nodes are there, stop
So each time a yum mirrorlist is produced, your mirror can enter/leave/enter it again (and each mirrorlist is produced in loop , and takes ~30 minutes), and there are more than 10 mirrors in .pl actually :-)
Thanks for explanation.
I'm curious why you limit list of available mirrors to 10 ? I think everyone use fastestmirror plugin so if more mirrors are presented than more optimal mirror will be used.
--- Grzegorz Paszka
W dniu 2015-06-18 16:43, Fabian Arrotin pisze:
I can have a look, but don't forget that the mirror crawler process will do the following :
- query for mirrors from a current country (but in random way)
- validate each mirror from that randomized list until it gets to 10
mirror for each list (per release/repo/arch)
- when 10 nodes are there, stop
So each time a yum mirrorlist is produced, your mirror can enter/leave/enter it again (and each mirrorlist is produced in loop , and takes ~30 minutes), and there are more than 10 mirrors in .pl actually :-)
Hope that it answers your question
I decide to take a deep look at which mirrors are presented by http://mirrorlist.centos.org/..........
I logged every 5 minutes response from mirrorlist website for client from Poland for such repos: i386 extras 5 i386 extras 6 i386 os 5 i386 os 6 i386 updates 5 i386 updates 6 x86_64 extras 5 x86_64 extras 6 x86_64 extras 7 x86_64 os 5 x86_64 os 6 x86_64 os 7 x86_64 updates 5 x86_64 updates 6 x86_64 updates 7
I've got such results
Ideal precentage centos2.hti.pl ftp.agh.edu.pl centos.hitme.net.pl centos1.hti.pl ftp.pbone.net centos.komster.pl centos.slaskdatacenter.com mirror.onet.pl ftp.prz.edu.pl ftp.icm.edu.pl ftp.vectranet.pl ftp.ps.pl mirror-pl.kielcetechnologypark.net centos.po.opole.pl i386 extras 5 71% 70% 72% 72% 68% 70% 71% 70% 76% 75% 75% 68% 70% 73% 69% i386 extras 6 71% 70% 73% 66% 69% 79% 72% 73% 68% 69% 71% 75% 70% 75% 72% i386 os 5 71% 71% 71% 70% 76% 66% 70% 72% 75% 68% 69% 73% 72% 76% 71% i386 os 6 71% 74% 70% 71% 68% 71% 70% 74% 71% 71% 72% 78% 74% 68% 68% i386 updates 5 77% 79% 76% 74% 77% 76% 73% 75% 77% 81% 75% 75% 73% 70% i386 updates 6 77% 77% 75% 76% 76% 76% 72% 79% 78% 74% 72% 77% 72% 73% x86_64 extras 5 71% 75% 76% 71% 72% 76% 67% 75% 71% 72% 69% 64% 69% 70% 73% x86_64 extras 6 71% 71% 68% 74% 75% 71% 69% 74% 73% 69% 73% 70% 69% 69% 75% x86_64 extras 7 71% 76% 75% 76% 76% 72% 75% 76% 74% 72% 74% 72% 74% 70% 34% x86_64 os 5 71% 70% 69% 71% 73% 71% 72% 74% 72% 74% 71% 71% 73% 70% 69% x86_64 os 6 71% 68% 77% 77% 72% 70% 74% 75% 71% 69% 70% 74% 65% 71% 68% x86_64 os 7 71% 71% 73% 70% 69% 75% 71% 72% 72% 70% 73% 70% 73% 70% 72% x86_64 updates 5 77% 74% 78% 78% 78% 77% 74% 77% 75% 78% 73% 72% 73% 72% x86_64 updates 6 77% 71% 75% 79% 76% 77% 76% 80% 74% 73% 77% 80% 70% 71% x86_64 updates 7 77% 73% 75% 80% 72% 70% 74% 78% 72% 75% 72% 74% 73% 72%
10 overall score 15 7 7 8 8 7 3 13 9 6 6 6 5 3 4 overall percentage score 47% 47% 53% 53% 47% 20% 87% 60% 40% 40% 40% 33% 20% 40%
(I hope you can see table with colours :)
Green colour means that for this repo mirror site was above "ideal percentage" so it was presented often than other mirrors and often than ideal fair percentage. If more green for mirror site than overall score is higher and mirror site was more popular on http://mirrorlist.centos.org/ This statistics is based on 11 days.
First conclusion. mirrorlist randomization algorithm is not working very well or something else is going bad. Some mirrors are definitely more popular that other. I.e centos,slaskdatacenter.com vs centos.komster.pl or vs ftp.pbone.net (which is synced 12 times a day and has 100% uptime and availability during test)
Second conclusion. During test I noticed that mirrorlist validation has some problems because for all update repos and x86_64 extras 7 repo I have in log file that for some time mirrorlist returns couple mirror sites outside Poland. It didn't happened for other repos. Based on that I assume that every mirror was up (excluding centos.po.opole.pl) and even that your mirrorlist page returned mirrors outside Poland. If it'll help to investigate problem I can provide date and time of such situations.
I think that limit of 10 mirrors on mirrorlist site is not profitable for users. Very good example is USA. Centos has 145 mirrors in USA. If you present only 10 it's probably that users use not optimal mirror sites for them. Yum has fastestmirror plugin, let the user to choose the best mirror for him.
Best regards. Grzegorz
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 30/06/15 09:57, Grzegorz Paszka wrote:
W dniu 2015-06-18 16:43, Fabian Arrotin pisze:
I can have a look, but don't forget that the mirror crawler process will do the following : - - query for mirrors from a current country (but in random way) - - validate each mirror from that randomized list until it gets to 10 mirror for each list (per release/repo/arch) - - when 10 nodes are there, stop
So each time a yum mirrorlist is produced, your mirror can enter/leave/enter it again (and each mirrorlist is produced in loop , and takes ~30 minutes), and there are more than 10 mirrors in .pl actually :-)
Hope that it answers your question
I decide to take a deep look at which mirrors are presented by http://mirrorlist.centos.org/..........
I logged every 5 minutes response from mirrorlist website for client from Poland for such repos:
<snip>
First conclusion. mirrorlist randomization algorithm is not working very well or something else is going bad. Some mirrors are definitely more popular that other. I.e centos,slaskdatacenter.com vs centos.komster.pl or vs ftp.pbone.net (which is synced 12 times a day and has 100% uptime and availability during test)
Well, the first thing to understand is that there is *no* mirrorlist randomization algorithm : the crawler script just do a mysql query, and with "ORDER BY RAND()" , nothing more
Second conclusion. During test I noticed that mirrorlist validation has some problems because for all update repos and x86_64 extras 7 repo I have in log file that for some time mirrorlist returns couple mirror sites outside Poland. It didn't happened for other repos. Based on that I assume that every mirror was up (excluding centos.po.opole.pl) and even that your mirrorlist page returned mirrors outside Poland. If it'll help to investigate problem I can provide date and time of such situations.
As the the mirrorlist crawler script run in "loop" and for reach release in parallel, those are changing quite fast. As there were quite some updates recently, it makes sense that [os] remains intact while [extras] and [updates] repodata (repomd.xml) change often.
I think that limit of 10 mirrors on mirrorlist site is not profitable for users. Very good example is USA. Centos has 145 mirrors in USA. If you present only 10 it's probably that users use not optimal mirror sites for them. Yum has fastestmirror plugin, let the user to choose the best mirror for him.
True, and the 10 mirror limit is quite old (from where the scripts were written, and don't known the real reason) but it does that for every country, and not on a "country basis". Logic is the following : it tries for a country to find at least 10 nodes that are "current " (so providing the same repodata as on master, or at least in cache), and if it can't , it add some nodes from nearby countries (which are up2date)
We can discuss that limit at the moment, but don't forget that the more you add mirrors in the the list, the more outgoing checks yum-fastestmirror-plugin will also do .. so finding the correct balance is always a difficult game.
Now, for people managing a bunch of nodes, and willing to use the faster/nearest all the time, $cfgmgmt is the solution that all sysadmins/companies are using to modify the yum config to point to a specific server. Or (what we also do within centos infra), you have a local dns resolver that point mirrorlist.centos.org to a local server with a 5 lines of php code redirecting you to the server you want too, without having to modify the yum config at the client side.
Best regards. Grzegorz
Cheers,
PS : there are some points we'd like to address in the future for mirrorlists, as for example the fact that ipv4 and ipv6 mirrorlists nodes aren't even using the same code. If you follow the centos-devel list, you know that we're implementing (and opening up soon) FAS as a central auth system for centos.org. Then we can evaluate (again) MirrorManager, as its main requirement was a central auth, like FAS.
- --
Fabian Arrotin The CentOS Project | http://www.centos.org gpg key: 56BEC54E | twitter: @arrfab
W dniu 2015-06-30 11:40, Fabian Arrotin pisze:
I think that limit of 10 mirrors on mirrorlist site is not profitable for users. Very good example is USA. Centos has 145 mirrors in USA. If you present only 10 it's probably that users use not optimal mirror sites for them. Yum has fastestmirror plugin, let the user to choose the best mirror for him.
True, and the 10 mirror limit is quite old (from where the scripts were written, and don't known the real reason) but it does that for every country, and not on a "country basis". Logic is the following : it tries for a country to find at least 10 nodes that are "current " (so providing the same repodata as on master, or at least in cache), and if it can't , it add some nodes from nearby countries (which are up2date)
We can discuss that limit at the moment, but don't forget that the more you add mirrors in the the list, the more outgoing checks yum-fastestmirror-plugin will also do .. so finding the correct balance is always a difficult game.
True, balance is important. Default repo configuration for Centos-Base has enabled [base] [updates] [extras] [centosplus] [contrib] . For each repo it is possible to get 10 totally different mirror sites . It means that it is possible by default that fastestmirror plugin will check 50 sites. Of course only in country with 50 or more centos mirrors. In countries with less than 50 mirror sites it is very likely that all host are already checked and users won't notice the difference in "fastestmirror check time" after the number of mirror sites returned by mirrorlist will be increased. Only USA users has more than 50 mirror sites but USA users IMHO will be also happy because they will be use better mirror from their point of view. We shouldn't forget that fastestmirror plugin does check procedure from time to time (on centos 6 maxhostfileage=10, for me it means 10 days). So it not a big deal to wait a bit longer three times in a month to get "nearest" mirror site.
Best regards. --- Grzegorz