Created
January 11, 2013 21:18
-
-
Save fduran/4514042 to your computer and use it in GitHub Desktop.
Linux "Too many files open" error
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
# www.fduran.com | |
# Linux "Too many files open" error | |
# check current number of open files: | |
lsof |wc -l | |
# check maximum number of file descriptors | |
sysctl -a |grep file-max | |
# increment value: edit | |
vim /etc/sysctl.conf | |
# append: fs.file-max = 200000 | |
# reload sysctl: | |
sysctl -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment