服务器接口有时会抖动。这种情况随机发生。我们在 dmesg 中收到以下日志,并且 syslog 中也捕获了类似的日志。
操作系统:
OS-Debian GNU/Linux 9 (stretch)
4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux
细节:
driver: ixgbe
version: 4.4.0-k
firmware-version: 0x80001112
expansion-rom-version:
bus-info: 0000:41:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
日志:
ixgbe 0000:41:00.0 eth0: initiating reset due to tx timeout
ixgbe 0000:41:00.0 eth0: Reset adapter
ixgbe 0000:41:00.1 eth1: initiating reset due to tx timeout
ixgbe 0000:41:00.1 eth1: Reset adapter
ixgbe 0000:41:00.0 eth0: speed changed to 0 for port eth0
ixgbe 0000:41:00.1 eth1: speed changed to 0 for port eth1
bond0: link status definitely down for interface eth0, disabling it
bond0: now running without any active interface!
bond0: link status definitely down for interface eth1, disabling it
ixgbe 0000:41:00.0 eth0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
bond0: link status definitely up for interface eth0, 10000 Mbps full duplex
bond0: first active interface up!
ixgbe 0000:41:00.1 eth1: NIC Link is Up 10 Gbps, Flow Control: RX/TX
bond0: link status definitely up for interface eth1, 10000 Mbps full duplex
ixgbe 0000:41:00.1 eth1: initiating reset due to tx timeout
ixgbe 0000:41:00.1 eth1: Reset adapter
ixgbe 0000:41:00.1 eth1: speed changed to 0 for port eth1
bond0: link status definitely down for interface eth1, disabling it
ixgbe 0000:41:00.1 eth1: NIC Link is Up 10 Gbps, Flow Control: RX/TX
bond0: link status definitely up for interface eth1, 10000 Mbps full duplex
ixgbe 0000:41:00.1 eth1: initiating reset due to tx timeout
ixgbe 0000:41:00.1 eth1: Reset adapter
ixgbe 0000:41:00.1 eth1: speed changed to 0 for port eth1
bond0: link status definitely down for interface eth1, disabling it
ixgbe 0000:41:00.1 eth1: NIC Link is Up 10 Gbps, Flow Control: RX/TX
bond0: link status definitely up for interface eth1, 10000 Mbps full duplex
ixgbe 0000:41:00.1 eth1: initiating reset due to tx timeout
ixgbe 0000:41:00.1 eth1: Reset adapter
sched: RT throttling activated
请帮我解决这个问题。
答案1
该问题是由 NIC 传输以太网帧时出现的低级问题引起的。
一般建议:
- 检查 NIC 的统计数据(
ethtool -S eth0 | grep tx
) - 检查远程设备的日志
- 更换 SFP 模块/DAC 电缆
- 更新 NIC 驱动程序 - 从英特尔网站。