Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
无论如何将(硬限制)open-file-max(setrlimit,RLIMIT_NOFILE)设置为最大值?
假设进程的 pid 为零(root)。我只是想将RLIMIT_NOFILE增加到最大值,但我不知道最大值是多少。
(RLIM_INFINITY 无论如何都不起作用)。