我正在尝试运行一个iperf3客户机(ubuntu服务器17.04VM)到服务器(ubuntu服务器17.04VM)的测试,以测试使用-P选项可能的最大并行流。当前已达到最大值~1022个流,然后将因缓冲区溢出错误而终止。我做了以下更改以扩展限制-将nofile的/etc/security/limits.conf软限制和硬限制增加到16384 -将ulimit增加到16384
是否还可以进行其他更改,以超过我正在达到的~1022限制?
测试:
iperf3客户端:
iperf3 -c 10.37.129.4 -P 4096iperf3服务器:
iperf3 -s错误:
root@ubuntu-server# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.37.129.5, port 26967
[ 5] local 10.37.129.4 port 5201 connected to 10.37.129.5 port 50920
[ 6] local 10.37.129.4 port 5201 connected to 10.37.129.5 port 26980
*****output omitted***********
[1016] local 10.37.129.4 port 5201 connected to 10.37.129.5 port 24249
[1018] local 10.37.129.4 port 5201 connected to 10.37.129.5 port 42339
[1020] local 10.37.129.4 port 5201 connected to 10.37.129.5 port 10062
***** buffer overflow detected ***: iperf3 terminated**
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7fa0cf99208b]发布于 2017-08-14 01:34:15
这是iperf3中的一个安全漏洞。我强烈建议你上报。
https://stackoverflow.com/questions/45639175
复制相似问题