Gabriel Farrell on 26 Oct 2006 15:40:29 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] debian apt-get problems?


On Wed, Oct 25, 2006 at 04:35:08PM +0100, Stephen Gran wrote:
> On Wed, Oct 25, 2006 at 10:30:45AM -0400, Jeff Abrahamson said:
> > On Tue, Oct 24, 2006 at 03:58:22PM -0400, Michael C. Toren wrote:
> > >   [15 lines, 96 words, 834 characters]  Top characters: _ntiaosl
> > > 
> > > On Tue, Oct 24, 2006 at 02:30:48PM -0400, Jeff Abrahamson wrote:
> > > > My understanding is that ftp.debian.org will hit round-robin DNS
> > > > and so go somewhere in a reasonably load-balanced way.
> > > 
> > > It looks like ftp.debian.org only returns one IP address, actually,
> > > rather than using round-robin DNS.  I'm using ftp.us.debian.org in
> > > my sources.list, which *does* in fact use round-robin DNS.  Maybe
> > > give that a try?  Failing that, another option may be to migrate
> > > away from ftp and to start using http://http.us.debian.org instead.
> > 
> > Switching to ftp.us.debian.org helped some, but migrating to http
> > in addition solved the problem.  Thanks.
> > 
> > But why would ftp vs http matter?
> 
> The machine is probably heavily loaded, and it's limit for concurrent
> ftp sessions is lower than it's limit for concurrent http sessions.  Or
> not.  Just a guess.

Just for fun I did a little experimenting with ping and found that
with an http connection (http:// at the front) http.us.debian.org and
ftp.us.debian.org both appear to point at the same round-robin DNS.

As noted above, http://ftp.debian.org is not round-robin (for me,
it points to debian-mirror.mirror.umn.edu).

gabe
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug