# I am curious about SoketTimeoutException thrown by RestHighLevelCilent

**URL:** <https://discuss.elastic.co/t/i-am-curious-about-sokettimeoutexception-thrown-by-resthighlevelcilent/240632>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [July 10, 2020, 2:29am UTC](https://discuss.elastic.co/t/i-am-curious-about-sokettimeoutexception-thrown-by-resthighlevelcilent/240632 "2020-07-10T02:29:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![111349](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111349/32/69694_2.png) [@111349](https://discuss.elastic.co/u/111349)\
**Post date:** [July 10, 2020, 2:29am UTC](https://discuss.elastic.co/t/i-am-curious-about-sokettimeoutexception-thrown-by-resthighlevelcilent/240632/1 "2020-07-10T02:29:11Z")

</div>

My work environment contains 7 days of data, and when looking at elasticsearch, it contains 172 indices (1720shards, 500 million docs). Then, using reathighlevelcilent, we issue a query to get 7 days of data sorted by timestemp.

There is no timeout until 1st and 2nd, but as search time is gradually increased, it becomes slower and eventually timeout occurs in searchrespons.

I know elasticsearch is a very good device for processing large amounts of data, but I don't understand that timeout occurs for up to 500 million data.

There might be a way to extend the timeout of the timeout as a workaround, but it is not the underlying problem solution I want.

I believe that the timeout that occurs in elasticsearch can be solved through setting as well as a way to extend the time.

However, I am not sure about elasticsearch, so I am looking for help.

Clearly, elasticsearch is an analysis tool that can process large amounts of data quickly.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 10, 2020, 10:52am UTC](https://discuss.elastic.co/t/i-am-curious-about-sokettimeoutexception-thrown-by-resthighlevelcilent/240632/2 "2020-07-10T10:52:02Z")

</div>

What is the output of:

```auto
GET /
GET /_cat/nodes?v
GET /_cat/health?v
GET /_cat/indices?v

```

If some outputs are too big, please share them on [gist.github.com](http://gist.github.com) and link them here.

---

<div class="post-metadata">

**Author:** ![111349](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111349/32/69694_2.png) [@111349](https://discuss.elastic.co/u/111349)\
**Post date:** [July 13, 2020, 1:02am UTC](https://discuss.elastic.co/t/i-am-curious-about-sokettimeoutexception-thrown-by-resthighlevelcilent/240632/3 "2020-07-13T01:02:25Z")

</div>

I'm so sorry to see you late.

I am sorry that I couldn't use the external Internet, so I inevitably wrote it on mobile and couldn't show the results.

/\_cat/indices?v reason is

green, open, index\_name, On average one million,

/\_cat/health reason is  
status :green  
shards: 2260  
pri:1130  
active\_shards\_percent:100

/\_cat/nodes?v reason is  
heap.percent: 42,68,67  
ram.percent:98,98,98  
cpu: 26,21,22

---

<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:** [August 10, 2020, 1:03am UTC](https://discuss.elastic.co/t/i-am-curious-about-sokettimeoutexception-thrown-by-resthighlevelcilent/240632/4 "2020-08-10T01:03:37Z")

</div>

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