Created
May 8, 2012 13:44
-
-
Save mnem-gists/2635126 to your computer and use it in GitHub Desktop.
bash: Set large ulimit's
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
#/bin/bash | |
# | |
# Change the limits temporarily for a user account | |
# Drop into a root shell | |
sudo su - | |
# Set the limits | |
ulimit -n 9999 | |
# Change to the users (mnem in this case) shell | |
su mnem | |
# Now typing 'ulimit -n' should print 9999 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment