Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 33332 invoked from network); 2 Sep 2009 05:24:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Sep 2009 05:24:33 -0000 Received: (qmail 54289 invoked by uid 500); 2 Sep 2009 05:24:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 54208 invoked by uid 500); 2 Sep 2009 05:24:33 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 54198 invoked by uid 99); 2 Sep 2009 05:24:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 05:24:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 05:24:22 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MiiKA-0002on-1t for users@activemq.apache.org; Tue, 01 Sep 2009 22:24:02 -0700 Message-ID: <25251841.post@talk.nabble.com> Date: Tue, 1 Sep 2009 22:24:02 -0700 (PDT) From: wo To: users@activemq.apache.org Subject: Producers hang under load with AMQ 5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: wo@bill.ee X-Virus-Checked: Checked by ClamAV on apache.org Hi. We're having a problem under moderate to heavy load (~2500 nonpersisted messages /second on a single broker) while producers will just hang indefinitely at some point and producer application needs to be restarted in order to continue. Here's a snippet from a producer application thread dump after hang: at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317) at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:40) at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:80) at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1195) at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1644) - locked <0x00002aaab5abeb30> (a java.lang.Object) at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:227) at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241) at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:597) So far we've tried upgrading AMQ from 5.1 to 5.2 and increasing the memory limits in broker config, both giving no result, the problem still exists. Neither application nor activemq log displays any errors / exceptions. One thing i have noticed is that for every message sent to a topic, there are 2 advisory messages being produced in ActiveMQ.Advisory.Producer.Topic.TOPICNAME which strikes me as odd but i haven't been able to find any information in forums or manual about whether this is normal behaviour? Producer side is a standalone Spring application with AMQ connectionfactory wrapped in spring SingleConnectionFactory and used in jmstemplate, as per example. Any insight would be greatly appreciated. Tanel Unt Core Developer Tracking Center Ltd. -- View this message in context: http://www.nabble.com/Producers-hang-under-load-with-AMQ-5.2-tp25251841p25251841.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.