【问题标题】:How to fix Active MQ Wildfly warning - Page file 000002707.page had incomplete records at position 373,401 at record number 9?如何修复 Active MQ Wildfly 警告 - 页面文件 000002707.page 在记录号 9 的位置 373,401 处的记录不完整?
【发布时间】:2020-02-06 20:20:23
【问题描述】:

如何解决以下 Wildfly 警告:

2019-10-09 15:15:04,179 WARN  [org.apache.activemq.artemis.core.server] (Thread-8 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@216f6b3e-1182524264)) AMQ222033: Page file 000002707.page had incomplete records at position 373,401 at record number 9
2019-10-09 15:15:05,182 WARN  [org.apache.activemq.artemis.core.server] (Thread-1 (ActiveMQ-remoting-threads-ActiveMQServerImpl::serverUUID=3bea749a-88f7-11e7-b497-27b2839ef45c-1594512315-717665458)) AMQ222033: Page file 000002707.page had incomplete records at position 373,401 at record number 9
2019-10-09 15:15:05,185 WARN  [org.apache.activemq.artemis.core.server] (Thread-11 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$2@216f6b3e-1182524264)) AMQ222033: Page file 000002707.page had incomplete records at position 373,401 at record number 9

我在谷歌上只得到一个链接,提示服务器崩溃,但我不知道如何阻止它 -> https://developer.jboss.org/thread/154232

它包含 Apache Camel 项目,该项目挑选 20,000 条放在队列中的消息,其中许多被丢弃,其他处理不确定是否相关

【问题讨论】:

    标签: wildfly wildfly-10 activemq-artemis


    【解决方案1】:

    链接的论坛帖子很好地解释了页面文件损坏的可能原因。为了“修复”这个问题,我建议您使用受影响队列中的所有消息,停止代理,并删除损坏的页面文件。

    【讨论】:

    • 感谢您的回复。在 Wildfly 服务器中,我可以在路径 ->“wildfly-10.1.0.Final/domain/servers/servergroup-name/data/activemq/paging”中找到一个名称为 (e8d94825-d922-11e9-b3a8-df022380ea02) 的文件夹。在那个大牌文件夹中,我可以找到几个文件(000002820.page;000002707.page.invalidPage 等)。我要删除所有页面文件吗?这些仅来自单个日期。这是生产所以不确定如果我全部删除会发生什么
    • 成功了。我找到了路径,暂时删除了。
    猜你喜欢
    • 2013-02-10
    • 1970-01-01
    • 2020-09-13
    • 1970-01-01
    • 2013-01-27
    • 1970-01-01
    • 2015-02-18
    • 2020-09-13
    • 2015-09-08
    相关资源
    最近更新 更多