# Elastic Server automatically shutdown

**URL:** <https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363>\
**Category:** Elasticsearch\
**Created:** [September 16, 2015, 6:02am UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363 "2015-09-16T06:02:21Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dobariya](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@dobariya](https://discuss.elastic.co/u/dobariya)\
**Post date:** [September 16, 2015, 6:02am UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/1 "2015-09-16T06:02:21Z")

</div>

I have three elastic servers all masters having total 32 GB ram each,16 GB allocated to elastic servers.  
From last few days any one of three servers randomly automatically goes down and the java.exe is killed automatically.Even no error is logged in elastic search logs.

Am using virtual environment with network file system to store data and logs  
Elastic search version is 1.7.0  
Indices count:around 300  
Total documents in whole elastic search : around 60 million

Below is my config

`cluster.name: Cluster1 cluster.routing.allocation.disk.threshold_enabled: false script.disable_dynamic: false node.name: "Master1" node.master: true node.data: true index.query.bool.max_clause_count: 50100 indices.fielddata.cache.size: 25% indices.fielddata.cache.expire: 5m action.disable_delete_all_indices: true indices.cluster.send_refresh_mapping: false index.cache.field.type: soft path.data: \nas5\Elasticsearch\Data path.logs: \nas5\Elasticsearch\Logs\Master1 bootstrap.mlockall: true http.max_content_length: 999mb indices.recovery.max_bytes_per_sec: 100mb indices.recovery.concurrent_streams: 5`

above config goes same for all three servers Master1,Master2,Master3.

---

<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:** [September 16, 2015, 6:08am UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/2 "2015-09-16T06:08:05Z")

</div>

Then something external is stopping the service, if ES is told to stop then it will log something.

---

<div class="post-metadata">

**Author:** ![dobariya](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@dobariya](https://discuss.elastic.co/u/dobariya)\
**Post date:** [September 16, 2015, 6:25am UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/3 "2015-09-16T06:25:06Z")

</div>

Thanks for your reply.  
Yes am checking that too,if something external is stopping the service.  
Still not figured out what is causing the stop.  
Is there anything you could help me out in some settings in elasitc server

---

<div class="post-metadata">

**Author:** ![asatsi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asatsi/32/28417_2.png) [@asatsi](https://discuss.elastic.co/u/asatsi)\
**Post date:** [September 16, 2015, 9:20am UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/4 "2015-09-16T09:20:44Z")

</div>

What do you see in the logs when it went down? That might give you some clue.

---

<div class="post-metadata">

**Author:** ![dobariya](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@dobariya](https://discuss.elastic.co/u/dobariya)\
**Post date:** [September 16, 2015, 12:01pm UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/5 "2015-09-16T12:01:51Z")

</div>

logs have regular logs about indexing,GC collection etc and nothing related to error

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 16, 2015, 12:24pm UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/6 "2015-09-16T12:24:08Z")

</div>

You have a number of settings that could drive up memory usage, e.g. _"index.query.bool.max\_clause\_count: 50100"_ and _"http.max\_content\_length: 999mb"_. You also seem to have a quite large number of indices considering the number of documents in the cluster. Could you please tell us a bit more about the use case and the rationale behind these settings?

---

<div class="post-metadata">

**Author:** ![dobariya](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@dobariya](https://discuss.elastic.co/u/dobariya)\
**Post date:** [September 17, 2015, 3:50am UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/7 "2015-09-17T03:50:02Z")

</div>

I am storing content of the document which i use for MLT query.The reason behind setting index.query.bool.max\_clause\_count: 50100 is because sometimes need to make huge term query which defaults to 1024 clause count.The reason behind setting http.max\_content\_length: 999mb is because i need to index content of documents and the default content length is 100mb which was causing error due to very large content documents.

---

<div class="post-metadata">

**Author:** ![sazary](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sazary/32/6111_2.png) [@sazary](https://discuss.elastic.co/u/sazary)\
**Post date:** [November 23, 2015, 6:21pm UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/8 "2015-11-23T18:21:39Z")

</div>

Any updates?

---

<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 5, 2017, 11:36pm UTC](https://discuss.elastic.co/t/elastic-server-automatically-shutdown/29363/9 "2017-07-05T23:36:29Z")

</div>


