Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 85258 invoked from network); 29 Aug 2009 06:05:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Aug 2009 06:05:38 -0000 Received: (qmail 74490 invoked by uid 500); 29 Aug 2009 06:05:37 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 74364 invoked by uid 500); 29 Aug 2009 06:05:37 -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 74343 invoked by uid 99); 29 Aug 2009 06:05:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Aug 2009 06:05:37 +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; Sat, 29 Aug 2009 06:05:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE643234C48D for ; Fri, 28 Aug 2009 23:05:15 -0700 (PDT) Message-ID: <770275999.1251525915776.JavaMail.jira@brutus> Date: Fri, 28 Aug 2009 23:05:15 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-903) ActivemMQ slows down after a rather small number of 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 [ https://issues.apache.org/activemq/browse/AMQ-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies resolved AMQ-903. ---------------------------- Resolution: Fixed Fix Version/s: (was: 5.4.0) 5.3.0 Looks resolved in current release > ActivemMQ slows down after a rather small number of messages > ------------------------------------------------------------ > > Key: AMQ-903 > URL: https://issues.apache.org/activemq/browse/AMQ-903 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.0.1 > Reporter: Daniel Aioanei > Fix For: 5.3.0 > > Attachments: activemq.xml > > > I have activemq with a postgresql backend running as a standalone server, and a client application that produces persistent messages in 50 threads. Each time I run my app it pushes as many msg as it can for about 62.5 seconds after which it quits. Although initially it works fast, every time I run my app it produces less messages: > enqueue speed 50 threads: msg/second: 334.18333333333334 > second time: msg/second: 194.15 > third time: msg/second: 123.0 > fourth time: msg/second: 58.61666666666667 > fifth time: msg/second: 19.433333333333334 > sixth time: msg/second: 33.81666666666667 > seventh time: msg/second: 11.783333333333333 > eigth time: msg/second: 24.733333333333334 > ninght time: msg/second: 10.883333333333333 > After I ran the above test there seem to be 50241 msg in that queue. > activemq=> select count(1) from activemq_msgs ; > count > ------- > 50241 > (1 row) > activemq=> select count(1) from activemq_acks ; > count > ------- > 0 > (1 row) > Note that I don't have any message consumers active for this test. > Here is the way the client app connects: > class="org.apache.activemq.ra.ActiveMQResourceAdapter"> > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.