Re: Slow connections in Debian squeeze
On Sun, 6 Dec 2009 09:58:12 -0800
Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
...
> meanwhile, some tests using
>
> time wget http://www.google.com
...
> > real 0m0.279s
> > user 0m0.000s
> > sys 0m0.004s
>
> very consistently.
>
> on the problem machine, this is typical:
...
> > real 0m5.280s
> > user 0m0.000s
> > sys 0m0.004s
>
> the pause is at the "Resolving www.google.com..." line for 5 seconds,
> very consistently.
>
> interestingly this doesn't happen with ping...
>
> and nsloopup www.google.com works just fine as well with something
> like 0.05s real time.
>
> I also see the delay with w3m, which points to the problem being in
> some common http library? Anyway, the delay is consistent at around 5
> seconds.
Try some other protocols? An ever better idea: use netcat or telnet to
talk to google.com on port 80 - same server and port, but no client
side HTTP stuff, just plain text going out over the wire.
Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: