I
I
Ilya Rodionov2019-09-15 18:36:14
Database
Ilya Rodionov, 2019-09-15 18:36:14

Influxdb is leaking memory?

Colleagues, good afternoon. I have been suffering with the question for more than a day, but I could not get an answer on the official resources (github + forum). Maybe they'll help here.
Here is the translation of my question:
---
I have a cluster full of virtual machines with 2 cpu 4 GB of RAM
AND no data and influxdb service for storing real-time netdata values ​​(installed using this guide: https://computingforgeeks.com/monitor-linux-server. .. for this i use opentsdb database but almost all ram in the VM is used for influxdb (really, like more than 2GB (50%) ram is using for influxdb)
.
Thanks .---My
opentsdb
config:


      enabled = true
      bind-address = ":4242"
      database = "opentsdb"
      # retention-policy = ""
      # consistency-level = "one"
      # tls-enabled = false
      # certificate= "/etc/ssl/influxdb.pem"
      # Log an error for every malformed point.
      # log-point-errors = true

      # These next lines control how batching works. You should have this enabled
      # otherwise you could get dropped metrics or poor performance. Only points
      # metrics received over the telnet protocol undergo batching.

      # Flush if this many points get buffered
      # batch-size = 1000

      # Number of batches that may be pending in memory
      # batch-pending = 5

      # Flush at least this often even if we haven't hit buffer limit
      # batch-timeout = "1s"
---

Influxdb memory usage from one vm`s
d79f51e9b5951bf026dd81d8cc7efc160e79c0e9
Influxdb usage when i restart it
j1kfct.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-09-15
@vitaly_il1

As far as I can see (from the first graph), the memory consumption is not increasing , so there is no memory leak.
So if the server is stable, I would leave it as is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question