Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 62571 invoked from network); 31 Dec 2005 21:15:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Dec 2005 21:15:45 -0000 Received: (qmail 41492 invoked by uid 500); 31 Dec 2005 21:15:33 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 41450 invoked by uid 500); 31 Dec 2005 21:15:32 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 41439 invoked by uid 99); 31 Dec 2005 21:15:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2005 13:15:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [216.193.197.226] (HELO gs3.inmotionhosting.com) (216.193.197.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Dec 2005 13:15:31 -0800 Received: from c66-235-49-126.sea2.cablespeed.com ([66.235.49.126]:56574 helo=[192.168.1.102]) by gs3.inmotionhosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1Eso4I-0000qf-8g for dev@httpd.apache.org; Sat, 31 Dec 2005 13:15:14 -0800 Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <43B66504.1040503@force-elite.com> References: <4393E8C9.6060804@force-elite.com> <43B66504.1040503@force-elite.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <71C01EBC-44A9-415C-8CEA-58AC3E2C5DE9@apache.org> Content-Transfer-Encoding: 7bit From: Brian Pane Subject: Re: Event MPM: Spinning on cleanups? Date: Sat, 31 Dec 2005 13:16:07 -0800 To: dev@httpd.apache.org X-Mailer: Apple Mail (2.746.2) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gs3.inmotionhosting.com X-AntiAbuse: Original Domain - httpd.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - apache.org X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Dec 31, 2005, at 3:01 AM, Paul Querna wrote: > I haven't been able to reproduce this since reporting it, and I am > still running the Event MPM, but I did recently upgrade from > FreeBSD 5.4 -> 6.0... If its a rare race condition, that might be > enough to hide it. The bucket allocator cleanup problem might have been a contributing factor. Here's the patch I checked in to the trunk late yesterday: http://svn.apache.org/viewcvs?rev=360257&view=rev The async write logic may have increased the probability of buckets remaining in brigades in the connection pool after the last request has been processed on that connection (e.g., if a client drops the connection before the response is completely sent). That would be enough to trigger the "freeing buckets allocated from an allocator that has already been destroyed" situation. Brian