# ESRestClient TimeoutExceptoin

**URL:** <https://discuss.elastic.co/t/esrestclient-timeoutexceptoin/89424>\
**Category:** Elasticsearch\
**Created:** [June 14, 2017, 4:51pm UTC](https://discuss.elastic.co/t/esrestclient-timeoutexceptoin/89424 "2017-06-14T16:51:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkata\_sreekanth\_bh](https://avatars.discourse-cdn.com/v4/letter/v/65b543/32.png) [@venkata\_sreekanth\_bh](https://discuss.elastic.co/u/venkata_sreekanth_bh)\
**Post date:** [June 14, 2017, 4:51pm UTC](https://discuss.elastic.co/t/esrestclient-timeoutexceptoin/89424/1 "2017-06-14T16:51:58Z")

</div>

When I run a load test against ESRestClient with 15 threads running in burst mode using soap UI I keeping getting a lot of these exceptions

java.util.concurrent.TimeoutException  
at org.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequest(AbstractNIOConnPool.java:364)  
at org.apache.http.nio.pool.AbstractNIOConnPool.processNextPendingRequest(AbstractNIOConnPool.java:344)  
at org.apache.http.nio.pool.AbstractNIOConnPool.release(AbstractNIOConnPool.java:318)

I have a 8 core processor and 32 GB ram. I have allocated 4G of ram to this application.

I have increased the timeout also increased the number of threads but makes no difference.

I have run the same load directly against ES 5.1.2 it seems to be doing well.

So what are the workarounds if there are any? Is there a recommended configuration ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 12, 2017, 4:52pm UTC](https://discuss.elastic.co/t/esrestclient-timeoutexceptoin/89424/2 "2017-07-12T16:52:09Z")

</div>

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