如何增加Linux中的打开文件数限制


1

我正在尝试增加用户可以打开的文件数,但我不断收到错误:

bash: ulimit: open files: cannot modify limit: Operation not permitted

目前它位于:

rev@kali:~$ ulimit -n
1024

如何增加尺寸,比如999999?

谢谢大家。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.