You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andy (JIRA)" <ji...@apache.org> on 2010/07/19 21:52:51 UTC

[jira] Created: (AMQ-2837) Slow KahaDB

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.


RE: [jira] Resolved: (AMQ-2837) Slow KahaDB

Posted by "Davis, Dorothea" <Do...@homedepot.com>.
In the link it has the following statement... but how do I check my disk speed and how do I determine what exactly to set the "time="  to?  What's the actual formula?

       " You can configure a threshold used to log the message by using

          -Dorg.apache.activemq.store.kahadb.LOG_SLOW_ACCESS_TIME=1500

               system property and adjust it to your disk speed. "

Thanks for your help!

Dorothea Davis
The Home Depot
(w) (770) 433-8211 x17476
(c)  (404) 314-0352
dorothea_davis@homedepot.com

-----Original Message-----
From: Rob Davies (JIRA) [mailto:jira@apache.org]
Sent: Monday, July 19, 2010 8:15 PM
To: dev@activemq.apache.org
Subject: [jira] Resolved: (AMQ-2837) Slow KahaDB


     [ https://issues.apache.org/activemq/browse/AMQ-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-2837.
-----------------------------

      Assignee: Rob Davies
    Resolution: Working as Designed

> 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
>            Assignee: Rob Davies
>
> 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.


The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.


-----------------------------------------
The information contained in this e-mail and any attached documents
may contain information that is confidential or otherwise protected
from disclosure. If you are not the intended recipient of this
message, or if this message has been sent to you in error, please
immediately alert the sender by reply e-mail and then delete this
message, including any attachments. Any dissemination, distribution
or other use of the contents of this message by anyone other than
the intended recipient is strictly prohibited.

[jira] Issue Comment Edited: (AMQ-2837) Slow KahaDB

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60822#action_60822 ] 

Gary Tully edited comment on AMQ-2837 at 10/11/10 3:28 PM:
-----------------------------------------------------------

There is a utility in the distribution that can help you determine relative disk speed as experienced by the journal writer thread:

{code}java -classpath lib/kahadb-<version>.jar org.apache.kahadb.util.DiskBenchmark{code}

As to the value of the log threshold, the calculation is a simple time difference before and after the journal and index update, there is no complicated formula and it really is there as a development aid. So pick a large value if you have a slow disk and don't want to see the log entry. Otherwise you will be regularly reminded of the fact.

      was (Author: gtully):
    There is a utility in the distribution that can help you determine relative disk speed as experienced by the journal writer thread:

java -classpath lib/kahadb-<version>.jar org.apache.kahadb.util.DiskBenchmark 

As to the value of the log threshold, the calculation is a simple time difference before and after the journal and index update, there is no complicated formula and it really is there as a development aid. So pick a large value if you have a slow disk and don't want to see the log entry. Otherwise you will be regularly reminded of the fact.
  
> 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
>            Assignee: Rob Davies
>
> 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.


[jira] Commented: (AMQ-2837) Slow KahaDB

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60822#action_60822 ] 

Gary Tully commented on AMQ-2837:
---------------------------------

There is a utility in the distribution that can help you determine relative disk speed as experienced by the journal writer thread:

java -classpath lib/kahadb-<version>.jar org.apache.kahadb.util.DiskBenchmark 

As to the value of the log threshold, the calculation is a simple time difference before and after the journal and index update, there is no complicated formula and it really is there as a development aid. So pick a large value if you have a slow disk and don't want to see the log entry. Otherwise you will be regularly reminded of the fact.

> 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
>            Assignee: Rob Davies
>
> 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.


[jira] Commented: (AMQ-2837) Slow KahaDB

Posted by "Sebastien Rodriguez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60769#action_60769 ] 

Sebastien Rodriguez commented on AMQ-2837:
------------------------------------------

This is actually not an issue.
Check 
http://activemq.apache.org/kahadb.html (see the bottom: Slow KahaDB access log messages)
You can tune the value with your hard drive speed.

> 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.


[jira] Resolved: (AMQ-2837) Slow KahaDB

Posted by "Rob Davies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-2837.
-----------------------------

      Assignee: Rob Davies
    Resolution: Working as Designed

> 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
>            Assignee: Rob Davies
>
> 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.