更改整个系统最大文件句柄数
sudo vi /etc/sysctl.conf
添加以下项目,填入要想更改的数量即可
fs.file-max=806029
使其生效
sudo /sbin/sysctl -p