Wildfly HornetQ远程HTTP连接内存泄漏

时间:2015-09-03 16:13:32

标签: memory https connection wildfly hornetq

我正在运行带有HornetQ消息的Wildfly 8.2实例,可通过端口8185上的HTTPS远程访问。

为了测试连接,我在通过https-remoting:// localhost:8185连接的同一台机器上运行客户端

  • 从客户端视图一切正常:连接,发送/接收消息和关闭连接
  • 服务器端的
  • 起初一切正常。但是,在" connection-ttl" RemoteConnectionFactory已经通过,服务器日志遵循以下行:

    2015-09-03 17:05:49,152 WARN  [org.hornetq.core.client] (hornetq-failure-check-thread) HQ212037: Connection failure has been detected: HQ119014: Did not receive data from /192.168.160.83:63937. It is likely the client has exited or crashed without closing its connection, or the network between the server and client has failed. You also might have configured connection-ttl and client-failure-check-period incorrectly. Please check user manual for more information. The connection will now be closed. [code=CONNECTION_TIMEDOUT]
    2015-09-03 17:05:49,154 INFO  [org.hornetq.core.server] (hornetq-failure-check-thread) HQ221021: failed to remove connection
    

测试较长时间后的最终结果(客户端每1-2秒连接一次,发送/接收消息,关闭连接):

  • Wildfly消耗越来越多的堆内存,最后停止使用OutOfMemoryError ......
  • 如上所述,客户端始终显式关闭连接,并且在关闭时不会记录任何错误,无论是在客户端还是在服务器端。似乎" hornetq-failure-check-thread"刚刚没有得知连接已经关闭

对此问题的任何帮助表示赞赏!

0 个答案:

没有答案