InfluxDB stopping - can't work out why

I eventually figured out that mine was quitting because the Docker container was running out of memory.

I tried to activate the TSI (Time Series Index) which writes the indexes out to disk instead of keeping it in memory – https://www.influxdata.com/blog/how-to-overcome-memory-usage-challenges-with-the-time-series-index/

Unfortunately this didn’t have an effect. Next I decided to limit the sensor values I was writing to InfluxDB to only essentials, in an effort to keep memory usage low. Unfortunately I couldn’t save my existing dataset, so I eventually deleted the data and started afresh.

Will see how long it lasts this time.

I followed this guide to set up Grafana and InfluxDB: Complete guide on setting up Grafana/InfluxDB with Home assistant using official Docker images

1 Like