Skip to content

Instantly share code, notes, and snippets.

@Jay-Jay-D
Last active March 4, 2019 20:59
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 Jay-Jay-D/cb91bdad6d343cad155855369db51b2f to your computer and use it in GitHub Desktop.
Save Jay-Jay-D/cb91bdad6d343cad155855369db51b2f to your computer and use it in GitHub Desktop.
# /etc/security/limits.conf
#<domain> <type> <item> <value>
root hard nofile 999999
root soft nofile 999999
root hard core -1
root soft core -1
root hard data -1
root soft data -1
root hard fsize -1
root soft fsize -1
root hard memlock -1
root soft memlock -1
root hard rss -1
root soft rss -1
root hard stack -1
root soft stack -1
root hard cpu -1
root soft cpu -1
root hard nproc -1
root soft nproc -1
root hard as -1
root soft as -1
root hard locks -1
root soft locks -1
root hard sigpending -1
root soft sigpending -1
root hard msgqueue -1
root soft msgqueue -1
root hard nice -1
root soft nice -1
root hard rtprio -1
root soft rtprio -1
# End of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment