Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 14667 invoked from network); 18 Feb 2010 20:25:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 20:25:03 -0000 Received: (qmail 87782 invoked by uid 500); 18 Feb 2010 20:25:03 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 87732 invoked by uid 500); 18 Feb 2010 20:25:03 -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 87722 invoked by uid 99); 18 Feb 2010 20:25:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 20:25:03 +0000 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, 18 Feb 2010 20:25:01 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1A15129A0012 for ; Thu, 18 Feb 2010 12:24:40 -0800 (PST) Message-ID: <931504894.3541266524680097.JavaMail.jira@brutus.apache.org> Date: Thu, 18 Feb 2010 20:24:40 +0000 (UTC) From: "Mats Henrikson (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-2618) systemUsage tempUsage limit causes broker to lock up when using permanent queue with persistent messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org systemUsage tempUsage limit causes broker to lock up when using permanent queue with persistent messages -------------------------------------------------------------------------------------------------------- Key: AMQ-2618 URL: https://issues.apache.org/activemq/browse/AMQ-2618 Project: ActiveMQ Issue Type: Bug Components: Broker Affects Versions: 5.3.0 Reporter: Mats Henrikson It is possible to hang the broker when setting a systemUsage tempUsage limit with permanent queues and persistent messages. I have attached a test class that demonstrates the problem. I got the test case from AMQ-2610 and have essentially only added the line: {code} brokerService.getSystemUsage().getTempUsage().setLimit(10 * 1024 * 1024); {code} When that line is in the code the test case hangs after 995 messages, when the line is commented out it runs probably until it runs out of disk space. When the broker hangs a ctrl+C is not enough to shut it down, when connecting over JMX with JConsole the queue being used in the test will not render its attributes, you can't connect with another consumer or producer etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.