这个问题不定期出现,本来以为是系统问题,换了固件依旧出现这个问题。在清明假期前一天利用上班时间跟进日志各种搜索,发现是 Intel 网卡驱动的历史遗留问题,解决方案为关闭网卡的 tso 、rx 、tx 。关闭后几天未发现此错误日志导致的断网。
命令如下:
ethtool -K eth3 tso off ethtool -K eth2 tso off ethtool -K eth1 tso off ethtool -K eth0 tso off ethtool -K eth3 tx off rx off ethtool -K eth2 tx off rx off ethtool -K eth1 tx off rx off ethtool -K eth0 tx off rx off
其中 $eth0 换成你真实的网口名称。可讲此命令加入到启动项中,以保证每次重启后相关设置得以进行。
在解决问题的时候在 v2 有过搜索,好像没有相关的记录及解决方案,特此记录,希望可以帮到有相同问题的老哥。
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.