guyuming76 2020-06-27 20:20 采纳率: 0%
浏览 1202

ifconfig 看 dropped 数据不断增大, 浏览器页面明显慢得不可忍受,如何继续查原因

昨晚浏览器页面突然慢得无法忍受, ifconfig 一看, 网卡上 RX dropped 数值很大,而且不断在增大

网上可以找到不少如下的讨论:

https://www.linuxquestions.org/questions/linux-networking-3/ifconfig-reports-packet-drop-4175507861-print/

Beginning with kernel 2.6.37, it has been changed the meaning of dropped packet count. Before, dropped packets was most likely due to an error. Now, the rx_dropped counter shows statistics for dropped frames because of:

Softnet backlog full
Bad / Unintended VLAN tags
Unknown / Unregistered protocols
IPv6 frames when the server is not configured for IPv6

If any frames meet those conditions, they are dropped before the protocol stack and the rx_dropped counter is incremented.

Care should be taken to confirm that frames are not being legitimately dropped. A quick way to test this (WARNING: this test does not work for bonding interfaces) is to start a packet capture:

host:~# tcpdump

And then watching the rx_dropped counter. If it stops incrementing while the tcpdump is running; then it is more than likely showing drops because of the reasons listed earlier. If frames continue to be dropped while running tcpdump, investigation should take place to determine root cause.

The tcpdump change interface setting, such as promiscuous mode. In promiscuous mode, some checks are disabled.

然后我试了运行 tcpdump, 在多次执行 ifconfig, RX dropped 数字还是不断在增大.

我通过系统监视器和Top命令看到的CPU和 内存都占用不高

网上还有说 netstat -s 可以继续查原因的, 我看了一下netstat -s 返回的结果, 不知道该关心哪个指标.

这会儿浏览器页面刷新又不卡了,但RX dropped 数字还是不停地上涨. 也就是说我甚至无法确定 这个数字 和 浏览体验之间的关系.

  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2020-08-14 07:17
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog