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://unix.stackexchange.com/questions/476351/difference-between-ulimit-lsof-cat-proc-sys-fs-file-max

https://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/tuning_and_optimizing_red_hat_enterprise_linux_for_oracle_9i_and_10g_databases/chap-oracle_9i_and_10g_tuning_guide-setting_file_handles

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()

Difference between == and ===

The difference between UDS on IP and UDS on CAN

What's the difference between all the Selection Segues?