{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/5035","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/5035/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/5035/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/5035/events","html_url":"https://github.com/influxdata/telegraf/issues/5035","id":384214016,"node_id":"MDU6SXNzdWUzODQyMTQwMTY=","number":5035,"title":"Memory Leak in 1.9.0","user":{"login":"cxcv","id":234864,"node_id":"MDQ6VXNlcjIzNDg2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/234864?v=4","gravatar_id":"","url":"https://api.github.com/users/cxcv","html_url":"https://github.com/cxcv","followers_url":"https://api.github.com/users/cxcv/followers","following_url":"https://api.github.com/users/cxcv/following{/other_user}","gists_url":"https://api.github.com/users/cxcv/gists{/gist_id}","starred_url":"https://api.github.com/users/cxcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxcv/subscriptions","organizations_url":"https://api.github.com/users/cxcv/orgs","repos_url":"https://api.github.com/users/cxcv/repos","events_url":"https://api.github.com/users/cxcv/events{/privacy}","received_events_url":"https://api.github.com/users/cxcv/received_events","type":"User","site_admin":false},"labels":[{"id":194687826,"node_id":"MDU6TGFiZWwxOTQ2ODc4MjY=","url":"https://api.github.com/repos/influxdata/telegraf/labels/bug","name":"bug","color":"ff8564","default":true}],"state":"open","locked":false,"assignee":{"login":"danielnelson","id":1048079,"node_id":"MDQ6VXNlcjEwNDgwNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1048079?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnelson","html_url":"https://github.com/danielnelson","followers_url":"https://api.github.com/users/danielnelson/followers","following_url":"https://api.github.com/users/danielnelson/following{/other_user}","gists_url":"https://api.github.com/users/danielnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnelson/subscriptions","organizations_url":"https://api.github.com/users/danielnelson/orgs","repos_url":"https://api.github.com/users/danielnelson/repos","events_url":"https://api.github.com/users/danielnelson/events{/privacy}","received_events_url":"https://api.github.com/users/danielnelson/received_events","type":"User","site_admin":false},"assignees":[{"login":"danielnelson","id":1048079,"node_id":"MDQ6VXNlcjEwNDgwNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1048079?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnelson","html_url":"https://github.com/danielnelson","followers_url":"https://api.github.com/users/danielnelson/followers","following_url":"https://api.github.com/users/danielnelson/following{/other_user}","gists_url":"https://api.github.com/users/danielnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnelson/subscriptions","organizations_url":"https://api.github.com/users/danielnelson/orgs","repos_url":"https://api.github.com/users/danielnelson/repos","events_url":"https://api.github.com/users/danielnelson/events{/privacy}","received_events_url":"https://api.github.com/users/danielnelson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-26T08:03:51Z","updated_at":"2018-11-27T20:05:52Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nlooks like telegraf 1.9.0 introduced some memory leak, I see a steady growth here:\r\n\r\n![image](https://user-images.githubusercontent.com/234864/49000160-07338380-f159-11e8-92e9-9abb4ba64732.png)\r\n\r\n### Relevant telegraf.conf:\r\n```toml\r\n[global_tags]\r\n  foo  = \"bar\"\r\n[agent]\r\n  interval = \"60s\"\r\n  round_interval = true\r\n  metric_batch_size = 1000\r\n  metric_buffer_limit = 100000\r\n  collection_jitter = \"0s\"\r\n  flush_interval = \"60s\"\r\n  flush_jitter = \"5s\"\r\n  precision = \"\"\r\n  debug = false\r\n  quiet = false\r\n  logfile = \"\"\r\n  hostname = \"server.example.com\"\r\n  omit_hostname = false\r\n[[outputs.influxdb]]\r\n  urls = ['https://influxdb.example.com:8086']\r\n  database = \"telegraf\"\r\n  username = \"telegraf\"\r\n  password = \"s3cr3t\"\r\n[[inputs.cpu]]\r\n  percpu = true\r\n  totalcpu = true\r\n  collect_cpu_time = false\r\n  report_active = false\r\n[[inputs.disk]]\r\n  ignore_fs = [\"tmpfs\", \"devtmpfs\", \"devfs\"]\r\n[[inputs.diskio]]\r\n[[inputs.kernel]]\r\n[[inputs.mem]]\r\n[[inputs.processes]]\r\n[[inputs.swap]]\r\n[[inputs.system]]\r\n[[inputs.kernel_vmstat]]\r\n[[inputs.net]]\r\n[[inputs.netstat]]\r\n```\r\n\r\n### System info:\r\n\r\nTelegraf 1.9.0 release on Debian 9 AMD64\r\n\r\n### Steps to reproduce:\r\n\r\n1. start telegraf (in mostly the default config)\r\n2. watch memory consumption over time\r\n\r\n### Expected behavior:\r\nmemory consumption should be steady\r\n\r\n### Actual behavior:\r\nmemory consumption grows\r\n\r\n### Additional info:\r\nGrowth rate is ~1.5 MB/hour\r\n"},"comment":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/comments/442198322","html_url":"https://github.com/influxdata/telegraf/issues/5035#issuecomment-442198322","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/5035","id":442198322,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjE5ODMyMg==","user":{"login":"danielnelson","id":1048079,"node_id":"MDQ6VXNlcjEwNDgwNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1048079?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnelson","html_url":"https://github.com/danielnelson","followers_url":"https://api.github.com/users/danielnelson/followers","following_url":"https://api.github.com/users/danielnelson/following{/other_user}","gists_url":"https://api.github.com/users/danielnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnelson/subscriptions","organizations_url":"https://api.github.com/users/danielnelson/orgs","repos_url":"https://api.github.com/users/danielnelson/repos","events_url":"https://api.github.com/users/danielnelson/events{/privacy}","received_events_url":"https://api.github.com/users/danielnelson/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T20:05:52Z","updated_at":"2018-11-27T20:05:52Z","author_association":"CONTRIBUTOR","body":"Thanks for the report, could you try enabling the `internal` input and check the values of the `internal_write,plugin=influxdb` series, in particular these fields:\r\n\r\n- metrics_added\r\n- metrics_written\r\n- metrics_dropped\r\n- metrics_filtered\r\n"}}
{"actor":{"display_login":"danielnelson"}}