iperf 3.1.3 error: Resource temporarily unavailable

Created on 2 Mar 2017  ·  5Comments  ·  Source: esnet/iperf

I'm trying to integrate iperf with a GUI based on Qt, but when I run the iper_run_client() through the method invoked by the clicked button event _"Resource temporarily unavailable"_ error is thrown just after summary data.

---------------------------------------------------
Server listening on 1234
---------------------------------------------------

Accepted connection from 127.0.0.1, port 55132
[  5] local 127.0.0.1 port 1234 connected to 127.0.0.1 port 55134
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec  2.16 GBytes  18.6 Gbits/sec                  (omitted)
[  5]   1.00-2.00   sec  2.23 GBytes  19.2 Gbits/sec                  (omitted)
[  5]   2.00-3.00   sec  2.37 GBytes  20.4 Gbits/sec                  (omitted)
[  5]   0.00-1.00   sec  2.25 GBytes  19.4 Gbits/sec                  
[  5]   1.00-2.00   sec  2.23 GBytes  19.1 Gbits/sec                  
[  5]   2.00-3.00   sec  2.24 GBytes  19.3 Gbits/sec                  
[  5]   3.00-4.00   sec  2.33 GBytes  20.0 Gbits/sec                  
[  5]   4.00-5.00   sec  2.28 GBytes  19.6 Gbits/sec                  
[  5]   5.00-5.04   sec  99.4 MBytes  20.5 Gbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-5.04   sec  0.00 Bytes  0.00 bits/sec                  sender
[  5]   0.00-5.04   sec  11.4 GBytes  19.5 Gbits/sec                  receiver
iperf3: error - unable to receive results: Resource temporarily unavailable

what are the possible causes of this problem? Could it be generate by something related to Qt's signal/slots mechanism?

Thank you in advance for the reply.

question

All 5 comments

I have absolutely no idea. But leaving this issue open in case someone in the community has an idea.

Thank you for your reply.
I've tried to workaround by putting the same code in a "pure" C++ project and it worked with no problem, so I think this is definitly a Qt related issue.
Anyway I'll leave this issue open in case someone had the same problem as mine.

OK, I'm going to close this issue because there isn't much else for us to do about it. It should still show up in case people search for it. The issue tracker isn't an archive of questions and answers, it's really more a list of things that we should be thinking about to improve iperf3.

I got this problem, I my case was the diffs between iperf versions.

Hi,
I am still seeing this issue and made sure both sides of are running the same version. It happens when I try to bind to an interface to be able and set a source port:
iperf3 -c -i 1 -P 2 -u -b 1M -R -V -t 10 -p -B --cport

iperf 3.1.3
ubuntu18.4 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64
iperf3: error - unable to connect to server:

This works:
iperf3 -c -i 1 -P 2 -u -b 1M -R -V -t 10 -p
Server was run like so:
iperf3 -s -p

iperf3 version:
iperf 3.1.3
Linux bench08-pc01.ste.atl.lab.test 4.15.0-38-generic #41-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64
Optional features available: CPU affinity setting, IPv6 flow label, TCP congestion algorithm setting, sendfile / zerocopy, socket pacing

Thanks,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielaCasasv picture danielaCasasv  ·  4Comments

smcifrankp picture smcifrankp  ·  4Comments

michaelfranzl picture michaelfranzl  ·  9Comments

pecigonzalo picture pecigonzalo  ·  4Comments

JodieChuang picture JodieChuang  ·  5Comments