Return-Path: Delivered-To: apmail-jakarta-turbine-jcs-user-archive@www.apache.org Received: (qmail 98199 invoked from network); 14 Jan 2005 05:46:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jan 2005 05:46:49 -0000 Received: (qmail 5968 invoked by uid 500); 14 Jan 2005 05:46:48 -0000 Delivered-To: apmail-jakarta-turbine-jcs-user-archive@jakarta.apache.org Received: (qmail 5828 invoked by uid 500); 14 Jan 2005 05:46:48 -0000 Mailing-List: contact turbine-jcs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine JCS Users List" Reply-To: "Turbine JCS Users List" Delivered-To: mailing list turbine-jcs-user@jakarta.apache.org Received: (qmail 5815 invoked by uid 99); 14 Jan 2005 05:46:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from hagen.doit.wisc.edu (HELO smtp7.wiscmail.wisc.edu) (144.92.197.163) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 13 Jan 2005 21:46:46 -0800 Received: from avs-daemon.smtp7.wiscmail.wisc.edu by smtp7.wiscmail.wisc.edu (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) id <0IAA00401LDVQB@smtp7.wiscmail.wisc.edu> for turbine-jcs-user@jakarta.apache.org; Thu, 13 Jan 2005 23:46:43 -0600 (CST) Received: from dellpc (c-67-168-40-41.client.comcast.net [67.168.40.41]) by smtp7.wiscmail.wisc.edu (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPSA id <0IAA0040ZLDTLV@smtp7.wiscmail.wisc.edu> for turbine-jcs-user@jakarta.apache.org; Thu, 13 Jan 2005 23:46:42 -0600 (CST) Date: Thu, 13 Jan 2005 21:48:05 -0800 From: Aaron Smuts Subject: RE: Thread deadlock in CacheEventQueue class In-reply-to: <41E40422.5060900@connextra.com> To: 'Turbine JCS Users List' Message-id: <001101c4f9fc$9ea62560$6401a8c0@smuts> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailer: Microsoft Outlook, Build 10.0.2627 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Score: X-Spam-Report: IsSpam=no, Probability=7%, Hits=__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_MSMAIL_PRI 0, __HAS_X_MAILER 0, __HAS_X_PRIORITY 0, __MIME_VERSION 0, __SANE_MSGID 0 X-Spam-PmxInfo: Server=avs-8, Version=4.7.0.111621, Antispam-Engine: 2.0.2.0, Antispam-Data: 2005.1.13.31, SenderIP=67.168.40.41 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I suspect that it was the remove / put problem that I solved in 1.1.2. It was the only known problem of that sort. It may be due to iteration but I thought this was resolved. Iteration is very problematic on an active collection. There is no really good way to do it. We basically copy the keys in fail fast mode. Were you seeing unrecoverable deadlock or just temporary lags? I'll try some more strenuous testing. The big problem is that it is very difficult to create automated tests for the remote and lateral caches. I mainly rely on the tester script. I have a random function that will beat the hell out of the cache. . . . . Aaron > -----Original Message----- > From: Matthew Cooke [mailto:matthew@connextra.com] > Sent: Tuesday, January 11, 2005 8:52 AM > To: turbine-jcs-user@jakarta.apache.org > Subject: RE: Thread deadlock in CacheEventQueue class > > We had major problems when we used the remotecache configuration in push > mode rather than delete mode (removeOnPut). > > At the time we strongly suspected a deadlock caused by the local puts > placing cached items back into the local memory caches when they > recieved async put events from the remotecache. > > Could the deadlock we were seeing when using remotePuts have been the > same thing? We are quite keen to try remotePuts again as this > functionality would be very useful to us (would allow iteration over > whole caches on individual machines). As the deadlock was only occuring > under high load we don't have a reliable way to test. > > Any advice appreciated! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org