# Elasticsearch timeout exceptions

**URL:** <https://discuss.elastic.co/t/elasticsearch-timeout-exceptions/20465>\
**Category:** Elasticsearch\
**Created:** [October 28, 2014, 4:07pm UTC](https://discuss.elastic.co/t/elasticsearch-timeout-exceptions/20465 "2014-10-28T16:07:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aldm/32/45644_2.png) [@aldm](https://discuss.elastic.co/u/aldm)\
**Post date:** [October 28, 2014, 4:07pm UTC](https://discuss.elastic.co/t/elasticsearch-timeout-exceptions/20465/1 "2014-10-28T16:07:49Z")

</div>

Hi,

I'm using elasticsearch for storing some documents. Index has about 7000  
docs and 5 shards. Timeout on all requests in set to 5 secs and I'm  
getting ElasticsearchTimeoutException really often. We have lots of  
indexing in systems thorugh more processes and probably this is what make  
overhead on cluster.

I'm using this in jruby rails app which uses Java API client for accessing  
elastcsearch. Approach is to use client node and doing operations on this  
node.

So does anyone have experience with timeouting elasticsearch requests ?  
What could be the main reason for this and how could I handle this ?  
Increasing timeout is not an option.

Thanks in advance

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/18e7ba2c-4df8-4be7-87a6-6ee4e6e7f8a2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/18e7ba2c-4df8-4be7-87a6-6ee4e6e7f8a2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:53am UTC](https://discuss.elastic.co/t/elasticsearch-timeout-exceptions/20465/2 "2017-07-06T00:53:25Z")

</div>


