Skip to content

Instantly share code, notes, and snippets.

@PSJoshi
Created March 8, 2015 09:30
Show Gist options
  • Select an option

  • Save PSJoshi/6863bb0db6898cdafefb to your computer and use it in GitHub Desktop.

Select an option

Save PSJoshi/6863bb0db6898cdafefb to your computer and use it in GitHub Desktop.
linux - file and process limits
$ sudo vi /etc/security/limits.conf
Add:
* soft nofile 65535
* hard nofile 65535
* soft nproc 32768
* hard nproc 32768
# Note - instead of *, you can add any user! * means - setting applies to all the users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment