I am using influxdb 1.7.4 version and facing “out of memory” issue while restarting influxd service. Also while running influx command to connect database it is giving “Failed to connect to http://localhost:8086”
Request help on fixing these issues
List of issues: Issue1.
influxd: fatal error: runtime: out of memory
influxd: runtime stack:
influxd: runtime.throw(0x123d974, 0x16)
influxd: #011/usr/local/go/src/runtime/panic.go:608 +0x72
influxd: runtime.sysMap(0xc49c000000, 0x4000000, 0x1da9518)
Welcome! Can you please upgrade to 1.7.10 or 2.0.0-beta.6?
Have you successfully run Influx before?
How did you install it and what are you running it on?
Finally, have you changed your influxdb.conf?
I really can’t help with this one as it is something on your ubuntu server side. When you run free -m, what does it say? I am guessing you are running too many things on that server and you don’t have enough ram
I had the same issue with this. Turns out that the telegraf database had grown to 2.7g. Compare to data being used at 400,000+ data points at 56M. Deleted entire telegraf folder at /var/lib/influxdb/data/telegraf and instance booted up fine.
Tip: Found that telegraf.conf was recording metrics every 1s with no retention policy. see ‘/etc/telegraf/telegraf.conf’.