[Sugar-devel] Sugar web activity wait 1 minute at startup

James Cameron quozl at laptop.org
Tue Jan 28 05:33:58 EST 2014


I agree, no host lookups.

But at the time before the delay, there are several connections open to the server process, and then after the delay there is a sudden server side connection reset and a new connection issued by the client side.

I wish I knew where the server side code was.

On 28/01/2014, at 6:39 PM, Lionel Laské wrote:

> 
> Hi James,
> 
> Thanks for advice.
> I've tried tcpdump. See an extract below or full trace here [1].
> 
> To be honest, I'm not familiar with tcpdump log. BTW I don't see any error but I see the same 1mn delay in the log (between 21:30:46 and 21:32:27). So I guess it don't come from a DNS timeout...
> 
>            Lionel.
> 
> 
> [1] http://laske.fr/tmp/foodchain_tcpdump.log 
> 
> 
> 21:30:46.005948 IP xo-74-2e-b8.localdomain.46011 > xo-74-2e-b8.localdomain.53633: Flags [F.], seq 752, ack 345, win 4230, options [nop,nop,TS val 12819 ecr 12819], length 0
> 21:30:46.011800 IP xo-74-2e-b8.localdomain.53631 > xo-74-2e-b8.localdomain.46011: Flags [.], ack 5858, win 6145, options [nop,nop,TS val 12820 ecr 12816], length 0
> 21:30:46.021809 IP xo-74-2e-b8.localdomain.53632 > xo-74-2e-b8.localdomain.46011: Flags [.], ack 1366, win 4410, options [nop,nop,TS val 12821 ecr 12817], length 0
> 21:30:46.041787 IP xo-74-2e-b8.localdomain.53633 > xo-74-2e-b8.localdomain.46011: Flags [.], ack 753, win 4257, options [nop,nop,TS val 12823 ecr 12819], length 0
> 21:32:27.873704 IP xo-74-2e-b8.localdomain.53630 > xo-74-2e-b8.localdomain.46011: Flags [F.], seq 317, ack 13879, win 6145, options [nop,nop,TS val 23006 ecr 12812], length 0
> 21:32:27.873809 IP xo-74-2e-b8.localdomain.46011 > xo-74-2e-b8.localdomain.53630: Flags [R], seq 1653018114, win 0, length 0
> 21:32:27.874700 IP xo-74-2e-b8.localdomain.53631 > xo-74-2e-b8.localdomain.46011: Flags [F.], seq 304, ack 5858, win 6145, options [nop,nop,TS val 23006 ecr 12816], length 0
> 21:32:27.874784 IP xo-74-2e-b8.localdomain.46011 > xo-74-2e-b8.localdomain.53631: Flags [R], seq 494938181, win 0, length 0
> 21:32:27.922846 IP xo-74-2e-b8.localdomain.53632 > xo-74-2e-b8.localdomain.46011: Flags [F.], seq 304, ack 1366, win 4410, options [nop,nop,TS val 23011 ecr 12817], length 0
> 21:32:27.922949 IP xo-74-2e-b8.localdomain.46011 > xo-74-2e-b8.localdomain.53632: Flags [R], seq 3192735672, win 0, length 0
> 21:32:27.947674 IP xo-74-2e-b8.localdomain.53633 > xo-74-2e-b8.localdomain.46011: Flags [F.], seq 345, ack 753, win 4257, options [nop,nop,TS val 23013 ecr 12819], length 0
> 
> 
> 
> 
> 
> 2014-01-27 <sugar-devel-request at lists.sugarlabs.org>
> 
> Date: Mon, 27 Jan 2014 10:00:26 +1100
> From: James Cameron <quozl at laptop.org>
> To: sugar-devel at lists.sugarlabs.org
> Subject: Re: [Sugar-devel] Sugar web activity wait 1 minute at startup
> Message-ID: <20140126230026.GC26300 at us.netrek.org>
> Content-Type: text/plain; charset=us-ascii
> 
> Delays of around 40 seconds are consistent with host name resolution
> timeout.  Either forward or reverse.
> 
> Use tcpdump to capture network traffic, on both internal and external
> network interfaces, and look for host lookups.
> 
> --
> James Cameron
> http://quozl.linux.org.au/
> 
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel



More information about the Sugar-devel mailing list