You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/12/09 23:53:06 UTC

[Bug 55865] New: Performance :Disable stale check by default in HttpClient 4 and 3.1

https://issues.apache.org/bugzilla/show_bug.cgi?id=55865

            Bug ID: 55865
           Summary: Performance :Disable stale check by default in
                    HttpClient 4 and 3.1
           Product: JMeter
           Version: 2.9
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com

Profiling JMeter, I noticed an important number of SocketTimeoutException being
triggered without any impact on response status.

I investigated it a bit deeper and find out it affected only HttpClient
implementations.
Looking a bit deeper, it is due to connection stale check which is enabled by
default.
This check sets a timeout to 1ms , see :
- org.apache.http.impl.io.SocketInputBuffer#isDataAvailable
- org.apache.http.impl.AbstractHttpClientConnection#isStale


I wonder if it's a good idea to keep it enabled by default as with high number
of Threads and throughput it means a huge number of Exception.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55865] Performance :Disable stale check by default in HttpClient 4 and 3.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55865

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Mon Dec  9 22:56:12 2013
New Revision: 1549702

URL: http://svn.apache.org/r1549702
Log:
Bug 55865 - Performance :Disable stale check by default in HttpClient 4 and 3.1
Bugzilla Id: 55865

Modified:
    jmeter/trunk/bin/hc.parameters
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55865] Performance :Disable stale check by default in HttpClient 4 and 3.1

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55865

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.