lotus filecoin: soft FD limit is low

  • Post author:
  • Post category:小程序

问题:

./lotus-miner log alerts

ctive process:fd-limit
last raised at 2023-01-03 18:17:26.98 +0800 CST; reason: {“message”:”soft FD limit is low”,”recommended_min”:100000,”soft_limit”:16384}

解决方法:

sudo echo "* soft nofile 32000000" >> /etc/security/limits.conf
sudo echo "* hard nofile 128000000" >> /etc/security/limits.conf
sudo echo "fs.nr_open=128000000" >> /etc/sysctl.conf
sudo echo "fs.file-max=128000000" >> /etc/sysctl.conf
sudo sysctl -p

重启系统