lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Lwip 1.3.0 Running out of TCP PCB's fast


From: Jonathan Larmour
Subject: Re: [lwip-users] Lwip 1.3.0 Running out of TCP PCB's fast
Date: Wed, 27 Aug 2008 13:48:00 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

B B wrote:
> Now when i connect to the devices webpage, the number of used tcp_pcb
> goes up.
> And after 10 page hits, the stats say the following:
>  
> TCP_PCB avail: 10
> TCP_PCB used: 10
> TCP_PCB max: 10
> TCP_PCB err: 5
> TCP_PCB_LISTEN avail: 3
> TCP_PCB_LISTEN used: 1
> TCP_PCB_LISTEN max: 1
> TCP_PCB_LISTEN err: 0
>  
>  
> i've thought that "TCP_PCB used" should be 2, one for each connection.
> But that is not the case.
> Is there anything i can do to avoid this situation ?
>  
> here is my code for my webserver task:
>  
[snip]
>  
> Should the above cause this behaviour ?

I didn't notice anything incorrect in what you posted. But does
handleDHCP() allocate any PCBs?

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]