# ES closed for no reason

**URL:** <https://discuss.elastic.co/t/es-closed-for-no-reason/75809>\
**Category:** Elasticsearch\
**Created:** [February 21, 2017, 3:32am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809 "2017-02-21T03:32:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![tramchamploo](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@tramchamploo](https://discuss.elastic.co/u/tramchamploo)\
**Post date:** [February 21, 2017, 3:32am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/1 "2017-02-21T03:32:27Z")

</div>

Swap closed, and 40GB allocated for heap.

```auto
[2017-02-21T02:42:26,604][INFO][o.e.m.j.JvmGcMonitorService] [node-10.75.28.181] [gc][10708] overhead, spent [331ms] collecting in the last [1s]
[2017-02-21T02:44:31,127][INFO][o.e.m.j.JvmGcMonitorService] [node-10.75.28.181] [gc][10832] overhead, spent [325ms] collecting in the last [1s]
[2017-02-21T02:52:43,118][INFO][o.e.m.j.JvmGcMonitorService] [node-10.75.28.181] [gc][11322] overhead, spent [288ms] collecting in the last [1s]
[2017-02-21T02:59:56,925][INFO][o.e.m.j.JvmGcMonitorService] [node-10.75.28.181] [gc][11754] overhead, spent [263ms] collecting in the last [1s]
[2017-02-21T03:04:05,903][INFO][o.e.m.j.JvmGcMonitorService] [node-10.75.28.181] [gc][12002] overhead, spent [283ms] collecting in the last [1s]
[2017-02-21T03:11:23,244][INFO][o.e.m.j.JvmGcMonitorService] [node-10.75.28.181] [gc][12438] overhead, spent [303ms] collecting in the last [1s]
[2017-02-21T03:26:55,000][INFO][o.e.n.Node] [node-10.75.28.181] stopping ...
[2017-02-21T03:26:56,788][INFO][o.e.n.Node] [node-10.75.28.181] stopped
[2017-02-21T03:26:56,791][INFO][o.e.n.Node] [node-10.75.28.181] closing ...
[2017-02-21T03:26:56,907][INFO][o.e.n.Node] [node-10.75.28.181] closed

```

---

<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:** [February 21, 2017, 3:38am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/2 "2017-02-21T03:38:29Z")

</div>

If you're after some assistance, it pays to provide more than just one sentence and some logs. It's not really clear if you are asking for help or just showing us some logs.

What version are you on? What OS? What JVM? What settings have you changed? How did you notices this?

---

<div class="post-metadata">

**Author:** ![tramchamploo](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@tramchamploo](https://discuss.elastic.co/u/tramchamploo)\
**Post date:** [February 21, 2017, 5:47am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/3 "2017-02-21T05:47:04Z")

</div>

version: 5.2.0  
jdk: jdk1.8.0\_65  
jvm: -Xms40g  
-Xmx40g  
os: Linux 3.10.0-229.el7.x86\_64  
Two nodes in my cluster, and master died for no reason

---

<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:** [February 21, 2017, 7:39am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/4 "2017-02-21T07:39:17Z")

</div>

Based on that log, something shut the service down.

---

<div class="post-metadata">

**Author:** ![tramchamploo](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@tramchamploo](https://discuss.elastic.co/u/tramchamploo)\
**Post date:** [February 21, 2017, 8:59am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/5 "2017-02-21T08:59:46Z")

</div>

I'm sure nothing shut it down.

---

<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:** [February 21, 2017, 9:06am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/6 "2017-02-21T09:06:41Z")

</div>

There's now way to shut ES down via an API. That is a clean request to shutdown that can only happen by something requesting it.

I'd check your OS logs.

---

<div class="post-metadata">

**Author:** ![tramchamploo](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@tramchamploo](https://discuss.elastic.co/u/tramchamploo)\
**Post date:** [February 22, 2017, 6:40am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/7 "2017-02-22T06:40:24Z")

</div>

You mean dmesg, nothing in dmesg when shutdown happens.

---

<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:** [March 22, 2017, 6:40am UTC](https://discuss.elastic.co/t/es-closed-for-no-reason/75809/8 "2017-03-22T06:40:25Z")

</div>

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