-
1. Re: Wildfly 8.1.0 Final keeps established connections forever
ctomc Jun 18, 2014 4:46 PM (in response to renan.polo.montebelo)1 of 1 people found this helpfulThis looks like a bug, can you create jira for this in: WildFly - JBoss Issue Tracker
-
2. Re: Wildfly 8.1.0 Final keeps established connections forever
renan.polo.montebelo Jun 18, 2014 7:01 PM (in response to ctomc)Thanks Tomaz, will do that.
BTW I set (via CLI) tcp-keep-alive=true in /subsystem=undertow/server=default-server/http-listener=default. It was "undefined" before I set it to true. This seamed to improve the situation a little, although not enough (established connections decay very slowly - several minutes, sometimes more). I couldn't find in the documentation what this attribute is responsible for, can you point some documentation about it? The same for the tcp-backlog attribute.
Thank you very much,
Renan.
-
3. Re: Wildfly 8.1.0 Final keeps established connections forever
ctomc Jun 19, 2014 6:23 AM (in response to renan.polo.montebelo)1 of 1 people found this helpfulsee xnio/api/src/main/java/org/xnio/Options.java at 3.x · xnio/xnio · GitHub for docs what tcp-backlog & tcp-kepalive options do.
this are nio specific settings, for undertow ones see undertow/core/src/main/java/io/undertow/UndertowOptions.java at master · undertow-io/undertow · GitHub
-
4. Re: Wildfly 8.1.0 Final keeps established connections forever
renan.polo.montebelo Jun 24, 2014 9:27 PM (in response to ctomc)For documentation and "forum search optimization":
Opened an issue: [WFLY-3536] Wildfly 8.1.0 Final keeps established connections forever - JBoss Issue Tracker.
By the way I think these options (tcp-backlog, tcp-keep-alive and others) should be better documented, specially because Undertow is "so new".
BR everyone,
Renan
-
5. Re: Wildfly 8.1.0 Final keeps established connections forever
andrejusti Oct 28, 2014 12:45 PM (in response to renan.polo.montebelo)Any solution? I am facing the same problem!
-
6. Re: Wildfly 8.1.0 Final keeps established connections forever
dnovo Oct 29, 2014 8:31 AM (in response to renan.polo.montebelo)Hi Renan,
Found any solution or workaround?
Thanks
-
7. Re: Wildfly 8.1.0 Final keeps established connections forever
renan.polo.montebelo Oct 29, 2014 8:52 AM (in response to dnovo)Hi Daniel,
No solution yet, but after I set
tcp-keep-alive=true in /subsystem=undertow/server=default-server/http-listener=default
things got stable enough for me. The problem still exists, but the number of connections do not grow that fast. This is the only workaround I know. If you go to the link in the JIRA about this bug, you'll see people compiling Wildfly 8.2 to overcome this issue, but I am unable to do this test write now. If I find a permanent solution I'll post here.
Best Regards,
Renan
-
8. Re: Wildfly 8.1.0 Final keeps established connections forever
dnovo Oct 29, 2014 11:32 AM (in response to renan.polo.montebelo)Renan,
Can you share your undertow and io subsystem configuration?
Thanks
-
9. Re: Wildfly 8.1.0 Final keeps established connections forever
renan.polo.montebelo Oct 29, 2014 12:10 PM (in response to dnovo)Daniel, these are my configuration:
<subsystem xmlns="urn:jboss:domain:io:1.1">
<worker name="default" io-threads="25" task-keepalive="10" task-max-threads="60"/>
<buffer-pool name="default" buffer-size="16384" buffers-per-slice="128" direct-buffers="true"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:undertow:1.1">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http" tcp-keep-alive="true"/>
<https-listener name="https" socket-binding="https" security-realm="ApplicationRealm"/>
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<filter-ref name="server-header"/>
<filter-ref name="x-powered-by-header"/>
</host>
</server>
<servlet-container name="default" ignore-flush="true">
<jsp-config/>
</servlet-container>
<handlers>
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/>
</handlers>
<filters>
<response-header name="server-header" header-name="Server" header-value="WildFly/8"/>
<response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
</filters>
</subsystem>
-
10. Re: Wildfly 8.1.0 Final keeps established connections forever
dnovo Oct 29, 2014 12:47 PM (in response to renan.polo.montebelo)Thanks for your help!
-
11. Re: Wildfly 8.1.0 Final keeps established connections forever
renan.polo.montebelo Nov 12, 2014 7:40 AM (in response to ctomc)Fixed for Wildfly 8.2.0 and 9.0.0:
-
12. Re: Wildfly 8.1.0 Final keeps established connections forever
dnovo Nov 12, 2014 9:43 AM (in response to renan.polo.montebelo)Hi Renan,
How do you test Wildfly 8.2?
-
13. Re: Wildfly 8.1.0 Final keeps established connections forever
ctomc Nov 12, 2014 10:53 AM (in response to dnovo)you build it from 8.x branch on github.
git clone https://github.com/wildfly/wildfly.git
cd wildfly
git checkout 8.x
mvn clean install -DskipTests
or if you don't have maven installed do:
build.sh|bat clean install -DskipTests
resulting build you will find in build/target directory.