Skip to Content.
Sympa Menu

perfsonar-user - Problems with bwctl "address in use"

Subject: perfSONAR User Q&A and Other Discussion

List archive

Problems with bwctl "address in use"


Chronological Thread 
  • From: "Niederberger, Ralph" <>
  • To: "" <>
  • Cc: "Niederberger, Ralph" <>
  • Subject: Problems with bwctl "address in use"
  • Date: Wed, 6 Jan 2010 17:06:10 +0100
  • Accept-language: de-DE
  • Acceptlanguage: de-DE

Dear all,

I am just experimenting with bwctl.


Having three servers SA,SB and SC where SA is the control server executing
command sequences like

1. bwctl -s SB -c SC
2. bwctl -s SC -c SB

the second connection fails with:

"bind failed: Address already in use
......
Server listening on TCP port 5001
.....
bwctl: remote peer cancelled test
bwctl: stop_exec: 3471777541.009142"


When using the command sequence:

1. bwctl -s SB -c SC
2. bwctl -s SC -c SB
3. bwctl -s SC -c SB
4. bwctl -s SB -c SC
5. bwctl -s SB -c SC
6. bwctl -s SC -c SB
7. bwctl -s SC -c SB

Connections 2, 4, and 6 fail whereas 1, 3, 5, and 7 will work.

It seems that starting a failing session will reset the port,
so that it can be used again.

The problem seems to be that the iperf or bwctl program does not
close the socket correctly, so that the server is in a TIME_WAIT.

Any hints what the real problem is and how it can be solved?

At the end I would like to start "any-to-any"-measurements and store them in
a database.
This seems not to be possible unless every bwctl(iperf) call has correctly
closed its
sockets and new connections can be started.

Best regards

Ralph

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.16.

Top of Page