在ubuntu上为iperf3服务器增加并发连接

在ubuntu上为iperf3服务器增加并发连接

问题描述:

我试图运行一个iperf3客户端(ubuntu服务器17.04虚拟机)到服务器(ubuntu服务器17.04虚拟机)测试最大平行流可能与-P选项。目前已经达到〜1022个流的最大值,然后才会以缓冲区溢出错误终止。已经做了以下修改伸展的极限 - - 增加对NOFILE的/etc/security/limits.conf软,硬限制为16384 - 增加的ulimit 16384在ubuntu上为iperf3服务器增加并发连接

是否有任何其他的变化,我可以做出超过〜1022限值我到达了?

测试:

iperf3客户端:

iperf3 -c 10.37.129.4 -P 4096 

iperf3服务器:

iperf3 -s 

错误:

[email protected]# 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] 

这是在iperf3一个安全漏洞。我强烈建议你报告。