I have used influx for a long time, but today, I can’t access it. The error hint is below.
$ influx -host 10.51.72.215
Failed to connect to http://10.51.72.215:8086: Get http://10.51.72.215:8086/ping: dial tcp 10.51.72.215:8086: connect: connection refused
Please check your connection settings and ensure ‘influxd’ is running.
I tried to reboot the influxd server but the same issue.
I used command sudo systemctl status influxdb to check its status, it is active.
I used command influxd config | grep -i index.
it shows fatal error: runtime: out of memory
Could you please helpme to resolve this issue?
Your system ran out of memory according to your first post, which means if its restarted it will be going through and opening all the databases/shards and getting ready to receive data. This can take a while depending on the size of your databases. Until that finishes you will get the tcp error
Rebooting the system will have restarted this process.
Thank you philb, the influx recovered automatically while I did nothing. Do you know if there is any reason for this, I am afraid this may happen again in the furture.