Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 99769 invoked from network); 21 Dec 2009 13:00:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 13:00:37 -0000 Received: (qmail 99116 invoked by uid 500); 21 Dec 2009 13:00:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 99043 invoked by uid 500); 21 Dec 2009 13:00:36 -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 99033 invoked by uid 99); 21 Dec 2009 13:00:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 13:00:36 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 21 Dec 2009 13:00:26 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NMhrp-0006Yb-AR for users@activemq.apache.org; Mon, 21 Dec 2009 05:00:05 -0800 Message-ID: <26873675.post@talk.nabble.com> Date: Mon, 21 Dec 2009 05:00:05 -0800 (PST) From: Joe Fernandez To: users@activemq.apache.org Subject: Re: Slow sending of messages In-Reply-To: <3a73c17c0912210417x1856d015u9543e8679abd6b66@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: joe.fernandez@ttmsolutions.com References: <26849964.post@talk.nabble.com> <26865030.post@talk.nabble.com> <26867191.post@talk.nabble.com> <3a73c17c0912210417x1856d015u9543e8679abd6b66@mail.gmail.com> One other thing you might want to also do is yank persistent=false out of your broker element and instead set the message delivery mode at the message or session level. In my testing, setting persistent=false precludes the broker from creating the message store and thus non-persistent messages will not overflow into the temp store if and when the queue fills up. Joe Gary Tully wrote: > > Your policyEntry does not disable producer flow control, add. > > > > also there is a VMPendingMessageCursor that will maintain all references > in > memory. See the end of > http://activemq.apache.org/message-cursors.html for details. > > > 2009/12/20 Adrian A > >> >> Hi Joe >> >> I have tried lots of configs but this one below is the most simple for >> example. >> Sending either object messages or map messages. >> >> Any ideas what the pagedin is referring to? Is there a cursor that >> guarantees no disk paging and just memory? >> >> Running the fuse version. >> >> Thanks for any help! >> >> Adrian >> >> > xmlns="http://www.springframework.org/schema/beans" >> xmlns:amq="http://activemq.apache.org/schema/core" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://www.springframework.org/schema/beans >> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd >> http://activemq.apache.org/schema/core >> http://activemq.apache.org/schema/core/activemq-core.xsd >> http://activemq.apache.org/camel/schema/spring >> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd"> >> >> >> > >> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> >> >> >> file:${activemq.base}/conf/credentials.properties >> >> >> >> > brokerName="localhost" dataDirectory="${activemq.base}/data" >> advisorySupport="false" persistent="false"> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > uri="multicast://default"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > discoveryUri="multicast://default"/> >> >> >> >> >> >> >> >> >> >> >> >> > resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true"/> >> > resourceBase="${activemq.base}/webapps/console" logUrlOnStart="true" /> >> >> >> >> >> >> >> >> Joe Fernandez wrote: >> > >> > Hi, >> > >> > Can you post your broker's cfg file? >> > >> > Also, what is the average size of the non-persistent messages that >> you're >> > pushing through the broker? >> > >> > Joe >> > http://www.ttmsolutions.com >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Slow-sending-of-messages-tp26849964p26867191.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > -- > http://blog.garytully.com > > Open Source Integration > http://fusesource.com > > -- View this message in context: http://old.nabble.com/Slow-sending-of-messages-tp26849964p26873675.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.