1、查看當前參數
root@OpenWrt:~# cat /proc/sys/fs/file-max
65535
2、重新設置參數:編輯.etc/sysctl.conf,插入:
3、生效設置fs.file-max=70000
root@OpenWrt:~# sysctl -p
1、查看當前參數
root@OpenWrt:~# cat /proc/sys/fs/file-max
65535
2、重新設置參數:編輯.etc/sysctl.conf,插入:
3、生效設置fs.file-max=70000
root@OpenWrt:~# sysctl -p