Skip to content

Instantly share code, notes, and snippets.

@franzramadhan
Last active July 31, 2017 04:41
Show Gist options
  • Save franzramadhan/c51c375c1de20e7b90d325fb12717ed6 to your computer and use it in GitHub Desktop.
Save franzramadhan/c51c375c1de20e7b90d325fb12717ed6 to your computer and use it in GitHub Desktop.
modify ulimit centos regular user
sudo sh -c "ulimit -u 65535 && exec su $LOGNAME"
if failed
#open files ( -n)
firstwap soft nofile 8192
firstwap hard nofile 8192
#max user processes (-u)
firstwap hard nproc 65535
firstwap soft nproc 65535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment