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: Anirudha Sarangi
Subject: Re: [lwip-users] memp_malloc: out of memory in pool TCP_PCB
Date: Fri, 4 Nov 2011 19:19:09 +0800 (SGT)

Thanks a lot for the clarification.

From: Simon Goldschmidt <address@hidden>
To: Anirudha Sarangi <address@hidden>; Mailing list for lwIP users <address@hidden>
Sent: Friday, 4 November 2011 4:15 PM
Subject: Re: [lwip-users] memp_malloc: out of memory in pool TCP_PCB

Anirudha Sarangi <address@hidden> wrote:

memp_malloc: out of memory in pool TCP_PCB
 
Inspite of these messages webserver works. But these messages are really annoying and tell us that something horrible has happened.

No, that's normal: you ran out of pcbs, but the tcp code then closes that oldest pcb in TIME-WAIT state and then calls memp_malloc again, which then succeeds. This is why the web server continues to run normally.

In tcp, pcbs stay in TME_WAIT state for some minutes, so you would have to configure the tcp pcb pool very large to get rid of this message.

Simon

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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