influxdata / influxdb-relay

Service to replicate InfluxDB data for high availability
MIT License
855 stars 350 forks source link

Increase use of memory #85

Open jvs87 opened 3 years ago

jvs87 commented 3 years ago

Hi, we are recently having problems with our influxdb-relay. Sometimes, there is an increase in the use of rss and vms memory and then the influxdb-relays buffer becomes full, with the consequent loss of data.

We have seen that there are some erroneous http requests to the client.

Is it possible that this amount of requests fill the buffer?

Influx-relay configuration

[[http]]
name = "influx-http"
bind-addr = "10.159.163.28:9096"
output = [
{ name="influx1", location = "http://10.159.163.28:8086/write",  buffer-size-mb = 4000 ,max-batch-kb = 100, max-delay-interval = "5s"},
{ name="influx2", location = "http://10.159.163.53:8086/write",  buffer-size-mb = 4000, max-batch-kb = 100, max-delay-interval = "5s"},

image image