esnet / esnet/iperf

Handle interrupted tests (server)

Open
#1,997 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.8k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When a test is accidentally interrupted, e.g.

- unplugging client cable
- client disassociating from Wi-Fi
- `kill -9` the client,

server will stuck in previous test and no longer handles new connections indefinitely.

and client always error:
```
iperf3: error - the server is busy running a test. try again later
```

Is it possible to handle this situation, Without manually kill the server and relaunch?

Tried but failed:

- `--rcv-timeout 15000` and/or `--snd-timeout 15000`
- `--idle-timeout 15`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.