# echo 5000 > /proc/sys/fs/file-max Then edit /etc/sysctl.conf, and append the line: fs.file-max = 5000 Then make the new value take effect with: # sysctl -p or, alternatively, logout and back in again.