Last active
July 31, 2017 04:41
-
-
Save franzramadhan/c51c375c1de20e7b90d325fb12717ed6 to your computer and use it in GitHub Desktop.
modify ulimit centos regular user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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