ConnectionPoolTimeoutException occurs in bulk index documents

I am load testing our ElasitcSearch cluster. Load test was with 20 threads for 1 minute to insert 10,000 documents around size of 7MB. I received ConnectionPoolTimeoutException during this test, below is the stack trace. Does anyone know why i am getting this issue and how to mitigate it?

Caused by: org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:286) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager$1.get(PoolingHttpClientConnectionManager.java:263) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:190) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at io.searchbox.client.http.JestHttpClient.executeRequest(JestHttpClient.java:132) at io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:67) at io.searchbox.client.http.JestHttpClient.execute(JestHttpClient.java:60) at

Thanks

this is a jest stacktrace which is not owned by us. I am afraid I can't help you with this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.