# Elasticsearch dead but pid file exists

**URL:** <https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exists/252684>\
**Category:** Elasticsearch\
**Created:** [October 20, 2020, 12:54pm UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exists/252684 "2020-10-20T12:54:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![muthug](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muthug/32/82555_2.png) [@muthug](https://discuss.elastic.co/u/muthug)\
**Post date:** [October 20, 2020, 12:54pm UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exists/252684/1 "2020-10-20T12:54:39Z")

</div>

Why it is happening very frequently?

is there any thing crashed ? i have removed the dead file from /var/lock/subsys but again and again i am getting this.

Elasticsearch dead but pid file exists

---

<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:** [October 20, 2020, 1:43pm UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exists/252684/2 "2020-10-20T13:43:16Z")

</div>

Which version of Elasticsearch are you using? How did you install it?

---

<div class="post-metadata">

**Author:** ![muthug](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muthug/32/82555_2.png) [@muthug](https://discuss.elastic.co/u/muthug)\
**Post date:** [October 20, 2020, 3:46pm UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exists/252684/3 "2020-10-20T15:46:25Z")

</div>

version is 2.x and installed via wget.

I knew its too old.

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [October 26, 2020, 11:19am UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exists/252684/4 "2020-10-26T11:19:39Z")

</div>

> version is 2.x and installed via wget.

You just installed a new version 2 ES server? Why not use the latest version 7?

If you have to stay on V2, what is size, history, etc. as should be some info in the logs, and crashes are often out of heap, i.e. JVM heap too small, so you might start there, but OS or ES logs should have something.

---

<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:** [November 23, 2020, 11:19am UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exists/252684/5 "2020-11-23T11:19:42Z")

</div>

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