#1233·iperf

iperf3: error - unable to send control message: Bad file descriptor

Author: bharathk-9Created Nov 21, 2021Updated Sep 23, 2026

ISSUE: iperf3: error - unable to send control message: Bad file descriptor

Hello Team,

I'm running network testing on my two systems using the iperf3 command, where the testing is getting successful in some time and it's failing in some time with the error message "iperf3: error - unable to send control message: Bad file descriptor". I assume the connectivity is the problem so to test the connectivity between both systems, I am running a ping test which is passed. In my next step, I am doing a retry in case of the first attempt failed in the iperf3 test. in my all attempt the results were the same(frequent failure with the error message).

Iperf Version: iperf 3.9 (cJSON 1.7.13) Command used: iperf3 --client 10.0.0.4 --json

Help me to identify the issue and fix them, Thanks in advance.