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