解决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


扫描二维码关注公众号,回复: 10589790 查看本文章


发布了41 篇原创文章 · 获赞 7 · 访问量 23万+

猜你喜欢

转载自blog.csdn.net/boliang319/article/details/38865495