iperf3 在 300 秒后停止运行并出现错误 - 无法发送控制消息:管道损坏

问题描述 投票:0回答:1

请帮助我,当我想使用 Iperf3 进行至少 24 小时的测试时,我遇到了 IPerf3 在 300 秒(5 分钟)后停止运行的问题。错误说iperf3:错误 - 无法发送控制消息:Broken pipe

客户端我在windows 10 wsl的ubuntu上使用IPerf3 version 3.9,服务器端是我无权访问的公共域。所以我只能控制客户端。客户端从插入 5G SIM 卡的 CPE 连接到 WiFi,而服务器在另一个网络上,但它是一个公共域,并在端口 5021 上配置了 iperf3 启用。

我这边的客户端代码运行如下。

iperf3 -c <IP address> -i 10 -t 1500

并得到结果为

[  5] local 192.168.0.107 port 57764 connected to 203.185.137.212 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-60.00  sec  28.5 MBytes  3.99 Mbits/sec  338   10.8 KBytes       
[  5]  60.00-120.00 sec  27.9 MBytes  3.90 Mbits/sec  229   16.3 KBytes       
[  5] 120.00-180.00 sec  28.1 MBytes  3.92 Mbits/sec  255   14.9 KBytes       
[  5] 180.00-240.00 sec  27.9 MBytes  3.90 Mbits/sec  228   9.49 KBytes       
[  5] 240.00-300.00 sec  27.9 MBytes  3.90 Mbits/sec  225   16.3 KBytes       
[  5] 240.00-300.00 sec  27.9 MBytes  3.90 Mbits/sec  225   16.3 KBytes       
iperf3: error - unable to send control message: Broken pipe

我尝试 --debug 并在此 screenshot 中显示结果,这是 240 秒 - 300 秒的片段。你可以看到在 290-300 秒时没有 tcpi_snd_cwnd 发送,与 unable to send control message 的错误相同。

如何让iperf3不停止运行?

请帮助我,我在互联网上搜索了多个地方,没有遇到遇到同样问题的人。非常感谢您。

我现在的可疑

  • 从这个链接,他们在这个screenshot中提到管道破裂可能是内存已满的原因。但我仍然不知道如何解决这个问题。
  • 从这个 link 提到运行多个 UE 流到 iperf 可能会导致内存已满或内存泄漏。

到目前为止我尝试了什么,仍然有同样的问题。我尝试过的事情可能无关紧要,因为我对 Iperf 还很陌生。

  • 从计算机更改为 Raspberry pi -> 仍然遇到同样的问题
  • 使用 -N(无延迟),增加窗口大小(-w),从 -t 更改为 -n 1024M -l 32k
  • 尝试并行流
memory bandwidth iperf iperf3
1个回答
0
投票

参见相关的 iperf3 讨论 #1499。这个问题可能是因为公共域服务器将连接限制为 300 秒。

© www.soinside.com 2019 - 2024. All rights reserved.