File Handle Error "Too many open files"

If the error message "Too many open files" is shown under InfluxDB®. Increase the number of open file handles above the default limit (1024), as otherwise InfluxDB®/NGA may run out of file handles.

If this happens, NGA will not crash but it will stop processing write or read requests. Therefore, NGA will buffer endlessly.

  • For example, under Oracle® Linux you can increase the maximum number of the file handles by setting
    DefaultLimitNOFILE=500000:500000
    in the files /etc/systemd/system.conf and /etc/systemd/user.conf.
  • After changing the setting, reboot the machine.