activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r903784 - in /websites/production/activemq/content: cache/main.pageCache kahadb.html
Date Wed, 26 Mar 2014 17:23:15 GMT
Author: buildbot
Date: Wed Mar 26 17:23:15 2014
New Revision: 903784

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/kahadb.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/kahadb.html
==============================================================================
--- websites/production/activemq/content/kahadb.html (original)
+++ websites/production/activemq/content/kahadb.html Wed Mar 26 17:23:15 2014
@@ -97,7 +97,7 @@
                             Available as of ActiveMQ 5.10
                     </div>
     </div>
-</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>indexWriteBatchSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1000</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>number of indexes written in a batch</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexCacheSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>10000</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>number of index pages cached in memory</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>enableIndexWriteAsync</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>if set, will asynchronously write
indexes</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>journalMaxFileLength</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>32mb</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>a hint to set the maximum 
 size of the message data logs</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>enableJournalDiskSyncs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>ensure every non transactional journal write
is followed by a disk sync (JMS durability requirement). Disk syncs are always enforced when
using transacted clients, so enableJournalDiskSyncs=false has no effect on transacted clients.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>cleanupInterval</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>30000</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>time (ms) before checking for a discarding/moving
message data logs that are no longer used</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>checkpointInterval</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>5000</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>t
 ime (ms) before checkpointing the journal</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>ignoreMissingJournalfiles</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If enabled, will ignore a missing
message log file</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>checkForCorruptJournalFiles</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If enabled, will check for corrupted
Journal files on startup and try and recover them</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>checksumJournalFiles</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><span style="text-decoration:
line-through;">false</span> true <sub>v5.9</sub></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>create a checksum for a journal file
- to enable checking for corrupted journals</p>
 </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>archiveDataLogs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If enabled, will move a message data
log to the archive directory instead of deleting it.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>directoryArchive</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>null</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Define the directory to move data logs to when
they all the messages they contain have been consumed.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>maxAsyncJobs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>10000</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>the maximum number of asynchronous
messages that will be queued awaiting storage (should be the same as the number of concurrent
MessageProducers)</p></td></tr><tr><td colspan="1
 " rowspan="1" class="confluenceTd"><p>concurrentStoreAndDispatchTopics</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>enable the dispatching of Topic messages
to interested clients to happen concurrently with message storage</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>concurrentStoreAndDispatchQueues</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>enable the dispatching of Queue messages to interested
clients to happen concurrently with message storage</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>archiveCorruptedIndex</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If enabled, corrupted indexes found
at startup will be archived (not deleted)</p></td></tr></tbody></table></div><p>For
tuning locking propert
 ies please take a look at <a shape="rect" href="pluggable-storage-lockers.html">Pluggable
storage lockers</a></p><h3 id="KahaDB-Slowfilesystemaccessdiagnosticlogging">Slow
file system access diagnostic logging</h3><p>You can configure a non zero threshold
in mili seconds for database updates.<br clear="none"> If database operation is slower
than that threshold (for example if you set it to 500), you may see messages like</p><div
class="panel" style="border-width: 1px;"><div class="panelContent">
+</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>indexWriteBatchSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>1000</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>number of indexes written in a batch</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>indexCacheSize</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>10000</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>number of index pages cached in memory</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>enableIndexWriteAsync</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>if set, will asynchronously write
indexes</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>journalMaxFileLength</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>32mb</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>a hint to set the maximum 
 size of the message data logs</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>enableJournalDiskSyncs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>ensure every journal write is followed by a disk
sync (JMS durability requirement)</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p>cleanupInterval</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>30000</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>time (ms) before checking for a discarding/moving
message data logs that are no longer used</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>checkpointInterval</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>5000</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>time (ms) before checkpointing the journal</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>ignoreMissingJournalfiles</p></td><td
c
 olspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If enabled, will ignore a missing
message log file</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>checkForCorruptJournalFiles</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If enabled, will check for corrupted
Journal files on startup and try and recover them</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>checksumJournalFiles</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><span style="text-decoration:
line-through;">false</span> true <sub>v5.9</sub></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>create a checksum for a journal file
- to enable checking for corrupted journals</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>archiveDataLogs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p
 ></td><td colspan="1" rowspan="1" class="confluenceTd"><p>If enabled,
will move a message data log to the archive directory instead of deleting it.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>directoryArchive</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>null</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>Define the directory to move data logs to when
they all the messages they contain have been consumed.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>maxAsyncJobs</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>10000</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>the maximum number of asynchronous
messages that will be queued awaiting storage (should be the same as the number of concurrent
MessageProducers)</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p>concurrentStoreAndDispatchTopics</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
c
 olspan="1" rowspan="1" class="confluenceTd"><p>enable the dispatching of Topic messages
to interested clients to happen concurrently with message storage</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>concurrentStoreAndDispatchQueues</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p>enable the dispatching of Queue messages to interested
clients to happen concurrently with message storage</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>archiveCorruptedIndex</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>If enabled, corrupted indexes found
at startup will be archived (not deleted)</p></td></tr></tbody></table></div><p>For
tuning locking properties please take a look at <a shape="rect" href="pluggable-storage-lockers.html">Pluggable
storage lockers</a></p><h3 id="KahaDB-Slowfilesystemaccessdi
 agnosticlogging">Slow file system access diagnostic logging</h3><p>You can
configure a non zero threshold in mili seconds for database updates.<br clear="none">
If database operation is slower than that threshold (for example if you set it to 500), you
may see messages like</p><div class="panel" style="border-width: 1px;"><div
class="panelContent">
 <p>Slow KahaDB access: cleanup took 1277 | org.apache.activemq.store.kahadb.MessageDatabase
| ActiveMQ Journal Checkpoint Worker</p>
 </div></div><p>You can configure a threshold used to log these messages
by using a system property and adjust it to your disk speed so that you can easily pick up
runtime anomalies.</p><div class="panel" style="border-width: 1px;"><div class="panelContent">
 <p>-Dorg.apache.activemq.store.kahadb.LOG_SLOW_ACCESS_TIME=1500</p>



Mime
View raw message