Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 63390 invoked from network); 22 Feb 2011 13:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 13:38:43 -0000 Received: (qmail 18082 invoked by uid 500); 22 Feb 2011 13:38:43 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 17786 invoked by uid 500); 22 Feb 2011 13:38:40 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 17778 invoked by uid 99); 22 Feb 2011 13:38:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 13:38:39 +0000 X-ASF-Spam-Status: No, hits=4.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.138.90.86] (HELO nm23.bullet.mail.ne1.yahoo.com) (98.138.90.86) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 22 Feb 2011 13:38:29 +0000 Received: from [98.138.90.57] by nm23.bullet.mail.ne1.yahoo.com with NNFMP; 22 Feb 2011 13:38:07 -0000 Received: from [98.138.89.233] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 22 Feb 2011 13:38:07 -0000 Received: from [127.0.0.1] by omp1048.mail.ne1.yahoo.com with NNFMP; 22 Feb 2011 13:37:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 789029.77277.bm@omp1048.mail.ne1.yahoo.com Received: (qmail 94592 invoked by uid 60001); 22 Feb 2011 13:37:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298381858; bh=3l59yY8pMSNNeMOVKp4YOse2RAwwKkGxnC8+QxvC8AA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=gF6UnHFgE17d8DQWZWetaZRoJLfF732ES0UPKrf7HIfl560rXkaQmOoVI6CqnO+jxR0yhd/8te7VSOBaeGNJk/XNkxU804xteCTfCVWsp5RMc8v2jfdPnZlTgYWpveHu2uMdikDWXKn+OsqYXmAOpQerlcnkcTSmS1tKFFHMcrY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=lo/HRqTSoZu4LMGlac9y+CfvZrEE0KwVvRwYijSP523ycwFbnmMQYAyxP80QzxVDGlOw0ej3r/7xTc4JfZN9Ay9B8PcPUpr9Id4T/YZkUTO78yVzM+D0fBEUPWBwkIRvooTAyyfjD63pk6Uc5c7iSZYwMewH7/uis4MRmmWIGgI=; Message-ID: <846129.94584.qm@web111722.mail.gq1.yahoo.com> X-YMail-OSG: cyi_fAgVM1mO0_2_rqcg0K0_CK0tyOf91f8wAks7y6PtMJY U58ZQVt3Mg6bl8ipp8CVIwyOR7l0Py.8.PJbBVoj.wAOya3kBMF9tSnI.owm CMUCHSF6eSabkYQTjDuqj2zgODycqL8PhfFOVEUQRFyBqVcOt75L0bNF53OA cZeJa6y6AJWvk9fvrodPmx14gnTbWxnKhFT8y7kER7.W_SbluH_Aky5nIyyA lYCUyIBbIbAgL089kvO2_L0U7LUXBieAt8QsZtXz9ywAhEpOiQ.YvSj7a5MR QS8AXEr7lUw2Co8K0Q.FmKuwB1QuI5vg4ZwnVnJJbQ8OaCS.Ez7WDzS3_mGs K.PYuipbA3Vavu00DAtqFdJuLa8reTD8T.0KY0TP98QP5f5GFaWqMAb7n3MR 5RUtx90AV9r5C Received: from [195.82.130.14] by web111722.mail.gq1.yahoo.com via HTTP; Tue, 22 Feb 2011 05:37:38 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Tue, 22 Feb 2011 05:37:38 -0800 (PST) From: alex marina Subject: Re: ISMLocking in two nodes cluster To: users@jackrabbit.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-621312207-1298381858=:94584" X-Virus-Checked: Checked by ClamAV on apache.org --0-621312207-1298381858=:94584 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi John, Thank you for your answer. The problem is like that: we have a jackrabbit 1.x deployment. Now our clie= nt needs to install a jackrabbit cluster. We gave a try and when a node was= accessed=A0concurrently=A0from the two nodes we got an Invalid Item State = Exception. We are now trying to use the FineGrainedISMLocking (we also tried DefaultIS= MLocking) but there seems to be no difference. Alex --- On Tue, 2/22/11, John Langley wrote: From: John Langley Subject: Re: ISMLocking in two nodes cluster To: users@jackrabbit.apache.org Date: Tuesday, February 22, 2011, 7:29 AM jcr-2865 may be the fix you're asking about. Just FYI, I'm testing 2.1.4-SNAPSHOT as well and there may be issues there too. Earlier fixes e.g. jcr-2865 made things somewhat better, but as is typical for performance related issues, it may have just moved the problem. I'm in the process of exploring. As some background, I was able to push 2.2.4 to around 500 concurrent threads (via a jmeter load generator) and it held up pretty well, whereas 2.1.4-SNAPSHOT is having problems around 100 concurrent threads/requests I still have to dig into. By the way, I still haven't gotten 2 nodes simultaneously updating the same db w/out problems, each performance level test I do starts with clustering enabled but just one node in the cluster (as this triggered the error that showed in jcr-2865), then I take it to the next level by adding first another node, and then finally hitting both nodes simultaneously with the same load generator used to test the single node). Note: all my testing is in glassfish 2.x with a mysql 5.0 db backend. Be sure to "balance" your configuration, e.g. never make the number of connections enabled in your appserver db pool greater than the number of ma= x connections supported by your db, this will cause you grief. -- Langley On Tue, Feb 22, 2011 at 5:40 AM, alex marina wrote= : > Hi guys, > I want to accomplish concurrency control in a two nodes cluster deploymen= t > of jackrabbit. I use FineGrainedISMLocking at the workspace and versionin= g > level in the configuration file, but it seems that is not working (on > jackrabbit 1.5.5 or 1.6.4). > Is there any other config that should be applied or is there any known > issue? > Thank you,Alex > > > =0A=0A=0A --0-621312207-1298381858=:94584--