On Tue, 2023-06-20 at 22:12 +0530, sreenivas somavarapu wrote:
> Hi Team,
> 
> I am running a lod test using an Async HTTPClient. Even within 1
> minutes of
> load test randomly getting below exception causing transaction to
> fail.
> Using most of the defaults for HTTPClient with below configuration. I
> am
> unable to find the reason why this error is being thrown and Is there
> any
> setting which is missing?

No one is going to help you unless you can provide a proper reproducer
or at the very least a _complete_ wire / context log of  the session.

Oleg


> 
> *Socket Timeout                  : 180000 ms*
> 
> *Connect Timeout                : 180000 ms*
> *evictIdleConnections Time: 60000   ms*
> *Max per Route                     : 20*
> *Pool Size                              : 420*
> 
> Below is the stats of pool during execution of requests and before
> the
> exception occurred
> *[20/Jun/2023:16:08:03-118] [INFO] - [leased: 2; pending: 0;
> available: 5;
> max: 420]*
> *[20/Jun/2023:16:08:03-133] [INFO] - DefaultMaxPerRoute -> 20*
> *Note*: Seeing lots of TIME_WAIT connections roughly about 2000+
> around 2
> minutes into run might be due to throughput of around 150 requests /
> sec.
> 
> *Below is stack trace i am seeing*
> 
> [20/Jun/2023:16:08:03-133] [ERROR] - Deadline:
> +292278994-08-17T07:12:55.807+0000, 9223370349577492674 MILLISECONDS
> overdue
> org.apache.hc.core5.util.DeadlineTimeoutException: Deadline:
> +292278994-08-17T07:12:55.807+0000, 9223370349577492674 MILLISECONDS
> overdue
> at
> org.apache.hc.core5.util.DeadlineTimeoutException.from(DeadlineTimeou
> tException.java:49)
> ~[httpcore5-5.2.2.jar:5.2.2]
> at
> org.apache.hc.core5.pool.StrictConnPool.lease(StrictConnPool.java:217
> )
> ~[httpcore5-5.2.2.jar:5.2.2]
> at
> org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManag
> er$3.<init>(PoolingAsyncClientConnectionManager.java:271)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.nio.PoolingAsyncClientConnectionManag
> er.lease(PoolingAsyncClientConnectionManager.java:266)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.InternalHttpAsyncExecRuntime.ac
> quireEndpoint(InternalHttpAsyncExecRuntime.java:105)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncConnectExec.execute(AsyncC
> onnectExec.java:141)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncExecChainElement.execute(A
> syncExecChainElement.java:54)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncProtocolExec.internalExecu
> te(AsyncProtocolExec.java:207)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncProtocolExec.execute(Async
> ProtocolExec.java:172)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncExecChainElement.execute(A
> syncExecChainElement.java:54)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncHttpRequestRetryExec.inter
> nalExecute(AsyncHttpRequestRetryExec.java:97)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncHttpRequestRetryExec.execu
> te(AsyncHttpRequestRetryExec.java:184)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.AsyncExecChainElement.execute(A
> syncExecChainElement.java:54)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.InternalAbstractHttpAsyncClient
> .executeImmediate(InternalAbstractHttpAsyncClient.java:347)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.InternalAbstractHttpAsyncClient
> .lambda$doExecute$0(InternalAbstractHttpAsyncClient.java:205)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.core5.http.nio.support.BasicRequestProducer.sendRequest
> (BasicRequestProducer.java:93)
> ~[httpcore5-5.2.2.jar:5.2.2]
> at
> org.apache.hc.client5.http.impl.async.InternalAbstractHttpAsyncClient
> .doExecute(InternalAbstractHttpAsyncClient.java:178)
> ~[httpclient5-5.2.1.jar:5.2.1]
> at
> org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient.execut
> e(CloseableHttpAsyncClient.java:97)
> ~[httpclient5-5.2.1.jar:5.2.1]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to