执行jmeter端口不够用报错(Address not available)
linux解决方案
// 增加本地端口范围
echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range// 启用快速回收TIME_WAIT套接字
sudo sysctl -w net.ipv4.tcp_tw_recycle=1// 启用套接字的重用
sudo sysctl -w net.ipv4.tcp_tw_reuse=1// 调低端口释放后等待时长(默认60s,建议改成15~30s)
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout