activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cybexion <cybex...@email.de>
Subject Re: Memoryleak when consuming messages from KahaDBStore
Date Fri, 13 Feb 2009 13:38:55 GMT

Btw:
These are my JVM settings (1.6.0_10)
# Java Additional Parameters
# note that n is the parameter number starting from 1.
wrapper.java.additional.1=-Dactivemq.home=%ACTIVEMQ_HOME%
wrapper.java.additional.2=-Dactivemq.base=%ACTIVEMQ_BASE%
wrapper.java.additional.3=-Dcom.sun.management.jmxremote
wrapper.java.additional.4=-Dorg.apache.activemq.UseDedicatedTaskRunner=true
wrapper.java.additional.5=-Dderby.storage.fileSyncTransactionLog=true

# Uncomment to enable jmx
wrapper.java.additional.6=-Dcom.sun.management.jmxremote.port=1099
wrapper.java.additional.7=-Dcom.sun.management.jmxremote.authenticate=false
wrapper.java.additional.8=-Dcom.sun.management.jmxremote.ssl=false

wrapper.java.additional.9=-XX:+UseParallelGC
wrapper.java.additional.10=-Xmn100M
wrapper.java.additional.11=-Xms500M
wrapper.java.additional.12=-verbose:gc
wrapper.java.additional.13=-XX:+PrintGCTimeStamps
wrapper.java.additional.14=-XX:+PrintGCDetails
wrapper.java.additional.15=-Xmx2560M
wrapper.java.additional.16=-server









Cybexion wrote:
> 
> Hello,
> 
> I'm working with the lastest 5.3 trunk and using the new KahaDBStore.
> Last night I made a test:
> I have a queue that contained >30 Mio messages. I started 20 consumers to
> empty the queue.
> The consumers are running in their own VM. While retrieving messages from
> AMW the memory consumption of AMQ was constantly increasing.
> 
> Currently the logs look like this:
> 
> 2009-02-13 09:08:33,461 [nitor ReadCheck] DEBUG
> .transport.InactivityMonitor$1 - 24404 ms elapsed since last read check.
> 2009-02-13 09:08:33,462 [itor WriteCheck] DEBUG
> .transport.InactivityMonitor$2 - 7049 ms elapsed since last write check.
> 2009-02-13 09:08:33,462 [nitor ReadCheck] DEBUG
> .transport.InactivityMonitor$1 - Aborting read check.. Not enough time
> elapsed since last read check.
> 2009-02-13 09:08:39,213 [itor WriteCheck] DEBUG
> .transport.InactivityMonitor$2 - 12800 ms elapsed since last write check.
> 2009-02-13 09:08:44,971 [itor WriteCheck] DEBUG
> .transport.InactivityMonitor$2 - 11510 ms elapsed since last write check.
> 2009-02-13 09:08:44,971 [itor WriteCheck] DEBUG
> .transport.InactivityMonitor$2 - 11509 ms elapsed since last write check.
> 2009-02-13 09:08:44,971 [itor WriteCheck] DEBUG
> .transport.InactivityMonitor$2 - 5758 ms elapsed since last write check.
> 2009-02-13 09:08:57,766 [nitor ReadCheck] DEBUG
> .transport.InactivityMonitor$1 - 31354 ms elapsed since last read check.
> 
> 
> The GC says:
> 
> INFO   | jvm 1    | 2009/02/13 09:09:28 | 70626.930: [Full GC
> INFO   | jvm 1    | 2009/02/13 09:09:33 |  [PSYoungGen:
> 67968K->22723K(84416K)] [PSOldGen: 2519039K->2519039K(2519040K)]
> 2587007K->2541763K(2603456K) [PSP
> ermGen: 28288K->28288K(28352K)]       GC time is exceeding GCTimeLimit of
> 98%
> INFO   | jvm 1    | 2009/02/13 09:09:33 | , 5.8210250 secs] [Times:
> user=5.80 sys=0.01, real=5.82 secs]
> INFO   | jvm 1    | 2009/02/13 09:09:33 | 70632.812: [Full GC
> INFO   | jvm 1    | 2009/02/13 09:09:39 |  [PSYoungGen:
> 67968K->22941K(84416K)] [PSOldGen: 2519039K->2519039K(2519040K)]
> 2587007K->2541981K(2603456K) [PSP
> ermGen: 28294K->28294K(28352K)]       GC time would exceed GCTimeLimit of
> 98%
> INFO   | jvm 1    | 2009/02/13 09:09:39 | , 5.8349920 secs] [Times:
> user=5.82 sys=0.01, real=5.83 secs]
> INFO   | jvm 1    | 2009/02/13 09:09:39 | 70638.708: [Full GC
> INFO   | jvm 1    | 2009/02/13 09:09:46 |  [PSYoungGen:
> 67968K->20009K(84416K)] [PSOldGen: 2519039K->2519039K(2519040K)]
> 2587007K->2539049K(2603456K) [PSP
> ermGen: 28299K->28277K(28352K)]       GC time would exceed GCTimeLimit of
> 98%
> 
> 
> 
> Here are my AMQ settings:
> 
>         <bean id="store"
> class="org.apache.activemq.store.kahadb.KahaDBStore">
>                 <property name="directory" value="${activemq.base}/data"/>
>                 <property name="checkpointInterval"     value="5000"/>
>                 <property name="cleanupInterval"        value="5000"/>
> 
>                 <property name="journalMaxFileLength"   value="10000000"/>
>                 <property name="indexWriteBatchSize" value="100" />
>                 <property name="enableIndexWriteAsync" value="true" />
>         </bean>
> 
> Is there anything I can additionally check?
> 
> Regards
> 
> Jörg
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Memoryleak-when-consuming-messages-from-KahaDBStore-tp21991929p21996453.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message