Hi
I have checked my timer by using a LED and is called every 250ms (tcp_tmr)
I also have a capture of traffic (ooseg.pcap) with dump of active pcbs
(pcbs.txt)
The lwip is on 192.168.0.1 with webserver using multisessions, the actuel
page consists of 3 files (3 sessions), html, css and gif  


Med vänlig hälsning/Best Regards
Jan Wester

_________________________________ 
WHI Konsult AB
Scheelegatan 11, 112 28 Stockholm, Sweden
www.whi.se
[EMAIL PROTECTED]
+46 8 449 05 30

-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Kieran Mansley
Skickat: den 2 januari 2008 14:27
Till: Mailing list for lwIP users
Ämne: Re: SV: [lwip-users] Re: TCP_SEG Leak ...

On Wed, 2008-01-02 at 14:10 +0100, Jan Wester wrote:
> Hi
> I have temporary removed the patch for check of active pcb i CLOSING 
> state, I have waited for 20 minutes but the problem is still where and 
> after a while all pcbs is in this state and no more connection can bee 
> done I add a the dump of active pcbs, let me know how I can go further

A packet capture of the traffic over this period (from before the
connections were closed until they get into the state you describe
above) would be helpful.  I would also check that your TCP timers are firing
properly: this could be as simple as just printing something out each time
the slow timer fires (tcp_slowtmr() function) if you have a system where you
can see printed messages.

Thanks

Kieran



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users
Watch1
  tcp_active_pcbs = Ptr(0x04006080) = Ptr(memp_memory[2688])
    *tcp_active_pcbs = ((0x0100A8C0),(0x2F00A8C0),0x0000,\x00 (0x00),\xFF 
(0xFF),Ptr(0x00000000) = NULL,CLOSING,'@' (0x40),Ptr(0x040107A4) = 
Ptr(httpHandlerArr[8].pcb),0x0050,0x0473,' ' 
(0x20),0x04AB5F58,0x01FF,0x000000C7,\x00 (0x00),\x00 
(0x00),0xFFFF,0x0200,0x00000000,0x00001EC7)
      local_ip = (0x0100A8C0)
      remote_ip = (0x2F00A8C0)
      so_options = 0x0000
      tos = \x00 (0x00)
      ttl = \xFF (0xFF)
      next = Ptr(0x00000000) = NULL
      state = CLOSING
      prio = '@' (0x40)
      callback_arg = Ptr(0x040107A4) = Ptr(httpHandlerArr[8].pcb)
      local_port = 0x0050
      remote_port = 0x0473
      flags = ' ' (0x20)
      rcv_nxt = 0x04AB5F58
      rcv_wnd = 0x01FF
      tmr = 0x000000C7
      polltmr = \x00 (0x00)
      pollinterval = \x00 (0x00)
      rtime = 0xFFFF
      mss = 0x0200
      rttest = 0x00000000
      rtseq = 0x00001EC7
      sa = 0x0000
      sv = 0x0003
      rto = 0x0003
      nrtx = \x00 (0x00)
      lastack = 0x0000210E
      dupacks = \x01 (0x01)
      cwnd = 0x0400
      ssthresh = 0x0300
      snd_nxt = 0x0000210D
      snd_max = 0x0000210E
      snd_wnd = 0x2000
      snd_wl1 = 0x04AB5F57
      snd_wl2 = 0x0000210E
      snd_lbb = 0x0000210E
      acked = 0x0000
      snd_buf = 0x0800
      snd_queuelen = 0x0000
      unsent = Ptr(0x00000000) = NULL
      unacked = Ptr(0x00000000) = NULL
      ooseq = Ptr(0x00000000) = NULL
      sent = Ptr(0x00000000) = NULL
      recv = Ptr(0x00000000) = NULL
      connected = Ptr(0x00000000) = NULL
      accept = Ptr(0x00025BE0) = Ptr(httpAccept)
      poll = Ptr(0x00000000) = NULL
      errf = Ptr(0x00000000) = NULL
      keep_idle = 0x006DDD00
      keep_cnt_sent = \x00 (0x00)

Attachment: ooseg.pcap
Description: Binary data

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to