Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

td-agent shuts down itself after a few minutes #88

@mgcrea

Description

@mgcrea

My td-agent properly starts on boot (Ubuntu 14.04.4 LTS), but after a couple of minutes, it justs shut itself down? Is there a specific configuration to add to force it to stay alive?

2016-02-17 18:06:22 +0100 [info]: reading config file path="/etc/td-agent/td-agent.conf"
2016-02-17 18:06:22 +0100 [info]: starting fluentd-0.12.20
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-mixin-config-placeholders' version '0.3.1'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-mixin-plaintextformatter' version '0.2.6'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-plugin-mongo' version '0.7.12'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '1.5.4'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-plugin-s3' version '0.6.5'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-plugin-scribe' version '0.10.14'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-plugin-td' version '0.10.28'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-plugin-td-monitoring' version '0.2.2'
2016-02-17 18:06:22 +0100 [info]: gem 'fluent-plugin-webhdfs' version '0.4.1'
2016-02-17 18:06:22 +0100 [info]: gem 'fluentd' version '0.12.20'
2016-02-17 18:06:22 +0100 [info]: adding match pattern="td.*.*" type="tdlog"
2016-02-17 18:06:22 +0100 [info]: adding match pattern="debug.**" type="stdout"
2016-02-17 18:06:22 +0100 [info]: adding match pattern="player-*.**" type="forward"
2016-02-17 18:06:22 +0100 [warn]: 'host' option in forward output is obsoleted. Use '<server> host xxx </server>' instead.
2016-02-17 18:06:22 +0100 [info]: adding forwarding server 'storage.carlipa.io:24224' host="storage.carlipa.io" port=24224 weight=60 plugin_id="object:3f81f977d3f4"
2016-02-17 18:06:22 +0100 [info]: adding source type="forward"
2016-02-17 18:06:22 +0100 [info]: adding source type="http"
2016-02-17 18:06:22 +0100 [info]: adding source type="debug_agent"
2016-02-17 18:06:22 +0100 [info]: using configuration file: <ROOT>
  <match td.*.*>
    type tdlog
    apikey xxxxxx
    auto_create_table 
    buffer_type file
    buffer_path /var/log/td-agent/buffer/td
    <secondary>
      type file
      path /var/log/td-agent/failed_records
      buffer_path /var/log/td-agent/failed_records.*
    </secondary>
  </match>
  <match debug.**>
    type stdout
  </match>
  <source>
    type forward
  </source>
  <source>
    type http
    port 8888
  </source>
  <source>
    type debug_agent
    bind 127.0.0.1
    port 24230
  </source>
  <match player-*.**>
    type forward
    host storage.foobar.io
    flush_interval 3s
    port 24224
    <server>
      host storage.foobar.io
      port 24224
    </server>
  </match>
</ROOT>
2016-02-17 18:06:22 +0100 [info]: listening fluent socket on 0.0.0.0:24224
2016-02-17 18:06:22 +0100 [info]: listening dRuby uri="druby://127.0.0.1:24230" object="Engine"
2016-02-17 18:10:15 +0100 [info]: shutting down fluentd
2016-02-17 18:10:15 +0100 [info]: shutting down input type="forward" plugin_id="object:3f81f96c70e0"
2016-02-17 18:10:15 +0100 [info]: shutting down input type="debug_agent" plugin_id="object:3f81f96c423c"
2016-02-17 18:10:15 +0100 [info]: shutting down input type="http" plugin_id="object:3f81f96c5bb4"
2016-02-17 18:10:15 +0100 [info]: shutting down output type="tdlog" plugin_id="object:3f81f6ae7fb0"
2016-02-17 18:10:15 +0100 [info]: shutting down output type="stdout" plugin_id="object:3f81f8cf1ebc"
2016-02-17 18:10:15 +0100 [info]: shutting down output type="forward" plugin_id="object:3f81f977d3f4"
2016-02-17 18:10:15 +0100 [info]: process finished code=0
# uname -a
Linux player-8cd9 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
# td-agent --version
td-agent 0.12.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions