Gentoo Archives: gentoo-user

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} Firefox's "Connecting"
Date: Sat, 09 Jun 2007 20:09:50
Message-Id: 8cd1ed20706091302q72a6cd21y6d110b866d0f7dbf@mail.gmail.com
In Reply to: Re: [gentoo-user] {OT} Firefox's "Connecting" by Grant
1 On 6/10/07, Grant <emailgrant@×××××.com> wrote:
2 > > > > > > Can anyone tell me what Firefox is doing when it says it is
3 > > > > > > "Connecting" to a particular website? My site is periodically hanging
4 > > > > > > at that point, and I'd like to track down the problem. Is it just
5 > > > > > > waiting for apache2's first response to the HTTP request?
6 > > > > >
7 > > > > > No, Firefox is propably waiting for the TCP connection to be
8 > > > > > established. Use something like wireshark or tcpdump to find out for sure.
9 > > > >
10 > > > > I was trying to login (via ssh) to a virtual server and it was taking ages (19
11 > > > > secs or so). Apparently there was something wrong with the way the sysadmin
12 > > > > had set up DNS. Once fixed I would be asked for a passwd with 1-2 seconds.
13 > > > > It could be that something like this is wrong with your server?
14 > > >
15 > > > I'll check that out. Thanks guys.
16 > > >
17 > >
18 > > Try it with 'curl'
19 > > ie:
20 > > curl -v www.google.com
21 > >
22 > > If it doesnt find an IP, its a DNS problem, if it finds an IP but
23 > > doesn't connect, it may be a routing problem, if it works for all
24 > > sites, but not a particular site, that site might be broken, and
25 > > 'curl' might be able to help you see where.
26 >
27 > Thanks Kent. When I'm browsing my site and it hangs, I ping the
28 > domain and the times are normal even though I'm having trouble
29 > connecting at the exact same time. The pings are really slow in
30 > coming back, but the reported times are normal. Does that sound like
31 > a problem with apache2 then?
32 >
33
34 Sounds like a routing problem of sorts to me, apache ( afaik ) has no
35 impact on /ping/ times. My favourite tool for finding traffic problems
36 is "mtr" , see packet loss and route and where packet loss is occuring
37 all at once :) Sometimes it will report 100% packet loss on a middle
38 step if that server ignores pings tho, .. .so...
39
40 does curl respond properly? , or does it just sit there waiting for response?
41
42
43
44 --
45 Kent
46 ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
47 print "enNOSPicAMreil kdrtf@×××.com"[(2*x)..(2*x+1)]}'
48 --
49 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] {OT} Firefox's "Connecting" Grant <emailgrant@×××××.com>