lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] memp_malloc: out of memory in pool TCP_PCB


From: address@hidden
Subject: Re: [lwip-users] memp_malloc: out of memory in pool TCP_PCB
Date: Thu, 24 Oct 2019 20:27:50 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Am 24.10.2019 um 18:57 schrieb Mário Luzeiro:
Hello all,

I'm running a HTTPD over ALTPCB / MBEDTLS

It all works ok until I start to make lots os http requests (eg open multiple 
pages)
No matter how much I increase MEMP_NUM_TCP_PCB, after a while, I will get this 
error:
memp_malloc: out of memory in pool TCP_PCB

I notice that httpd is closing the connection, also I got
tcp_slowtmr: no active pcbs

but if I debug TCP_PCB they will keep the value high and event if I close all 
webpages in the browser, I will get the errors when I get back to open a new 
webpage request.

Is that error a normal behavior or how can I fix it?

No, that's not normal behaviour. It seems like old connections aren't
properly closed and then no new connections can be opened.

Regards,
Simon



reply via email to

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