Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible prometheus memory/connection leak #1405

Closed
jchauncey opened this issue Jun 22, 2016 · 0 comments · Fixed by #1406
Closed

Possible prometheus memory/connection leak #1405

jchauncey opened this issue Jun 22, 2016 · 0 comments · Fixed by #1406

Comments

@jchauncey
Copy link

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.

@jchauncey jchauncey changed the title We are seeing issues with the prometheus plugin. Possible prometheus memory/connection leak Jun 22, 2016
titilambert added a commit to titilambert/telegraf that referenced this issue Jun 22, 2016
titilambert added a commit to titilambert/telegraf that referenced this issue Jun 22, 2016
titilambert added a commit to titilambert/telegraf that referenced this issue Jun 22, 2016
@titilambert titilambert mentioned this issue Jun 22, 2016
sparrc pushed a commit that referenced this issue Jun 23, 2016
chebrolus pushed a commit to chebrolus/telegraf that referenced this issue Jun 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant