Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE158FA60 for ; Fri, 22 Mar 2013 17:01:17 +0000 (UTC) Received: (qmail 34773 invoked by uid 500); 22 Mar 2013 17:01:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 34703 invoked by uid 500); 22 Mar 2013 17:01:17 -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 34583 invoked by uid 99); 22 Mar 2013 17:01:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2013 17:01:17 +0000 Date: Fri, 22 Mar 2013 17:01:17 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-4399) jdbcPersistenceAdapter takes a long time to shutdown, causing journal recovery MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610935#comment-13610935 ] Gary Tully commented on AMQ-4399: --------------------------------- the default sync delay is quite large between the journal and the store, so the sync all takes place on shutdown, so the shutdown timeout needs to be extended to allow the sync to complete. > jdbcPersistenceAdapter takes a long time to shutdown, causing journal recovery > ------------------------------------------------------------------------------ > > Key: AMQ-4399 > URL: https://issues.apache.org/jira/browse/AMQ-4399 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.7.0 > Environment: 5.7.0.fuse-71-047 > MySQL with Journal > Reporter: Jason Shepherd > Attachments: activemq.xml > > > Using the attached configuration, we have configured JDBC persistence with a journal. After sending 30,000 messages to a queue, using persistent messages, we see that shutdown of the broker timeouts out and the process is killed by the OS. > After restarting the broker, a journal recovery takes place, which takes a long time to complete. We would like to avoid such a long restart time in this scenario. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira