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
[email protected]
-----Original Message-----
From: Rob Davies (JIRA) [mailto:[email protected]]
Sent: Monday, July 19, 2010 8:15 PM
To: [email protected]
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.