# Stopping watch service, reason \[shutdown initiated\]

**URL:** <https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902>\
**Category:** Elasticsearch\
**Created:** [May 17, 2022, 8:45am UTC](https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902 "2022-05-17T08:45:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitsa](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Post date:** [May 17, 2022, 8:45am UTC](https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902/1 "2022-05-17T08:45:14Z")

</div>

```auto
{"@timestamp":"2022-05-17T07:20:24.445Z", "log.level": "INFO", "message":"license mode is [basic], currently licensed security realms are [reserved/reserved,file/default_file,native/default_native]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[es-master][clusterApplierService#updateTask][T#1]","log.logger":"org.elasticsearch.xpack.security.authc.Realms","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.690Z", "log.level": "INFO", "message":"stopping ...", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"Thread-2","log.logger":"org.elasticsearch.node.Node","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.692Z", "log.level": "INFO", "message":"stopping watch service, reason [shutdown initiated]", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"Thread-2","log.logger":"org.elasticsearch.xpack.watcher.WatcherService","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.692Z", "log.level": "INFO", "message":"[controller/351] [Main.cc@176] ML controller exiting", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"ml-cpp-log-tail-thread","log.logger":"org.elasticsearch.xpack.ml.process.logging.CppLogMessageHandler","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.693Z", "log.level": "INFO", "message":"Native controller process has stopped - no new native processes can be started", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"ml-cpp-log-tail-thread","log.logger":"org.elasticsearch.xpack.ml.process.NativeController","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.693Z", "log.level": "INFO", "message":"watcher has stopped and shutdown", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"elasticsearch[es-master][generic][T#11]","log.logger":"org.elasticsearch.xpack.watcher.WatcherLifeCycleService","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.750Z", "log.level": "INFO", "message":"stopped", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"Thread-2","log.logger":"org.elasticsearch.node.Node","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.750Z", "log.level": "INFO", "message":"closing ...", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"Thread-2","log.logger":"org.elasticsearch.node.Node","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}
{"@timestamp":"2022-05-17T07:29:54.761Z", "log.level": "INFO", "message":"closed", "ecs.version": "1.2.0","service.name":"ES_ECS","event.dataset":"elasticsearch.server","process.thread.name":"Thread-2","log.logger":"org.elasticsearch.node.Node","elasticsearch.cluster.uuid":"tcgMWseqSnWyIaMUZlD9Cw","elasticsearch.node.id":"U11lMBuFQomlDWFFTg8gtQ","elasticsearch.node.name":"es-master","elasticsearch.cluster.name":"elasticsearch"}

```

why i am getting below logs . My elastic pod is up and running for 10 min after that it gets terminated with below logs.

---

<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:** [May 17, 2022, 10:28pm UTC](https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902/2 "2022-05-17T22:28:00Z")

</div>

Is there more to the log you can share?

---

<div class="post-metadata">

**Author:** ![amitsa](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Post date:** [May 18, 2022, 6:51am UTC](https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902/3 "2022-05-18T06:51:10Z")

</div>

Issue is fixed. Thanks for the support

---

<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:** [May 18, 2022, 7:18am UTC](https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902/4 "2022-05-18T07:18:17Z")

</div>

What was the solution?

---

<div class="post-metadata">

**Author:** ![amitsa](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Post date:** [May 21, 2022, 1:01am UTC](https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902/5 "2022-05-21T01:01:25Z")

</div>

The issue was with my framework causing timeout and pods to terminate

---

<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:** [June 18, 2022, 1:02am UTC](https://discuss.elastic.co/t/stopping-watch-service-reason-shutdown-initiated/304902/6 "2022-06-18T01:02:20Z")

</div>

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