当前位置:   article > 正文

Send [3] times, still failed, cost [13]ms消息队列发送失败_org.springframework.messaging.messagingexception:

org.springframework.messaging.messagingexception: send [3] times, still fail
  1. 2021-10-31 00:25:30.332 ERROR org.apache.rocketmq.spring.core.RocketMQTemplate - syncSend failed. destination:zzeduLogVideoTempData25, message:GenericMessage [payload=byte[84], headers={contentType=text/plain;charset=UTF-8, id=b4bcd8ab-d4d2-c622-4873-d44d55ab73d8, timestamp=1635611130329}]
  2. 2021-10-31 00:25:30.332 ERROR com.yunhe.zzedu.web.controller.chapter.ChapterController - 放队列失败:Send [3] times, still failed, cost [3]ms, Topic: zzeduLogVideoTempData25, BrokersSent: [ip-172-31-43-102.cn-northwest-1.compute.internal, ip-172-31-43-102.cn-northwest-1.compute.internal, ip-172-31-43-102.cn-northwest-1.compute.internal]
  3. See http://rocketmq.apache.org/docs/faq/ for further details.; nested exception is org.apache.rocketmq.client.exception.MQClientException: Send [3] times, still failed, cost [3]ms, Topic: zzeduLogVideoTempData25, BrokersSent: [ip-172-31-43-102.cn-northwest-1.compute.internal, ip-172-31-43-102.cn-northwest-1.compute.internal, ip-172-31-43-102.cn-northwest-1.compute.internal]
  4. See http://rocketmq.apache.org/docs/faq/ for further details.

原因:服务器根目录内存不足

mq会读取所在服务器的根目录内存,当内存不足10%时,就会报出内存不足异常,导致生产者发送失败。
解决方案:将根目录中无用的目录和文件删除,清理根目录空间直至空间利用率大于10%,(可能导致原因是mq的日志文件占用空间太大,文件名rocketmq_client.log,禁用mq的日志就行) 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/256939
推荐阅读
相关标签
  

闽ICP备14008679号