解决openwrt报“Too many open files”错误的方法

来源:互联网 发布:只有我知 编辑:程序博客网 时间:2024/05/17 08:27

1、查看当前参数

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

65535

2、重新设置参数:编辑.etc/sysctl.conf,插入:

fs.file-max=70000

3、生效设置

root@OpenWrt:~# sysctl -p



0 0
原创粉丝点击