apernet / OpenGFW

OpenGFW is a flexible, easy-to-use, open source implementation of GFW (Great Firewall of China) on Linux
https://gfw.dev/
Mozilla Public License 2.0
9.47k stars 711 forks source link

netlink receive: recvmsg: no buffer space available #78

Closed x6nux closed 6 months ago

x6nux commented 6 months ago

RT 此错误应该如何解决

并且日志的输出 error同样标记为INFO 是否有点不合适 2024-02-26T10:48:46-05:00 INFO engine exited {"error": "netlink receive: recvmsg: no buffer space available"}

tobyxdd commented 6 months ago

Check this out: https://github.com/apernet/OpenGFW/pull/76

tobyxdd commented 6 months ago

我重新发了解决了这个问题的 v0.2.2: https://github.com/apernet/OpenGFW/releases/tag/v0.2.2

tobyxdd commented 6 months ago

https://github.com/apernet/OpenGFW/releases/tag/v0.2.3

增加了 netlink rcvBuf/sndBuf 的选项。建议设置成 README 里写的 4m 或者更大,系统默认的值比较小 负载高的情况下容易导致漏包