lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] lwIP 0.5.2 under heavy use


From: James Roth
Subject: [lwip-users] Re: [lwip] lwIP 0.5.2 under heavy use
Date: Thu, 09 Jan 2003 01:47:21 -0000

To clarify, this is the message that appears just before failure:

    memp_malloc: out of memory in pool 4

Looks like 4 is MEMP_TCP_PCB_LISTEN, my MEMP_NUM_TCP_PCB_LISTEN is 8. 
 Why would this run out after thousands of successful, sequential 
connections?

James Roth wrote:

> Hi all,
>
>    Has anyone done stress testing on lwip?  I've been using ab (the 
> apache benchmark tool) and nmap (port scanner) on my system.  I find 
> that the system survives several minutes of heavy scanning and web 
> trafic, but eventually runs out of resources (I think).  This is the 
> case even when I am connecting one connection at a time and properly 
> closing the socket.
>
>    I use KROS RTOS on the Nios and the cs8900 driver.  The port is 
> nearly identical to the unixsim port, since KROS supports all of the 
> POSIX api calls used in unixsim.  My demo board puts out about 2 
> megabits/s via the web server app.
>
>    Any hints?
>

-- 
James Roth 



[This message was sent through the lwip discussion list.]




reply via email to

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