* [gentoo-user] which mirror does emerge --sync chose? and why?
@ 2006-12-24 21:57 Sven Köhler
2006-12-25 11:08 ` Mick
0 siblings, 1 reply; 6+ messages in thread
From: Sven Köhler @ 2006-12-24 21:57 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
Hi,
"emerge --sync" should sync with rsync.gentoo.org, to which many IP
adresses (5 at the moment).
Here's what host says:
# host rsync.gentoo.org
rsync.gentoo.org has address 129.79.6.73
rsync.gentoo.org has address 134.68.220.73
rsync.gentoo.org has address 134.68.220.74
rsync.gentoo.org has address 140.211.166.165
rsync.gentoo.org has address 64.127.121.98
The order of the adresses is random, when i rerun the command above. So
i _would_ expect, that "emerge --sync" randomly choses on the the mirrors.
But that is not true, and actually, on all my machines, "emerge --sync"
uses always the 64.x.x.x mirror, and on the machine of a friend, it used
always 129.x.x.x mirror - well, "always" is not true, but i run "emerge
--sync" over and over again, and it did never try to use another one.
So the thing is, that from my friend's DSL-connection, the server
129.x.x.x was unreachable, while the others were reachable. So we had to
change the server manually in /etc/make.conf - but i don't understand,
why "emerge --sync" used the one it was using, and why it didn't switch
to one of the other ones.
Thanks,
Sven
BTW: Merry Christmas!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] which mirror does emerge --sync chose? and why?
2006-12-24 21:57 [gentoo-user] which mirror does emerge --sync chose? and why? Sven Köhler
@ 2006-12-25 11:08 ` Mick
2006-12-26 22:50 ` [gentoo-user] " Sven Köhler
0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2006-12-25 11:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]
On Sunday 24 December 2006 21:57, Sven Köhler wrote:
> Hi,
>
> "emerge --sync" should sync with rsync.gentoo.org, to which many IP
> adresses (5 at the moment).
>
> Here's what host says:
> # host rsync.gentoo.org
> rsync.gentoo.org has address 129.79.6.73
> rsync.gentoo.org has address 134.68.220.73
> rsync.gentoo.org has address 134.68.220.74
> rsync.gentoo.org has address 140.211.166.165
> rsync.gentoo.org has address 64.127.121.98
>
> The order of the adresses is random, when i rerun the command above. So
> i _would_ expect, that "emerge --sync" randomly choses on the the mirrors.
>
> But that is not true, and actually, on all my machines, "emerge --sync"
> uses always the 64.x.x.x mirror, and on the machine of a friend, it used
> always 129.x.x.x mirror - well, "always" is not true, but i run "emerge
> --sync" over and over again, and it did never try to use another one.
>
> So the thing is, that from my friend's DSL-connection, the server
> 129.x.x.x was unreachable, while the others were reachable. So we had to
> change the server manually in /etc/make.conf - but i don't understand,
> why "emerge --sync" used the one it was using, and why it didn't switch
> to one of the other ones.
I do not understand/know how the choice of mirrors work either. I noticed
that when I rsync from home I always hit the same mirror (first time). When
I rsync from work (using the same laptop) I always hit a different specific
mirror (again first time).
> BTW: Merry Christmas!
Merry Christmas to all Gentooists! :)
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: which mirror does emerge --sync chose? and why?
2006-12-25 11:08 ` Mick
@ 2006-12-26 22:50 ` Sven Köhler
2006-12-27 6:57 ` Dan
2006-12-27 11:16 ` Neil Bothwick
0 siblings, 2 replies; 6+ messages in thread
From: Sven Köhler @ 2006-12-26 22:50 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 451 bytes --]
> I do not understand/know how the choice of mirrors work either. I noticed
> that when I rsync from home I always hit the same mirror (first time). When
> I rsync from work (using the same laptop) I always hit a different specific
> mirror (again first time).
it's not portage!
it's rsync!!!
execute "rsync rsync.gentoo.org::" for a few times. I always see the
banner message of owl.gentoo.org, and no other.
That is STRANGE!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: which mirror does emerge --sync chose? and why?
2006-12-26 22:50 ` [gentoo-user] " Sven Köhler
@ 2006-12-27 6:57 ` Dan
2007-01-01 23:15 ` Sven Köhler
2006-12-27 11:16 ` Neil Bothwick
1 sibling, 1 reply; 6+ messages in thread
From: Dan @ 2006-12-27 6:57 UTC (permalink / raw
To: gentoo-user
On Tue, 26 Dec 2006 23:50:14 +0100
Sven Köhler <skoehler@upb.de> wrote:
> > I do not understand/know how the choice of mirrors work either. I
> > noticed that when I rsync from home I always hit the same mirror
> > (first time). When I rsync from work (using the same laptop) I
> > always hit a different specific mirror (again first time).
>
> it's not portage!
> it's rsync!!!
>
> execute "rsync rsync.gentoo.org::" for a few times. I always see the
> banner message of owl.gentoo.org, and no other.
>
> That is STRANGE!
>
>
i think it's not strange at all. i'm sure rsync uses mechanisms to find
the closest server, and it's no surprise that this would be the same all
the time, and different from the point of view of different networks.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: which mirror does emerge --sync chose? and why?
2006-12-26 22:50 ` [gentoo-user] " Sven Köhler
2006-12-27 6:57 ` Dan
@ 2006-12-27 11:16 ` Neil Bothwick
1 sibling, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2006-12-27 11:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
On Tue, 26 Dec 2006 23:50:14 +0100, Sven Köhler wrote:
> execute "rsync rsync.gentoo.org::" for a few times. I always see the
> banner message of owl.gentoo.org, and no other.
>
> That is STRANGE!
The resolver is caching the result of looking up rsync.gentoo.org. Until
that expires, which depends on the TTL setting on the DNS server, you
will always get the same IP address for rsync.gentoo.org.
--
Neil Bothwick
Captain, I believe there's an energy source in the liver of the cloud.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: which mirror does emerge --sync chose? and why?
2006-12-27 6:57 ` Dan
@ 2007-01-01 23:15 ` Sven Köhler
0 siblings, 0 replies; 6+ messages in thread
From: Sven Köhler @ 2007-01-01 23:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]
>>> I do not understand/know how the choice of mirrors work either. I
>>> noticed that when I rsync from home I always hit the same mirror
>>> (first time). When I rsync from work (using the same laptop) I
>>> always hit a different specific mirror (again first time).
>> it's not portage!
>> it's rsync!!!
>>
>> execute "rsync rsync.gentoo.org::" for a few times. I always see the
>> banner message of owl.gentoo.org, and no other.
>>
>> That is STRANGE!
>
> i think it's not strange at all. i'm sure rsync uses mechanisms to find
> the closest server, and it's no surprise that this would be the same all
> the time, and different from the point of view of different networks.
Then, rsync behaves kind of stupid, because if rsync always uses the
same server, and the server doesn't work, then the sync will not work.
But rsync could chose a different server, well, the second-best server,
if the best server has failed. But it didn't do that :-(
Well, but any discussion about that would be off-topic.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-01-01 23:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-24 21:57 [gentoo-user] which mirror does emerge --sync chose? and why? Sven Köhler
2006-12-25 11:08 ` Mick
2006-12-26 22:50 ` [gentoo-user] " Sven Köhler
2006-12-27 6:57 ` Dan
2007-01-01 23:15 ` Sven Köhler
2006-12-27 11:16 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox