CODE: 14 DESC: service not available now. It may be caused by one of the following reasons: the bro
在springboot集成rocketmq后,发送消息时报异常;此处rocketmq是部署在Windows系统上。然后重启broker服务,到此问题就解决了。
·
CODE: 14 DESC: service not available now. It may be caused by one of the following reasons: the broker's disk is full
在springboot集成rocketmq后,发送消息时报异常;此处rocketmq是部署在Windows系统上。
报错信息
org.apache.rocketmq.client.exception.MQBrokerException: CODE: 14 DESC: service not available now. It may be caused by one of the following reasons: the broker's disk is full [CL: 0.92 CQ: 0.92 INDEX: 0.92], messages are put to the slave, message store has been shut down, etc. BROKER: 2.0.0.1:10911
For more information, please visit the url, http://rocketmq.apache.org/docs/faq/
原因分析
检查磁盘空间,多数情况是空间不足造成的。
解决方案
runbroker.sh文件添加set "JAVA_OPT=%JAVA_OPT% -server -Xms512m -Xmx512m -Xmn128m -Drocketmq.broker.diskSpaceWarningLevelRatio=0.99",使磁盘使用超过99%再报错,根本的解决办法是保证磁盘空间永远不超过90%
然后重启broker服务,到此问题就解决了。
更多推荐
已为社区贡献1条内容
所有评论(0)