python socket.error: [Errno 24] Too many open files
以openwrt AR9331开发板为例,socket连接到1019个就报错 “python socket.error: [Errno 24] Too many open files”
1.查看开发板socket默认连接个数
root@Tijio:~# ulimit -m
1024
2.修改socket连接个数,以root用户运行以下命令
root@Tijio:~# ulimit -HSn 10000
root@Tijio:~# ulimit -m
10000