linux - The limit of ulimit -Hn -
using trial , error, i've found maximum number can give ulimit -hn without getting error 1048576. number come from? sys.fs.file-max 20000500 (20 million).
actually, limit can increased. set fs.nr_open=5242880 in /etc/sysctl.conf, run sysctl -p , login again. limit 5 million! set both , file-max.
Comments
Post a Comment