Open File Limits
Jump to navigation
Jump to search
To change maximum open file limits for your terminal session, run this command:
# ulimit -n 3000
After closing the terminal and creating a new session, the limits will get back to the original values specified in /etc/security/limits.conf.
To change the general value for the system /proc/sys/fs/file-max, change the fs.file-max value in /etc/sysctl.conf:
fs.file-max = 100000
And apply it:
# sysctl -p