hzyitc / armbian-onecloud

Armbian for onecloud. 玩客云用armbian
1.11k stars 217 forks source link

6.1.12 内核,网卡累积流量 >=2GB后统计异常。 #93

Closed ihipop closed 10 months ago

ihipop commented 1 year ago

https://user-images.githubusercontent.com/423077/221075694-e0cab5e4-bf24-4ead-b835-11d2d7385cd7.mp4

会溢出为 163 PB,然后重置循环

Linux onecloud 6.1.12-meson #trunk SMP Tue Feb 21 13:35:59 UTC 2023 armv7l GNU/Linux

RX/TX都一样

hzyitc commented 1 year ago

image

Linux onecloud 6.2.8-meson #1 SMP Wed Mar 22 20:38:11 CST 2023 armv7l GNU/Linux 下无法复现。

6.1的话,等我有空试试。

ABEDC0DE commented 10 months ago

2GB这个无法复现,4GB的复现了,ifconfig是从/proc/net/dev读取的,受限于32位CPU和系统,4GB循环是正常现象,需要查看使用流量建议使用vnstat代替,印象中是默认安装的。

参考资料: Bug 469 - /proc/net/dev byte counter wraps after 2^32