[jboss-jira] [JBoss JIRA] (WFLY-5931) HTTP connection is getting closed after 5 mins

Rakesh Kumar (JIRA) issues at jboss.org
Tue Jan 5 00:57:00 EST 2016


Rakesh Kumar created WFLY-5931:
----------------------------------

             Summary: HTTP connection is getting closed after 5 mins
                 Key: WFLY-5931
                 URL: https://issues.jboss.org/browse/WFLY-5931
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
    Affects Versions: 9.0.2.Final
         Environment: Wildfly 9.0.1 + Linux
            Reporter: Rakesh Kumar
            Assignee: Stuart Douglas
            Priority: Critical
             Fix For: 9.x.x TBD


HTTP connection is getting closed after 5 mins with Linux + Wildfly 9.0.1 and throws broken pipe exception after the request is processed, It works fine in windows + Wildfly 9.0.1.

I tried to increase keepalive timeout using the following alternatives.

• Update values in httpd.conf from 300 seconds to 1500 seconds
• Add KeepAliveTimeout response header in standalone.xml
• Add header in response using “response.addHeader("Keep-Alive", "timeout=180000");”
• Updated jsp to add ("Keep-Alive", "timeout=180000" ) in response header.

None of the above alternatives worked.

Error message :
2015-10-23 18:46:47,250 ERROR [default task-29] [RequestServlet] Unknown exception detected: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) [rt.jar:1.7.0_45]
at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) [rt.jar:1.7.0_45]
at sun.nio.ch.IOUtil.write(IOUtil.java:148) [rt.jar:1.7.0_45]
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:524) [rt.jar:1.7.0_45] 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list