jgaalen commented on issue #6330:
URL: https://github.com/apache/jmeter/issues/6330#issuecomment-2297342145

   So I've found the root cause of the issue and it's due to this config 
httpclient4.validate_after_inactivity.
   
   This defaults to 4900 (ms), meaning that if a connection trying to be 
disconnected by the server within 4900ms, and a new request is done between the 
requested disconnect and 4900ms, it just sends the request packet over the 
connection in CLOSE_WAIT state, resulting in a connection reset error.
   
   I think this is a bad implementation in the HttpClient4 library. It should 
simply remove a connection once the server requests it.
   
   A work-around is the set httpclient4.validate_after_inactivity low (900). 
This only resolves the unexpected "Non HTTP response" errors, but doesn't 
resolve the high CLOSE_WAIT state taking unrealistic higher connections on both 
webservers and jmeter clients


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to