Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1055

socket connection is never relinquished/timed out

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 4.1 Final
    • Fix Version/s: None
    • Component/s: HttpClient (classic)
    • Labels:
    • Environment:
      Java HotSpot(TM) 64-Bit Server VM version 17.0-b16
      Sun Microsystems Inc.
      HotSpot 64-Bit Server Compiler


      Linux 2.6.18-194.32.1.el5

      Description

      28-of-28 threads eventually all get into a runnable-yet-stopped state (see stack trace below).

      jonsole monitoring doesn't indicated anything is systemically wrong

      Name: Worker 7
      State: RUNNABLE
      Total blocked: 2,038 Total waited: 3,146

      Stack trace:
      java.net.SocketInputStream.socketRead0(Native Method)
      java.net.SocketInputStream.read(SocketInputStream.java:129)
      org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
      org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110)
      org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:260)
      org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
      org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
      org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
      org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
      org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
      org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:298)
      org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
      org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:622)
      org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
      org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:700)
      org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:821)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gonzo James Todd
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: