From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 29 00:36:30 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A7431065689; Fri, 29 Aug 2008 00:36:30 +0000 (UTC) (envelope-from prvs=112715c899=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9A0B68FC16; Fri, 29 Aug 2008 00:36:29 +0000 (UTC) (envelope-from prvs=112715c899=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1219969137; x=1220573937; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=yV4K05LQS3gJ4NCg8KYat 1ZLjxzCJdBXSJa+Z7xxEAY=; b=oaE45Rs7HDI021r/YWnyDB+omDg6rCgRl3VGl bDtNzSM3W03+YccDCg5UDtBohEYP8ozwiiP1o3Sr5EDE8rYmcfjNd216Qzs7A9UH 2jPUT8aK/IW8NELJrjOwGs4ZUm2nK/e7QMY9J0ds9uWsb0Dn01rlUQaAO1aRW2Wi Z72rYQ= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, FORGED_MUA_OUTLOOK, USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.6) with ESMTP id md50006101210.msg; Fri, 29 Aug 2008 01:18:55 +0100 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 85.236.106.102 X-Return-Path: prvs=112715c899=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <78454DA58F8C48F8A31196BD2E407110@multiplay.co.uk> From: "Steven Hartland" To: "Robert Watson" References: Date: Fri, 29 Aug 2008 01:18:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 29 Aug 2008 01:18:56 +0100 X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 29 Aug 2008 01:18:57 +0100 Cc: freebsd-hackers@freebsd.org Subject: Re: lighttpd failing to accept new connections ( connection reset ) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2008 00:36:30 -0000 ----- Original Message ----- From: "Robert Watson" > The connections getting reset without application notification is a classic > symptom of a full listen queue. A couple of questions: Yep thats what I thought. > (1) What FreeBSD version? 7.0-RELEASE-p2 (amd64) > (2) Are you using accept filters? The modules there but not loaded, so no. > (3) If possibly, are you able to instrument lighthttpd so that you can trigger > it to query SO_LISTENQLIMIT, SO_LISTENQLEN, and SO_LISTENINCQLEN on the > listen socket once things have gone wrong? The respectively (and perhaps > obviously) querye the current administrative limit on queue depth, the > number queue depth on completed connections, and the current queue depth > on incomplete connections. The last of these will only be used with > accept filters on recent FreeBSD network stacks (since the syncache was > added). > > Hopefully doing (3) will allow us to try to determine whether it's indeed the > case that somehow the listen queue or event handling has gotten "wedged" in > some way. This should be possible, I'll have a look, assuming the kgdb stuff doesn't turn up the required results. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.