[ECOS] Re: Re: accept() FreeBSD hangs when out of resources

Andrew Lunn andrew@lunn.ch
Tue Jun 12 11:06:00 GMT 2007


On Mon, Jun 11, 2007 at 04:14:45PM -0800, Tad wrote:
> Andrew Lunn wrote:
> >What i would ideally like is a test case we can add to the standard
> >tests. The test case should fail now, but once we have fix the problem
> >we can keep the test case for regression tests.
> 
> 16 rapid http POSTS to any ATHTTP server compiled with 16 max sockets 
> should lock the server up forever (as long as they're 
> <CYG_HTTPD_SOCKET_IDLE_TIMEOUT(300) secs so the TCP conns stay in 
> ESTABLISHED rather than TIMED_WAIT)

So, maybe you can modify the server test case, assuming there is one,
by adding a new thread which makes 16 connections to 127.0.0.1:80.

   Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list