[Filebeat 5.2.1]Registry.new: too many open files

Getting errors in the filebeat log:
[filebeat] registrar.go:151: Failed to create tempfile (/var/lib/filebeat/registry.new) for writing: open /var/lib/filebeat/registry.new: too many open files.

The ulimit on my server is unlimited and the number of the open files is around 5000.
Not sure what's going on...

Hi @kareny,

Could you please share the following info?, it should help us to diagnose your problem:

  • How do you run the filebeat daemon
  • What settings are you using? I'm curious to see why it has so many open files
  • Can you dump the result of ulimit -a running it as the filebeat user?

Best regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.