博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Difference between ulimit, lsof, cat /proc/sys/fs/file-max

Posted on 2019-03-15 14:12  天地玄黄  阅读(286)  评论(0编辑  收藏  举报

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