Difference between ulimit, lsof, cat /proc/sys/fs/file-max
Posted wangshuo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Difference between ulimit, lsof, cat /proc/sys/fs/file-max相关的知识,希望对你有一定的参考价值。
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
以上是关于Difference between ulimit, lsof, cat /proc/sys/fs/file-max的主要内容,如果未能解决你的问题,请参考以下文章
python: the difference between append and extend
Difference between Netbios and Host name
Difference between hash() and id()