Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 49257 invoked from network); 7 Jan 2004 22:09:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Jan 2004 22:09:26 -0000 Received: (qmail 86131 invoked by uid 500); 7 Jan 2004 22:09:10 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 86106 invoked by uid 500); 7 Jan 2004 22:09:10 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 86093 invoked from network); 7 Jan 2004 22:09:09 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 7 Jan 2004 22:09:09 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AeLrX-0003Rb-00 for ; Wed, 07 Jan 2004 23:09:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AeLrW-0003RT-00 for ; Wed, 07 Jan 2004 23:09:14 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AeLrW-00055R-00 for ; Wed, 07 Jan 2004 23:09:14 +0100 From: Sylvain Wallez Subject: Re: AW: AW: Cocoon 2.1.3 breakdown when load testing Date: Wed, 07 Jan 2004 23:09:12 +0100 Lines: 65 Message-ID: References: <95388DA5BD94D411B1E50002A528A91E02788F2F@pisces-exch.de.eu.corp.vizzavi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: fr, en, en-us In-Reply-To: <95388DA5BD94D411B1E50002A528A91E02788F2F@pisces-exch.de.eu.corp.vizzavi.net> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Rottmann, Lars wrote: >Hello again, > >my tests over the last night were partly successful. I managed to make a run >of about 7000000 requests and the server was still alive this morning. > > Wow, 7M requests overnight? Amazing! >This showed to me that my guess was obviously right. The log messages I >posted earlier raised the suspicion in me that maybe the StaticBucketMap >used by the excalibur-component package isn't really threadsafe. So I >patched the ExcaliburComponentManager and ExcaliburComponentSelector and >replaced all references to it with a java.util.Hashtable. Okay, I know this >is not the fastest solution, but it worked. The "ComponentLocator exception >from parent CM during lookup" appeared no longer in the logs. So I fear I've >found a serious bug there. > > This afternoon, a colleague of mine did some profiling on one of our apps and found what there's a constantly increasing number of StaticBucketMap$Lock objects. Maybe this is related to what you describe and we have a memory leak here. We'll investigate on this point also. >The tests were only partly sucessful as I said because I noticed a >considerable loss of performance over the time (over 75% in 14 hours). What >I really wonder about is that the transaction rate per second dropped from >one point the other from 170 to 60. At that time a file rotation of Cocoon's >logs took place. The transaction rate did not recover again. I will test >again this night without log rotation turned on to see if this has any >impact on the overall performance. > >Does anyone of you know if the following log message from the >cocoon-sitemap.log is of major importance? Might there be a link to the loss >of performance I noticed, maybe because of a declining number of available >pooled components? > >WARN (2004-01-06) 17:19.49:453 [sitemap] (/vsky/index.preg) >wap-4/ExcaliburComponentSelector: Attempted to release a org.apache.coc >oon.components.pipeline.impl.CachingProcessingPipeline but its handler could >not be located. > > This message can occur when a component is released several times. >I love posting the results of my performance tests and it's parameters once >I know that everythings works fine and stable over the time. > > Thanks! Considering the number of requests for your load tests, your results will be definitely very intersting. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com