Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 41801 invoked from network); 16 Dec 2005 21:39:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Dec 2005 21:39:43 -0000 Received: (qmail 36249 invoked by uid 500); 16 Dec 2005 21:39:40 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 36189 invoked by uid 500); 16 Dec 2005 21:39:40 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 36178 invoked by uid 99); 16 Dec 2005 21:39:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 13:39:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of bloritsch@d-haven.org designates 65.212.180.79 as permitted sender) Received: from [65.212.180.79] (HELO pyramid-04.kattare.com) (65.212.180.79) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 13:39:39 -0800 Received: from [127.0.0.1] (pool-141-156-243-245.res.east.verizon.net [141.156.243.245]) (authenticated bits=0) by pyramid-04.kattare.com (8.12.11/8.12.11) with ESMTP id jBGLdHHk002688 for ; Fri, 16 Dec 2005 13:39:19 -0800 Message-ID: <43A333FA.6030303@d-haven.org> Date: Fri, 16 Dec 2005 16:39:06 -0500 From: Berin Loritsch User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Cocoon hang in excalibur-pool References: <43A21058.7020606@dslextreme.com> <43A23A61.3040501@reverycodes.com> <43A26DFA.7090006@dslextreme.com> <43A2DFBC.8040209@reverycodes.com> <43A2E73E.5000408@dslextreme.com> <43A2F34A.30000@reverycodes.com> In-Reply-To: <43A2F34A.30000@reverycodes.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Vadim Gritsenko wrote: > Ralph Goers wrote: > >> OK. I'm wondering if the real problem is simply that the getDocument >> method is completely synchronized? > > > It's *good*. You don't really want several threads trying to load > *same* document. > > It's not perfect though. I see that XMLFileModule, when used in > conjunction with cocoon:// protocol, might be a bit ... inefficient. > > Usage of DelayedValidity is prescribed here. Do you want to make a > stab at implementing delay: protocol? :) Does the cocoon:// URL call a pipeline you are using in another segment of your overall pipeline? Recursion in the pipeline calling stack can lead to locks. > > >>> * Why it is blocking (I guessed it is blocking due to resource >>> exhaustion) >> >> >> My guess is that the requests are simply coming in faster than >> XMLFileModule is taking to release the lock. > > > That's not important, IMHO. Problem is in pool's lock, not > XMLFileModule's lock. Are you sure?