分布式组件-ActiveMQPersistent store is Full, 100%

Posted 微创智云

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了分布式组件-ActiveMQPersistent store is Full, 100%相关的知识,希望对你有一定的参考价值。


问题描述

      最近生产环境出现了一次交易量下降,排查原因发现是ActiveMQ 有一个队列没有消费者,只有生产者,导致持久化磁盘Persistent store is Full,100%


问题重现

      针对本次出现的问题进行模拟监控,重现本次出现问题的整个过程。

 分布式组件-【ActiveMQ】Persistent store is Full, 100%


1.持久化设置

分布式组件-【ActiveMQ】Persistent store is Full, 100%

2.执行监控过程

分布式组件-【ActiveMQ】Persistent store is Full, 100%

分布式组件-【ActiveMQ】Persistent store is Full, 100%

查看Hawtio Health可以看见如下图:


分布式组件-【ActiveMQ】Persistent store is Full, 100%



3.出现异常如下

 分布式组件-【ActiveMQ】Persistent store is Full, 100%

分布式组件-【ActiveMQ】Persistent store is Full, 100%


分布式组件-【ActiveMQ】Persistent store is Full, 100%

分布式组件-【ActiveMQ】Persistent store is Full, 100%

 for more info | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: tcp:///127.0.0.1:9471@61616
2018-05-23 17:09:41,565 | WARN  | Async error occurred: javax.jms.ResourceAllocationException: Persistent store is Full, 100% of 536870912. Stopping producer (ID:Fxdemon-9460-1527064971163-1:1:1:20) to prevent flooding queue://Jaycekon-MQ. See http://activemq.apache.org/producer-flow-control.html for more info | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: tcp:///127.0.0.1:9461@61616
2018-05-23 17:13:41,466 | WARN  | Async error occurred: javax.jms.ResourceAllocationException: Persistent store is Full, 100% of 536870912. Stopping producer (ID:Fxdemon-9097-1527063928557-1:1:1:38) to prevent flooding queue://Jaycekon-MQ. See http://activemq.apache.org/producer-flow-control.html for more info | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: tcp:///127.0.0.1:9098@61616
2018-05-23 17:13:41,565 | WARN  | Async error occurred: javax.jms.ResourceAllocationException: Persistent store is Full, 100% of 536870912. Stopping producer (ID:Fxdemon-8879-1527063225605-1:1:1:70) to prevent flooding queue://Jaycekon-MQ. See http://activemq.apache.org/producer-flow-control.html for more info | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ Transport: tcp:///127.0.0.1:8880@61616



如何手动清楚没有消费者的消息

进入admin管控台,找到对应的队列,点击Purge


停止生产者,清除没有消费的队列,集群健康状态如下:


以上是关于分布式组件-ActiveMQPersistent store is Full, 100%的主要内容,如果未能解决你的问题,请参考以下文章

DCOM(分布式组件对象模型)原理浅析

SpringCloud微服务组件介绍

分布式系统组件的选型

hadoop核心组件

python——scrapy-redis分布式组件

分布式组件