Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 69282 invoked from network); 23 Jul 2008 13:55:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2008 13:55:50 -0000 Received: (qmail 171 invoked by uid 500); 23 Jul 2008 13:55:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 159 invoked by uid 500); 23 Jul 2008 13:55:38 -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 99987 invoked by uid 99); 23 Jul 2008 13:55:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 06:55:37 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG 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; Wed, 23 Jul 2008 13:54:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KLeo5-00020j-2q for users@activemq.apache.org; Wed, 23 Jul 2008 06:55:05 -0700 Message-ID: <18611282.post@talk.nabble.com> Date: Wed, 23 Jul 2008 06:55:05 -0700 (PDT) From: buchnerm To: users@activemq.apache.org Subject: Re: Constant load settings for acticemq.xml In-Reply-To: <18609147.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: markus.buchner@gmx.at References: <18609147.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org is there nobody who can help?? greetings max Hi - buchnerm wrote: > > Hi > > I try to use activemq but I always get some issues: > > I produce a load of 360 messages/sec on the "OIconveyer" Queue > and read with a camel component from this queue > > first it works fine: > write (360 messages/sec) > read (400 messages/sec) > > but after a while its getting lesser and lesser till its zero > > and ActiveMQ throws the following error: > > ********************************** > WARN AMQMessageStore - Message could not be removed from > long term store: Java heap space > java.lang.OutOfMemoryError: Java heap space > WARN AMQMessageStore - Message could not be added to long > term store: Java heap space > java.lang.OutOfMemoryError: Java heap space > WARN AMQMessageStore - Message could not be added to long > term store: Java heap space > java.lang.OutOfMemoryError: Java heap space > WARN AMQMessageStore - Message could not be removed from > long term store: Java heap space > java.lang.OutOfMemoryError: Java heap space > WARN AMQMessageStore - Message could not be added to long > term store: Java heap space > java.lang.OutOfMemoryError: Java heap space > WARN AMQMessageStore - Message could not be added to long > term store: Java heap space > java.lang.OutOfMemoryError: Java heap space > Exception in thread "NIO Transport Thread" java.lang.OutOfMemoryError: > Java heap space > Exception in thread "InactivityMonitor ReadCheck" > java.lang.OutOfMemoryError: Java heap space > WARN AMQMessageStore - Message could not be added to long > term store: Java heap space > java.lang.OutOfMemoryError: Java heap space > ERROR Queue - Failed to page in more queue > messages > java.lang.OutOfMemoryError: Java heap space > Exception in thread "DefaultMessageListenerContainer-643" Exception in > thread "ActiveMQ Transport Server Thread Handler: nio://localhost:61616" > java.lang.OutOfMemoryError: Java heap space > java.lang.OutOfMemoryError: Java heap space > ********************************** > > I have a really powerful box 32 cpu 16 MB Ram - Sun > and the cpu load is at 7 percent > > my activemq configuration is: > > (I added " persistent="true" " to broker tag because I heared that this > should help something) > > The problem I have that it should never happen that the jms stops taking > messages - it should store them persistent > > Please need help!!! > > > ********************************** > root@sunloaner03 # vi activemq.xml > "activemq.xml" 195 lines, 8456 characters > > > 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"/> > > brokerName="localhost" dataDirectory="${activemq.base}/data" > persistent="true" >> > > > > > > > > > > > > > > > > > > > > > > > > > > > uri="multicast://default"/> > > > > > directory="${activemq.base}/data" maxFileLength="1024mb"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > xmlns="http://activemq.apache.org/camel/schema/spring"> > > > org.foo.bar > > > > > > > > > > > > > > > > > > > > > resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true"/> > resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true"/> > resourceBase="${activemq.base}/webapps/fileserver" logUrlOnStart="true"/> > > > > > > > > > > > > > > > > > > > > ********************************** > > > -- View this message in context: http://www.nabble.com/Constant-load-settings-for-acticemq.xml-tp18609147p18611282.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.