Skip to content

Possible prometheus memory/connection leak #1405

Closed
@jchauncey

Description

I am getting reports of our telegraf image running out of connections which seems to also exhibit itself as a memory leak.

A sample configuration would look like this -

# Set Tag Configuration
[tags]
# Set Agent Configuration
[agent]
  interval = "10s"
  round_interval = true
  metric_buffer_limit = 100000
  collection_jitter = "0s"
  flush_interval = "10s"
  flush_jitter = "0s"
  debug = false
  quiet = true
  flush_buffer_when_full = true
  hostname = "gke-jchauncey-default-pool-1a59a2f1-vxme"
# Set output configuration
[[outputs.influxdb]]
  urls = ["http://10.167.247.17:80"]
  database = "kubernetes"
  precision = "ns"
  timeout = "5s"




# Set Input Configuration
[[inputs.netstat]]
[[inputs.swap]]
[[inputs.system]]
[[inputs.mem]]
[[inputs.cpu]]
  percpu = true
  totalcpu = true
[[inputs.disk]]

[[inputs.diskio]]


[[inputs.net]]

[[inputs.influxdb]]
  urls = ["http://10.167.247.17:80/debug/vars"]
# Set Service Input Configuration

I'll explore this a bit more and see if I can nail down more concrete issue.

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