From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16181 invoked by alias); 12 Jun 2007 03:57:49 -0000 Received: (qmail 16171 invoked by uid 22791); 12 Jun 2007 03:57:49 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Jun 2007 03:57:47 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1HxxVo-00051Z-00; Tue, 12 Jun 2007 05:57:44 +0200 Date: Tue, 12 Jun 2007 11:19:00 -0000 To: Tad Cc: eCos Disuss Message-ID: <20070612035744.GL26816@lunn.ch> Mail-Followup-To: Tad , eCos Disuss References: <466DDDCF.1040506@ds3switch.com> <20070611230045.GI26816@lunn.ch> <466DE575.9010406@ds3switch.com> <20070612035104.GK26816@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070612035104.GK26816@lunn.ch> User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: Re: accept() FreeBSD hangs when out of resources X-SW-Source: 2007-06/txt/msg00122.txt.bz2 On Tue, Jun 12, 2007 at 05:51:04AM +0200, Andrew Lunn wrote: > 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 > > > 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. Actually, tcp_lo_test.c probably has 90% of the code you need for writing a much simpler test case. 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