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

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -