标签:问题 produce 文件 issues response 报错 ndk RoCE 空间
搭完mq单主单从集群之后,美滋滋想发一下message, 没想到碰到一个坑爹的问题:
com.alibaba.rocketmq.client.exception.MQBrokerException: CODE: 14 DESC: service not available now, maybe disk full, CL: 0.87 CQ: 0.87 INDEX: 0.87, maybe your broker machine memory too small.
1 com.alibaba.rocketmq.client.exception.MQBrokerException: CODE: 14 DESC: service not available now, maybe disk full, CL: 0.87 CQ: 0.87 INDEX: 0.87, maybe your broker machine memory too small. 2 For more information, please visit the url, https://github.com/alibaba/RocketMQ/issues/64 3 at com.alibaba.rocketmq.client.impl.MQClientAPIImpl.processSendResponse(MQClientAPIImpl.java:492) 4 at com.alibaba.rocketmq.client.impl.MQClientAPIImpl.sendMessageSync(MQClientAPIImpl.java:398) 5 at com.alibaba.rocketmq.client.impl.MQClientAPIImpl.sendMessage(MQClientAPIImpl.java:379) 6 at com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendKernelImpl(DefaultMQProducerImpl.java:698) 7 at com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendSelectImpl(DefaultMQProducerImpl.java:877) 8 at com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:851) 9 at com.alibaba.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:163) 10 at com.ruishenh.rocketmq.example.Producer.main(Producer.java:78)
看报错应该是磁盘空间不足的问题,然后各种百度,发现解释的都是很模糊,没有真正解决到点子上,然后看到一个帖子https://bbs.csdn.net/topics/392568834,还挺符合的,虽然给出的解决方案说的没那么详细,但是值得一试。
已用95%,查阅百度之后发现rocketmq源码的DefaultMessageStore类里,默认会把剩余磁盘的比率不足75%(rocketmq版本不同这个比率好像不一样)当做磁盘空间不足处理,看来磁盘是有点不够了。
先cd到rocketmq配置文件的路径,我这里配置的是双主双从同步的模式,所以cd到配置文件(根据配置的不同文件夹的路径不一样,但都在/conf下)。
4.:wq 保存退出
5.重启mq
以上步骤操作完成后,再尝试发送消息:
标签:问题 produce 文件 issues response 报错 ndk RoCE 空间
原文地址:https://www.cnblogs.com/shenrong/p/12670555.html