Skip to content

Instantly share code, notes, and snippets.

@kymtwyf
Created June 29, 2016 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kymtwyf/858d399702fbe9d1415c58daec9c7185 to your computer and use it in GitHub Desktop.
Save kymtwyf/858d399702fbe9d1415c58daec9c7185 to your computer and use it in GitHub Desktop.
org.apache.nifi.StdErr Failed to start web server: "Too many open files" //

Nifi 报错: [NiFi logging handler] org.apache.nifi.StdErr Failed to start web server: 打开的文件过多

reference reference2

Added to /etc/security/limits:

* hard nofile 50000

* soft nofile 50000

* hard nproc 10000

then reboot! it's done, you can check it with ulimit -a for the configurations

  • soft nproc 10000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment