Difference between ulimit, lsof, cat /proc/sys/fs/file-max
Posted on 2019-03-15 14:12 天地玄黄 阅读(286) 评论(0) 编辑 收藏 举报https://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/
https://serverfault.com/questions/122679/how-do-ulimit-n-and-proc-sys-fs-file-max-differ
file-max是全局约束。
ulimit -n中是对某个用户的每个进程的约束(open files)。
ulimit -aH是hard limit