码迷,mamicode.com
首页 > 其他好文 > 详细

不能从mq读取数据问题

时间:2017-08-17 12:33:19      阅读:677      评论:0      收藏:0      [点我收藏+]

标签:org   技术分享   current   监控   and   业务   ref   use   efault   

activemq.log报错

2017-08-16 14:12:15,478 | ERROR | Could not accept connection : java.lang.Exception: java.lang.OutOfMemoryError: unable to create new native thread | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server Thread Handler: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2017-08-16 14:12:17,709 | ERROR | Could not accept connection : java.lang.Exception: java.lang.OutOfMemoryError: unable to create new native thread | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server Thread Handler: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2017-08-16 14:12:21,110 | ERROR | Could not accept connection : java.lang.Exception: java.lang.OutOfMemoryError: unable to create new native thread | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server Thread Handler: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2017-08-16 14:12:30,517 | ERROR | Could not accept connection : java.lang.Exception: java.lang.OutOfMemoryError: unable to create new native thread | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server Thread Handler: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2017-08-16 14:12:32,732 | ERROR | Could not accept connection : java.lang.Exception: java.lang.OutOfMemoryError: unable to create new native thread | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server Thread Handler: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2017-08-16 14:12:36,164 | ERROR | Could not accept connection : java.lang.Exception: java.lang.OutOfMemoryError: unable to create new native thread | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server Thread Handler: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600
2017-08-16 14:12:37,583 | ERROR

项目工程报错:

17-08-07 10:00:39 ERROR DefaultMessageListenerContainer:947 - Could not refresh JMS Connection for destination ‘queue://settlementToErpListener‘ - retrying using FixedBackOff{interval=5000, currentAttempts=46725, maxAttempts=unlimited}. Cause: Connection closed

暂时解决方案,重启监听项目工程

分析这个问题时发现:

mq不能连接问题,不能创建连接,内存溢出,mq内存设置1g,连接最大1000,发现机票业务系统到mq端口占用81条,正常情况是往mq发送数据,占用连接,发送完成,连接关闭。目前是一致占用。
尝试解决方案:
1、重装jdk,之前版本jdk未关闭,一直在更新,之前虽然关闭更新,还是重新安装
2、重启机票系统,监控机票系统到mq端口占用情况,占用连接情况。
3、重启mq,监控mq内存占用情况,mq服务器,目前16g,已用24%

目前出现问题时间频率大概 10天一次。。

技术分享

 

待观察。。2017/8/17

 

不能从mq读取数据问题

标签:org   技术分享   current   监控   and   业务   ref   use   efault   

原文地址:http://www.cnblogs.com/taz372436/p/7380390.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!