在执行下列步骤来增加 Linux 上的文件描述符时,务必谨慎。如果未正确遵循说明,计算机可能无法正常启动。
要增加文件描述符:
* soft nofile 1024 * hard nofile 2048 root soft nofile 4096 root hard nofile 8192 user1 soft nofile 2048 user1 hard nofile 2048