Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 9478 invoked from network); 6 Oct 2010 12:08:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 12:08:06 -0000 Received: (qmail 57209 invoked by uid 500); 6 Oct 2010 12:08:06 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 57111 invoked by uid 500); 6 Oct 2010 12:08:05 -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 57103 invoked by uid 99); 6 Oct 2010 12:08:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 12:08:04 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 12:08:02 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o96C7e7B004544 for ; Wed, 6 Oct 2010 12:07:40 GMT Message-ID: <8282196.47001286366860413.JavaMail.jira@thor> Date: Wed, 6 Oct 2010 08:07:40 -0400 (EDT) From: "Roelof Naude (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2962) Hanging at startup In-Reply-To: <4290403.46991286366620375.JavaMail.jira@thor> 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 [ https://issues.apache.org/activemq/browse/AMQ-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roelof Naude updated AMQ-2962: ------------------------------ Attachment: thread_dump_during_hang.txt debug_traces_startup.log debug_traces_hanging.log debug_traces_hanging -> log file entries during hang debug_traces_startup -> debug traces during startup with non-expired, persisted messages thread_dump_during_hang -> thread stack dump during hang > Hanging at startup > ------------------ > > Key: AMQ-2962 > URL: https://issues.apache.org/activemq/browse/AMQ-2962 > Project: ActiveMQ > Issue Type: Bug > Components: Message Store > Affects Versions: 5.4.1 > Environment: Fedora Core 12 > Reporter: Roelof Naude > Priority: Minor > Attachments: debug_traces_hanging.log, debug_traces_startup.log, thread_dump_during_hang.txt > > > Noticed today the activemq was hanging during startup. Investigation revealed that it is tied to expiration of messages at startup. The only way to recover from this was to kill -9 the VM and delete the kahadb message store. > Further testing was done whereby message expiry time was set to longer period. AMQ started up just fine. Another test was performed whereby: > 1. subscribe for messages > 2. send a few messages > 3. disconnect consumer > 4. send more messages (1 or 2 will do) > 5. shutdown AMQ > 6. wait for a time period exceeded the expiration time of the messages > 7. start AMQ. at this time it should be hanging > Logs and thread dumps attached. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.