# Elasticsearch service stopping automatically after some time

**URL:** <https://discuss.elastic.co/t/elasticsearch-service-stopping-automatically-after-some-time/154638>\
**Category:** Elasticsearch\
**Created:** [October 30, 2018, 11:32am UTC](https://discuss.elastic.co/t/elasticsearch-service-stopping-automatically-after-some-time/154638 "2018-10-30T11:32:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAHESH\_K1](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@MAHESH\_K1](https://discuss.elastic.co/u/MAHESH_K1)\
**Post date:** [October 30, 2018, 11:32am UTC](https://discuss.elastic.co/t/elasticsearch-service-stopping-automatically-after-some-time/154638/1 "2018-10-30T11:32:58Z")

</div>

elasticsearch.service - Elasticsearch  
Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service;  
disabled; vendor preset: disabled)  
Active: failed (Result: exit-code) since Tue 2018-10-30 20:08:41 IST; 3s ago  
Docs: [http://www.elastic.co](http://www.elastic.co)  
Process: 31027 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID\_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG\_DIR} -Edefault.path.data=${DATA\_DIR} -Edefault.path.conf=${CONF\_DIR} (code=exited, status=1/FAILURE)  
Process: 31024  
ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec  
(code=exited, status=0/SUCCESS)  
Main PID: 31027 (code=exited, status=1/FAILURE)

---

<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:** [October 30, 2018, 9:37pm UTC](https://discuss.elastic.co/t/elasticsearch-service-stopping-automatically-after-some-time/154638/2 "2018-10-30T21:37:01Z")

</div>

Please;

- Don't just post a console/log output and expect people to assist
- Not provide _any_ other information about what version you are on, what OS, etc

---

<div class="post-metadata">

**Author:** ![MAHESH\_K1](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@MAHESH\_K1](https://discuss.elastic.co/u/MAHESH_K1)\
**Post date:** [November 2, 2018, 11:10am UTC](https://discuss.elastic.co/t/elasticsearch-service-stopping-automatically-after-some-time/154638/3 "2018-11-02T11:10:43Z")

</div>

Hi,

Sorry!

Elastic search Version i'm using is "5.6.10" and the OS is CENTOS 7.

Service will run for few seconds/minutes and stops after that . Again im starting the service and same thing is repeating.

---

<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:** [November 2, 2018, 8:50pm UTC](https://discuss.elastic.co/t/elasticsearch-service-stopping-automatically-after-some-time/154638/4 "2018-11-02T20:50:55Z")

</div>

What does the Elasticsearch log show?

---

<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 30, 2018, 8:56pm UTC](https://discuss.elastic.co/t/elasticsearch-service-stopping-automatically-after-some-time/154638/5 "2018-11-30T20:56:55Z")

</div>

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