# ES eventually falls in timeouts

**URL:** <https://discuss.elastic.co/t/es-eventually-falls-in-timeouts/24530>\
**Category:** Elasticsearch\
**Created:** [June 29, 2015, 9:06am UTC](https://discuss.elastic.co/t/es-eventually-falls-in-timeouts/24530 "2015-06-29T09:06:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreyAfanasyev](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@AndreyAfanasyev](https://discuss.elastic.co/u/AndreyAfanasyev)\
**Post date:** [June 29, 2015, 9:06am UTC](https://discuss.elastic.co/t/es-eventually-falls-in-timeouts/24530/1 "2015-06-29T09:06:28Z")

</div>

I have server with 32Gb RAM under Windows Server 2012 R2 Standard.  
I have installed on server:

1. ES 1.6.0 - takes 8Gb of RAM, configured as single node.  
ES configuration:

> cluster.name: xxxxx  
> bootstrap.mlockall: true  
> network.host: xxxxx  
> transport.tcp.port: xxxxx  
> http.port: xxxxx  
> index.search.slowlog.threshold.query.warn: 10s  
> index.search.slowlog.threshold.fetch.warn: 1s  
> index.indexing.slowlog.threshold.index.warn: 10s  
> monitor.jvm.gc.young.warn: 1000ms  
> monitor.jvm.gc.old.warn: 10s  
> script.inline: on  
> script.indexed: on

1. MS SQL Server 2008R2 - takes 16Gb of RAM.  
When I just started ES - all is fine, works without any timeouts.  
But after 3-4 days I'm starting get timeouts during different ES operations (search, msearch, bulk insert).  
During getting timeouts BigDesk shows that do not exist any problems with HeapMemory (~5-6 Gb out of 8Gb is used), CPU (cpu usage ~30-40%), Search requests per second ( 50-80 requests per second).  
I turned on slow logging and noticed that number of records in elasticsearch\_index\_search\_slowlog.\* files usually grows day by day and some queries are executed in 1-2 minutes.  
The volume of indexed documents is the same in 3-4 days approximately, so I do not think that it could be a reason.  
If I restart ES - it helps, but situation is repeated in 3-4 days.  
Any hints what could it be?  
On what should I pay attention in order to recognize possible problems?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 29, 2015, 9:29am UTC](https://discuss.elastic.co/t/es-eventually-falls-in-timeouts/24530/2 "2015-06-29T09:29:06Z")

</div>

How much data is in ES?

---

<div class="post-metadata">

**Author:** ![AndreyAfanasyev](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@AndreyAfanasyev](https://discuss.elastic.co/u/AndreyAfanasyev)\
**Post date:** [June 29, 2015, 9:32am UTC](https://discuss.elastic.co/t/es-eventually-falls-in-timeouts/24530/3 "2015-06-29T09:32:06Z")

</div>

About 2 millions of documents, it takes about 10Gb on hard disk.

---

<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:04am UTC](https://discuss.elastic.co/t/es-eventually-falls-in-timeouts/24530/4 "2017-07-06T00:04:50Z")

</div>


