lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] no PCB match found at simultaneously TCP connections


From: Simon Goldschmidt
Subject: Re: [lwip-users] no PCB match found at simultaneously TCP connections
Date: Mon, 19 Feb 2018 12:53:47 +0100

twagner wrote:
> Her my mem and memp stats:
> mem = {name = 0x8042c7c "MEM", err = 0, avail = 10240, used = 0, max = 0,
> illegal = 0}
> memp = 
[..]
> name  const char *    0x8042e40 "TCP_PCB"     
> err   u16_t   0       
> avail mem_size_t      12      
> used  mem_size_t      8       
> max   mem_size_t      12      
> illegal       u16_t   0       

You say you have one modbus server but still 12 pcb connections? Is that 
correct?

Anyway, lwIP favored new connections over old connections. This was fixed in 
git,
but might not be fixed for you. You might still be running out of tcp pcbs.

If you have enough memory available, try setting MEMP_TCP_PCB really high.

Simon



reply via email to

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