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