From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27656 invoked by alias); 11 Jun 2007 21:52:43 -0000 Received: (qmail 27647 invoked by uid 22791); 11 Jun 2007 21:52:43 -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; Mon, 11 Jun 2007 21:52:41 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1HxroS-0005N0-00; Mon, 11 Jun 2007 23:52:36 +0200 Date: Mon, 11 Jun 2007 22:14:00 -0000 To: Tad Cc: ecos-discuss@sources.redhat.com Message-ID: <20070611215236.GF26816@lunn.ch> Mail-Followup-To: Tad , ecos-discuss@sources.redhat.com References: <466DC965.5010803@ds3switch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <466DC965.5010803@ds3switch.com> 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] accept() FreeBSD hangs when out of resources X-SW-Source: 2007-06/txt/msg00110.txt.bz2 On Mon, Jun 11, 2007 at 02:15:01PM -0800, Tad wrote: > accept() won't return and won't timeout (>12hrs) when listen() indicates > a new connection, if out of sockets/file-descriptors and all TCP > connections are in ESTABLISHED state. Where exactly is it blocked. Please could you provide a call stack. The new fd and socket descriptor appears to be allocated in the fileio code before the network stack accept function is called. And i don't see how they can block when out of resources. > My other FreeBSD bug posts to bugzilla seem to be ignored, so I won't > bother sending this one there. The often are, since most of us don't automatically get notification of there creation and I in particular only poll it once a month or less. 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