Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iperf 3.1.3 error: Resource temporarily unavailable #521

Closed
fl4w opened this issue Mar 2, 2017 · 6 comments
Closed

iperf 3.1.3 error: Resource temporarily unavailable #521

fl4w opened this issue Mar 2, 2017 · 6 comments
Labels

Comments

@fl4w
Copy link

fl4w commented Mar 2, 2017

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.

@bmah888
Copy link
Contributor

bmah888 commented Mar 10, 2017

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

@fl4w
Copy link
Author

fl4w commented Mar 11, 2017

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.

@bmah888
Copy link
Contributor

bmah888 commented Mar 30, 2017

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.

@bmah888 bmah888 closed this as completed Mar 30, 2017
@jbgs
Copy link

jbgs commented Jun 29, 2018

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

@TalLandes
Copy link

TalLandes commented Nov 6, 2018

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,

@kunal14kapoor
Copy link

Can we re-open this issue, I am also facing this issue and binding a port looks to be the issue. I am using ueransim and trying to benchmark the bandwidth using iperf3. I am continuously getting below error :
{
"start": {
"connected": [],
"version": "iperf 3.7",
"system_info": "Linux 29a1e56b8b73 5.15.0-1051-aws #56~20.04.1-Ubuntu SMP Tue Nov 28 15:43:31 UTC 2023 x86_64"
},
"intervals": [],
"end": {
},
"error": "error - unable to connect to server: Resource temporarily unavailable"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants