# Heartbeat dynamic config reloader stopped

**URL:** <https://discuss.elastic.co/t/heartbeat-dynamic-config-reloader-stopped/203229>\
**Category:** Beats\
**Tags:** heartbeat\
**Created:** [October 11, 2019, 11:34am UTC](https://discuss.elastic.co/t/heartbeat-dynamic-config-reloader-stopped/203229 "2019-10-11T11:34:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexandru.toader](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@alexandru.toader](https://discuss.elastic.co/u/alexandru.toader)\
**Post date:** [October 11, 2019, 11:34am UTC](https://discuss.elastic.co/t/heartbeat-dynamic-config-reloader-stopped/203229/1 "2019-10-11T11:34:39Z")

</div>

at a random time the heartbeat is shutting down with INFO messages :  
INFO cfgfile/reload.go:229 Dynamic config reloader stopped  
INFO [reload] cfgfile/list.go:118 Stopping 9 runners ...  
INFO [monitoring] log/log.go:154 Uptime: 2h22m49.087954637s  
INFO [monitoring] log/log.go:131 Stopping metrics logging.  
INFO instance/beat.go:432 heartbeat stopped.

--------- Paths are not the default ------------  
path.home: /opt/beats/7.4.0/heartbeat/  
path.config: /opt/beats/7.4.0/heartbeat/  
path.data: /opt/beats/7.4.0/heartbeat/data/  
path.logs: /logs/beats/heartbeat/

We do not know why and how to investigate further .

Thank you,

---

<div class="post-metadata">

**Author:** ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)\
**Post date:** [October 14, 2019, 4:25pm UTC](https://discuss.elastic.co/t/heartbeat-dynamic-config-reloader-stopped/203229/2 "2019-10-14T16:25:27Z")

</div>

Can you add more logs around that for context? Is it possible that something is sending heartbeat a SIGTERM to shutdown? It looks like a clean shutdown to me.

---

<div class="post-metadata">

**Author:** ![alexandru.toader](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@alexandru.toader](https://discuss.elastic.co/u/alexandru.toader)\
**Post date:** [October 15, 2019, 11:27am UTC](https://discuss.elastic.co/t/heartbeat-dynamic-config-reloader-stopped/203229/3 "2019-10-15T11:27:27Z")

</div>

The behavior is like it's having a consecutive number of loops and then it is closing the services . There is no error logged in heartbeat.log  
2019-10-15T13:28:06.020+0300 DEBUG [publisher] memqueue/eventloop.go:535 broker ACK events: count=1, start-seq=2415, end-seq=2415  
2019-10-15T13:28:06.020+0300 DEBUG [publisher] memqueue/eventloop.go:535 broker ACK events: count=1, start-seq=2415, end-seq=2415  
2019-10-15T13:28:06.020+0300 DEBUG [publisher] memqueue/ackloop.go:128 ackloop: return ack to broker loop:5  
2019-10-15T13:28:06.020+0300 DEBUG [publisher] memqueue/ackloop.go:131 ackloop: done send ack  
2019-10-15T13:28:07.829+0300 DEBUG [service] service/service.go:55 Received sighup, stopping  
2019-10-15T13:28:07.829+0300 INFO beater/heartbeat.go:118 Shutting down.  
2019-10-15T13:28:07.829+0300 INFO cfgfile/reload.go:229 Dynamic config reloader stopped  
2019-10-15T13:28:07.829+0300 INFO [reload] cfgfile/list.go:118 Stopping 9 runners ...  
2019-10-15T13:28:07.829+0300 DEBUG [scheduler] scheduler/scheduler.go:326 done  
2019-10-15T13:28:07.829+0300 DEBUG [scheduler] scheduler/scheduler.go:327 Scheduler stopped.  
2019-10-15T13:28:07.829+0300 DEBUG [reload] cfgfile/list.go:129 Stopping runner: Monitor\<pluginName: ElasticCluster\_node\_3, enabled: false\>  
2019-10-15T13:28:07.829+0300 DEBUG [reload] cfgfile/list.go:129 Stopping runner: Monitor\<pluginName: PostgreSQL\_OpenNMS, enabled: false\>  
2019-10-15T13:28:07.829+0300 DEBUG [reload] cfgfile/list.go:129 Stopping runner: Monitor\<pluginName: Kibana\_Production, enabled: false\>

Config details :  
heartbeat.config.monitors:  
path: /opt/beats/7.4.0/heartbeat/monitors.d/\*.yml  
reload.enabled: false

logging.level: debug  
logging.to\_files: true  
logging.files:  
path: "/logs/beats/heartbeat/"  
name: heartbeat.log  
keepfiles: 7

processors:

- add\_observer\_metadata:

path.home: /opt/beats/7.4.0/heartbeat/  
path.config: /opt/beats/7.4.0/heartbeat/  
path.data: /opt/beats/7.4.0/heartbeat/data/  
path.logs: /logs/beats/heartbeat/

---

<div class="post-metadata">

**Author:** ![alexandru.toader](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@alexandru.toader](https://discuss.elastic.co/u/alexandru.toader)\
**Post date:** [October 16, 2019, 8:29am UTC](https://discuss.elastic.co/t/heartbeat-dynamic-config-reloader-stopped/203229/4 "2019-10-16T08:29:22Z")

</div>

I have added the logs and more details above

---

<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 13, 2019, 8:29am UTC](https://discuss.elastic.co/t/heartbeat-dynamic-config-reloader-stopped/203229/5 "2019-11-13T08:29:26Z")

</div>

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