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 EE9F2BEC9 for ; Fri, 7 Oct 2011 20:50:53 +0000 (UTC) Received: (qmail 41211 invoked by uid 500); 7 Oct 2011 20:50:53 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 41179 invoked by uid 500); 7 Oct 2011 20:50:53 -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 41166 invoked by uid 99); 7 Oct 2011 20:50:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 20:50:53 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 20:50:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BDCAC2AEC84 for ; Fri, 7 Oct 2011 20:50:29 +0000 (UTC) Date: Fri, 7 Oct 2011 20:50:29 +0000 (UTC) From: "Timothy Bish (Closed) (JIRA)" To: dev@activemq.apache.org Message-ID: <393750111.9858.1318020629778.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2050215746.5480.1310465459867.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (AMQ-3399) Dead lock in the create connection with producerFlowControl true MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AMQ-3399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish closed AMQ-3399. ----------------------------- Resolution: Cannot Reproduce I created a unit test to attempt to reproduce this using the 5.6 trunk code. I could not reproduce any deadlocks. If you can reproduce this using some version of the unit test please reopen and attach the updated testcase. > Dead lock in the create connection with producerFlowControl true > ---------------------------------------------------------------- > > Key: AMQ-3399 > URL: https://issues.apache.org/jira/browse/AMQ-3399 > Project: ActiveMQ > Issue Type: Bug > Components: Connector > Affects Versions: 5.5.0 > Environment: JDK 1.6 > Spring 3.0.5 > Reporter: Julien Gagnet > Attachments: AMQ3399Test.java, activemq-deadlock.zip, deadlock-thread.dump > > > We are running a scenerio were we used Active MQ to decouple an Audit logging. We don't want to affect performance of the main application for audit purpose so we send audit event to a JMS queue. We would prefer stay up and lose message if we cannot process them fast enough. So our config got: > a memoryUsage set quite high (200mb) > a sendFailIfNoSpace set to true > and a producerFlowControl set to true > Under those configuration and when the queue is full we get into a dead lock situation. > We've manage to reproduce the problem in a small application to demonstrate the problem - how do we attach example? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira