Skip to content

Instantly share code, notes, and snippets.

@chluehr
Created November 28, 2014 13:16
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 chluehr/30218989ccdf60fe9267 to your computer and use it in GitHub Desktop.
Save chluehr/30218989ccdf60fe9267 to your computer and use it in GitHub Desktop.
Set high limits on limit of open files for server tuning
/etc/security/limits.conf:
* soft nproc 65535
* hard nproc 65535
* soft nofile 65535
* hard nofile 65535
sysctl.conf:
fs.file-max = 65536
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment