activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2837) Slow KahaDB
Date Mon, 19 Jul 2010 19:52:51 GMT
Slow KahaDB
-----------

                 Key: AMQ-2837
                 URL: https://issues.apache.org/activemq/browse/AMQ-2837
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.3.2
         Environment: Linux
            Reporter: Andy


I'm using KahaDB for persistence with the following configuration:

<?xml version="1.0" encoding="UTF-8"?>
<beans>
  <broker brokerName="test-broker"
	  persistent="true"
	  useJmx="true" 
	  useShutdownHook="false"
	  deleteAllMessagesOnStartup="false"
	  xmlns="http://activemq.apache.org/schema/core">
    <persistenceAdapter>
      <kahaDB directory="activemq-data" journalMaxFileLength="32mb" indexCacheSize="10000000
"/>
    </persistenceAdapter>
    <transportConnectors>
      <transportConnector uri="tcp://localhost:61616"/>
    </transportConnectors>
    <destinationPolicy>
      <policyMap>
	<policyEntries>
	  <policyEntry topic=">">
	    <subscriptionRecoveryPolicy>
	      <timedSubscriptionRecoveryPolicy recoverDuration="3600000"/>
	    </subscriptionRecoveryPolicy>
	  </policyEntry>
	</policyEntries>
      </policyMap>
    </destinationPolicy>
</broker>
</beans>

I've some durable consumers. The broker is showing many "Slow KahaDB access" log entries.

Any suggestions?


 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1248 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1560 ms
 INFO | Slow KahaDB access: Journal append took: 1 ms, Index update took 1227 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1227 ms
 INFO | Slow KahaDB access: Journal append took: 1480 ms, Index update took 0 ms
 INFO | Slow KahaDB access: Journal append took: 5 ms, Index update took 1302 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1302 ms
 INFO | Slow KahaDB access: Journal append took: 13 ms, Index update took 1348 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1590 ms
 INFO | Slow KahaDB access: Journal append took: 1327 ms, Index update took 0 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1263 ms
 INFO | Slow KahaDB access: Journal append took: 1 ms, Index update took 1276 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1277 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1318 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1312 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1593 ms
 INFO | Slow KahaDB access: Journal append took: 3 ms, Index update took 1608 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1302 ms
 INFO | Slow KahaDB access: Journal append took: 3 ms, Index update took 1317 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1318 ms
 INFO | Slow KahaDB access: Journal append took: 2 ms, Index update took 1316 ms
 INFO | Slow KahaDB access: Journal append took: 1318 ms, Index update took 1 ms
 INFO | Slow KahaDB access: Journal append took: 0 ms, Index update took 1296 ms


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message