13 Replies Latest reply on Nov 12, 2014 10:53 AM by Tomaž Cerar

    Wildfly 8.1.0 Final keeps established connections forever

    Renan Polo Montebelo Newbie



      I migrated from JBoss 7.1.1 to Wildfly 8.1.0 Final and I am facing some stability issues. Every ~48 hours my port 8080 does not respond anymore, and I have to restart Wildfly. It seems, however, that Wildfly itself is running fine because I can see scheduled timers (EJB) doing activity in my app log.


      I checked hard disk free space and physical memory, but it's all right. Only thing weird I noticed is that Wildfly (Undertow?) is keeping established connections forever. I noticed that because "netstat -aln" shows more than 2.5K established connections on port 8080, but I have less than 50 clients acessing this app. Then, I made a test: I connected from a "fresh known IP" and after a few client calls I disconnected my device completely, but connections from this known IP are still established (according to netstat) even several hours after disconnection.


      I suspect the number of established connections grow to the point my Wildfly does not respond anymore.


      Is there anything more I could do to help diagnose this stability problem?


      Obs.: Wildfly 8.1.0 Final running on oracle-7-jvm on Ubuntu VM on Azure. Application is EJB/JPA/JAX-RS (Resteasy).


      Thank you very much,