Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 51137 invoked from network); 29 May 2008 12:08:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2008 12:08:25 -0000 Received: (qmail 54945 invoked by uid 500); 29 May 2008 12:08:26 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 54909 invoked by uid 500); 29 May 2008 12:08:26 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 54886 invoked by uid 99); 29 May 2008 12:08:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 05:08:26 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 12:07:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7F40C234C128 for ; Thu, 29 May 2008 05:08:00 -0700 (PDT) Message-ID: <2039471034.1212062880519.JavaMail.jira@brutus> Date: Thu, 29 May 2008 05:08:00 -0700 (PDT) From: "Geoff Holden (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-1748) Deadlock when TempUsage limit reached In-Reply-To: <738790667.1211891754381.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Geoff Holden updated AMQ-1748: ------------------------------ Attachment: missing-file.patch I had accidentally left a file out of the previous patch. I've attached a patch for that missing file, which should take care of the unit test regressions. > Deadlock when TempUsage limit reached > ------------------------------------- > > Key: AMQ-1748 > URL: https://issues.apache.org/activemq/browse/AMQ-1748 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.0.0, 5.1.0 > Environment: Tested on Linux > Reporter: Geoff Holden > Assignee: Rob Davies > Fix For: 5.2.0 > > Attachments: missing-file.patch, TempUsageDeadlock.patch > > > If a SystemUsage limit is set on TempUsage, and that limit is reached, that queue enters a state of deadlock where messages need to be removed so new ones can be added, but they can't be removed because the objects are locked. > I have a patch attached to this issue where the synchronization in StoreQueueCursor and FilePendingMessageCursor is reworked to get around this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.