Telegraf: Aerospike plugin memory leak

Created on 24 May 2018  路  8Comments  路  Source: influxdata/telegraf

Relevant telegraf.conf:

[[inputs.aerospike]]
  servers = ["localhost:3000"]

System info:

  • Debian GNU/Linux 8.10 (jessie)
  • telegraf 1.6.3-1

Steps to reproduce:

  1. Upgrade to 1.6.3
  2. Configure aerospike input

Expected behavior:

Don't leak memory.

Actual behavior:

Leaks memory. A lot. After 24h uptime telegraf occupies 10GB RAM

Additional info:

There was no problem with 1.6.2, quite likely related to changes done in #4127.

cc @TheSAS

bug regression

Most helpful comment

I'm planning to do the 1.6.4 release on Monday, it seems that we should revert back to the previous version for now due to the amount of memory being used.

All 8 comments

Sorry.
Seems like it is true (((, i can confirm that memory leak also. Strange that it wasn't spotted while testing that change on test environment.
I'll try to do memory profile using pprof.

Same thing. 1.6.3, aerospike plugin, Ubuntu 16.04

I'm planning to do the 1.6.4 release on Monday, it seems that we should revert back to the previous version for now due to the amount of memory being used.

I have reverted to the previous version, but lets keep this open until we are able to update.

Tyxhshbjwj

R58HC45JKVD

@danielnelson Currently refactored Gopkg.toml uses version = "^1.33.0" which is going to re-introduce this memory leak.
I'd recommend using

version = "<=1.27.0"

until the issue in aerospike-client-go is resolved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Xiol picture Xiol  路  3Comments

fahimeh2010 picture fahimeh2010  路  3Comments

veerendra2 picture veerendra2  路  3Comments

corentingi picture corentingi  路  3Comments

chench00 picture chench00  路  3Comments