打开 sudo vi /etc/security/limits.conf, 写入:
soft nofile 65536 --> 设置默认值, 可以直接借助命令修改。 【注销用户,使其生效】
hard nofile 100000 --> 命令修改上限。