[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285398#comment-17285398
 ] 

Romain Manni-Bucau commented on HTTPCLIENT-2024:
------------------------------------------------

[~olegk] I don't hijack an issue, I get exactly the same issue than this one, 
I'm just aiming for a proper solution. Disabling pooling is one I propose but 
is not possible today. Once again the env is what it is, the server does not 
send Connection so the client pools the connection and there is no value in the 
pooling manager - only one usable by concurrent apps since the other one is 
about a single connection and poorly behaves in such env - which enables to 
disable the pooling. 1ns does not mean the env is fucked up but that we got an 
unlikely fast reuse - which happens on "big" machines. Also note that this 
wouldn't be a solution but just a workaround since we use the fact 1 is close 
to 0 whereas 0 would be "disabled" and 1 is "enabled" so totally different in 
terms of reliability. Having a PerRequestConnectionConnectionManager would work 
too for me BTW. I just need a not hacky way to not reuse connections when 
server can't be fixed (and is a cloud vendor for ex, I don't have access to all 
machines yet ;)).

> NoHttpResponseException on high Load
> ------------------------------------
>
>                 Key: HTTPCLIENT-2024
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2024
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (classic)
>    Affects Versions: 4.5.7
>            Reporter: shatk
>            Priority: Major
>              Labels: camel-http4,, http-client
>
>  
> Getting _NoHttpResponseException : host:port failed to respond_  on high 
> Load. 
> This is happening for httpclient-4.5.7  as well as httpclient-4.5.10  version 
> of apache http client on high load [100 TPS]
>  Apache http client is used internally by camel http4. 
> [https://github.com/HydAu/Camel/blob/master/components/camel-http4/src/main/java/org/apache/camel/component/http4/HttpComponent.java]
>  > camel http4 connection config :
> connectionsPerRoute : 100
> maxTotalConnections : 1000 
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to