Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5931

HTTP connection is getting closed after 5 mins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • 9.x.x TBD
    • 9.0.1.Final
    • Web (Undertow)
    • None
    • Hide

      Send a http request which takes more than 5 minutes, It throws "Internal Server Error" after 5 minutes in browser.

      Show
      Send a http request which takes more than 5 minutes, It throws "Internal Server Error" after 5 minutes in browser.
    • Compatibility/Configuration, User Experience

    Description

      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]

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            mail2rakeshkumar_jira Rakesh Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: