ActiveMQ 5.11.2 SchedlerSupport KahaDB永不清空

时间:2015-09-01 05:20:07

标签: java activemq

概述

在“故障转移”设置中运行ActiveMQ 5.11.2(只是代理连接的代理,没有HA共享持久性)。我们运行KahaDB作为过滤后的kahadb的持久性,将DLQ和其他队列分离到不同的商店。调度程序显然不遵守这些设置。下面是来自调度程序项所在的kahadb的gc的TRACE日志记录[1]。http://activemq.apache.org/why-do-kahadb-log-files-remain-after-cleanup.html中没有提到after dest的引用,所以很难确定导致db的原因是什么要清理干净我的所有队列当前都是空的,JMX上的商店百分比使用率应该显示接近90%的使用率(基于磁盘上数据库的大小),但它只显示30%。在显示此数字时,调度程序KahaDB似乎没有考虑到它。

问题

  1. 如何强制清理kahaDB?
  2. 如何获取有关调度程序中阻止内容的更多信息(在JMX或Web UI上)?
  3. 如何为调度程序项设置真正的kahadb设置?
  4. 我遇到的潜在错误是什么? (在他们的Jira上找不到任何东西)
  5. 项目[1]

    2015-08-31 22:44:14,807 | TRACE | gc candidates after removals check: [] | org.apache.activemq.store.kahadb.scheduler.JobSchedulerStoreImpl | ActiveMQ Journal Checkpoint Worker
    2015-08-31 22:44:14,804 | TRACE | gc candidates after reference check: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161] | org.apache.activemq.store.kahadb.scheduler.JobSchedulerStoreImpl | ActiveMQ Journal Checkpoint Worker
    2015-08-31 22:44:14,804 | TRACE | Last update: 162:21971170, full gc candidates set: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162] | org.apache.activemq.store.kahadb.scheduler.JobSchedulerStoreImpl | ActiveMQ Journal Checkpoint Worker
    

0 个答案:

没有答案