[jboss-dev-forums] [JBoss Remoting Development] - Re: Memory leak by closed connections

Rene Schneider do-not-reply at jboss.com
Thu Aug 15 11:55:23 EDT 2013


Rene Schneider [https://community.jboss.org/people/rschneider] created the discussion

"Re: Memory leak by closed connections"

To view the discussion, visit: https://community.jboss.org/message/832786#832786

--------------------------------------------------------------
Turned out that my first fix (which I also posted here) introduced one tricky possibility for a deadlock somewhere in the JVM shutdown hooks, when the connections are closed due to a shutdown. This sometimes (in maybe 10% of the cases) resulted in JVMs "freezing" during shutdown and not actually exiting the process. They had to be killed forcefully.

I have attached a fixed patch file in which this problem was solved. We haven't had any problems since, neither with freezing JVMs nor with JVMs hitting their heap space limit due to unstable network connections causing hundreds of reconnects.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/832786#832786]

Start a new discussion in JBoss Remoting Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2051]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130815/41ee599e/attachment-0001.html 


More information about the jboss-dev-forums mailing list