解決openwrt報“Too many open files”錯誤的方法

1、查看當前參數

root@OpenWrt:~# cat /proc/sys/fs/file-max

65535

2、重新設置參數:編輯.etc/sysctl.conf,插入:

fs.file-max=70000

3、生效設置

root@OpenWrt:~# sysctl -p



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章