From activemq-users-return-187-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Fri Mar 24 02:27:59 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 90915 invoked from network); 24 Mar 2006 02:27:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2006 02:27:59 -0000 Received: (qmail 20341 invoked by uid 500); 24 Mar 2006 02:27:58 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 20319 invoked by uid 500); 24 Mar 2006 02:27:58 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 20308 invoked by uid 99); 24 Mar 2006 02:27:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 18:27:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [64.14.253.182] (HELO mail.exist.com) (64.14.253.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 18:27:57 -0800 Received: from jlim ([58.71.13.194]) (authenticated bits=0) by mail.exist.com (8.12.11/8.12.11) with ESMTP id k2O2xiiK022978 for ; Thu, 23 Mar 2006 18:59:46 -0800 Message-ID: <019301c64eea$82f89200$a1f1a8c0@jlim> From: "Jonas Lim" To: References: <3563746.post@talk.nabble.com> Subject: Re: Can't send more than 32067 Messages... Date: Fri, 24 Mar 2006 10:27:30 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Natron, Would you mind attaching your client code? I tried testing it on the latest snapshot and also the 4.0-M4 version using the client examples (amq\example\) that goes with the distro and didn't have any issue. Regards, Jonas ----- Original Message ----- From: "natron" To: Sent: Friday, March 24, 2006 8:47 AM Subject: Can't send more than 32067 Messages... > > Hi, > > I'm using ActiveMQ-4.0-M4 (I tried using the latest nightly build but I > can't get any clients to connect via the TCP transport). > > I've run 2 sets of tests using TextMessages containing a 241 byte string > and > a 23 byte string - both messages are similar in size to the kinds of > messages my system will need to send. > > When I start sending 241 byte messages to a Topic at a rate of about > 93/sec, > I am able to get only 19240 messages through before the server halts all > traffic. I have to shutdown and restart the server before I can pass any > more data through. > > When I do exactly the same thing with 23 byte messages, I am able to pass > 32067 messages through. > > I ran both of these tests 3 times each and every time I came up with > exactly > the same numbers. There are never any exceptions thrown on clients or the > server. Everything just quietly halts. > > Here is how I am creating my client sessions: > sess = tc.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE); > > Also, this is using the TCP transport: > > > > > I am not using any kind of persistence nor am I interested in persisting > any > data. I have "persistent="false"" in my activemq.xml file. > > Can someone please help? > > Thanks, > Natron > -- > View this message in context: > http://www.nabble.com/Can%27t-send-more-than-32067-Messages...-t1333914.html#a3563746 > Sent from the ActiveMQ - User forum at Nabble.com.