title: Filebeat automatically stops without kill
body: <p>I use filebeat with elk. I started it with nohup command.
  <code>nohup ./filebeat -e -c filebeat.yml -d &quot;publish&quot; &gt; filebeat.log &amp;</code>
  Application stopped automatically after one day. <code>close_inactive</code> parameter is not work. Is there any configuration that i missed for this problem.</p>
  <pre><code>2020-10-22T09:55:36.814+0100    INFO    crawler/crawler.go:165  Crawler stopped
  2020-10-22T09:55:36.815+0100    INFO    registrar/registrar.go:367      Stopping Registrar
  2020-10-22T09:55:36.815+0100    INFO    registrar/registrar.go:293      Ending Registrar
  2020-10-22T09:55:36.820+0100    INFO    [monitoring]    log/log.go:153  Total non-zero metrics  {&quot;monitoring&quot;: {&quot;metrics&quot;: {&quot;beat&quot;:{&quot;cpu&quot;:{&quot;system&quot;:{&quot;ticks&quot;:10540,&quot;time&quot;:{&quot;ms&quot;:10547}},&quot;total&quot;:{&quot;ticks&quot;:68190,&quot;time&quot;:{&quot;ms&quot;:68203},&quot;value&quot;:68190},&quot;user&quot;:{&quot;ticks&quot;:57650,&quot;time&quot;:{&quot;ms&quot;:57656}}},&quot;handles&quot;:{&quot;limit&quot;:{&quot;hard&quot;:16000,&quot;soft&quot;:16000},&quot;open&quot;:10},&quot;info&quot;:{&quot;ephemeral_id&quot;:&quot;b57f1c4d-7a80-4f1f-aaba-5ab9ee057757&quot;,&quot;uptime&quot;:{&quot;ms&quot;:7119571}},&quot;memstats&quot;:{&quot;gc_next&quot;:22377264,&quot;memory_alloc&quot;:11462592,&quot;memory_total&quot;:18240359416,&quot;rss&quot;:50831360},&quot;runtime&quot;:{&quot;goroutines&quot;:21}},&quot;filebeat&quot;:{&quot;events&quot;:{&quot;added&quot;:528063,&quot;done&quot;:528063},&quot;harvester&quot;:{&quot;closed&quot;:77,&quot;open_files&quot;:0,&quot;running&quot;:0,&quot;started&quot;:77},&quot;input&quot;:{&quot;log&quot;:{&quot;files&quot;:{&quot;truncated&quot;:38}}}},&quot;libbeat&quot;:{&quot;config&quot;:{&quot;module&quot;:{&quot;running&quot;:0},&quot;reloads&quot;:1},&quot;output&quot;:{&quot;events&quot;:{&quot;acked&quot;:527884,&quot;batches&quot;:4732,&quot;failed&quot;:51426,&quot;total&quot;:579310},&quot;read&quot;:{&quot;bytes&quot;:32364,&quot;errors&quot;:4},&quot;type&quot;:&quot;logstash&quot;,&quot;write&quot;:{&quot;bytes&quot;:180629879,&quot;errors&quot;:19}},&quot;pipeline&quot;:{&quot;clients&quot;:0,&quot;events&quot;:{&quot;active&quot;:0,&quot;filtered&quot;:179,&quot;published&quot;:527884,&quot;retry&quot;:99719,&quot;total&quot;:528063},&quot;queue&quot;:{&quot;acked&quot;:527884}}},&quot;registrar&quot;:{&quot;states&quot;:{&quot;cleanup&quot;:8,&quot;current&quot;:38,&quot;update&quot;:528063},&quot;writes&quot;:{&quot;success&quot;:4356,&quot;total&quot;:4356}},&quot;system&quot;:{&quot;cpu&quot;:{&quot;cores&quot;:8},&quot;load&quot;:{&quot;1&quot;:0.66,&quot;15&quot;:0.52,&quot;5&quot;:0.56,&quot;norm&quot;:{&quot;1&quot;:0.0825,&quot;15&quot;:0.065,&quot;5&quot;:0.07}}}}}}
  2020-10-22T09:55:36.820+0100    INFO    [monitoring]    log/log.go:154  Uptime: 1h58m39.572210325s
  2020-10-22T09:55:36.820+0100    INFO    [monitoring]    log/log.go:131  Stopping metrics logging.
  2020-10-22T09:55:36.820+0100    INFO    instance/beat.go:432    filebeat stopped.
  </code></pre>