I am using iperf to test bandwidth between different unix derivates.
Starting an iperf with the command :
iperf -i1 -t10 -w2000K -M 536 -c 195.83.184.4
somtimes works correctly, sometimes hangs,
I have made a crontab entry to start iperf every day once.
As you see from the logs some iperf processes stay for several days before they stop, though they should stop after 10 seconds.
In the meantime others do not have any problems (see e.g. the one started on 17th.)
BTW. I anonymized the ip addresses.
....
2012-02-21 02:12:22: Src .... Dest .... Throughput(TCP) --> 0.0-10.0 sec 330 MBytes 276 Mbits/sec Process started on 21.02.2012 02:12
2012-02-20 17:13:20: Src .... Dest .... Throughput(TCP) --> 0.0-54070.3 sec 24.1 MBytes 0.00 Mbits/sec Process started on 20.02.2012 02:12
2012-02-20 17:13:20: Src .... Dest .... Throughput(TCP) --> 0.0-140467.5 sec 24.0 MBytes 0.00 Mbits/sec Process started on 19.02.2012 02:12
2012-02-20 17:13:20: Src .... Dest .... Throughput(TCP) --> 0.0-226868.3 sec 24.3 MBytes 0.00 Mbits/sec Process started on 18.02.2012 02:12
2012-02-20 17:13:20: Src .... Dest .... Throughput(TCP) --> 0.0-399486.5 sec 24.6 MBytes 0.00 Mbits/sec Process started on 16.02.2012 02:12
2012-02-20 17:13:20: Src .... Dest .... Throughput(TCP) --> 0.0-486065.5 sec 24.0 MBytes 0.00 Mbits/sec Process started on 15.02.2012 02:12
2012-02-17 02:12:32: Src .... Dest .... Throughput(TCP) --> 0.0-17.4 sec 15.4 MBytes 7.42 Mbits/sec Process started on 17.02.2012 02:12
2012-02-14 02:12:25: Src .... Dest .... Throughput(TCP) --> 0.0-10.0 sec 689 MBytes 577 Mbits/sec Process started on 14.02.2012 02:12
.....
If there is a problem, iperf shopuld stop after at least the time specified via the "-t" option, i.e. after 10 seconds.
So a timer should be set to at least stop after e.g. a 30 second timeout.
I do not know what causes the several iperf processes to stop at February 20th 17:13:20.
On the local system there have been no indications that couldhave caused these process endings.
I assume there is a bug within the iperf software, not shutting down after "-t" seconds if the connection is buggy.
Any clues?
Hello,
would you mind showing the settings of the server as well?
Thanks,
Leonidas
What do you mean with settings for the server.
Are you asking how the servers have been started. Here it is:
..../bin/iperf -w12000K -s -o /var/log/iperf-T.log -p 5001 -D
..../bin/iperf -u -s -o /var/log/iperf-U.log -p 5001 -D
Regards
Ralph
What do you mean with settings for the server.
Are you asking how the servers have been started. Here it is:
..../bin/iperf -w12000K -s -o /var/log/iperf-T.log -p 5001 -D
..../bin/iperf -u -s -o /var/log/iperf-U.log -p 5001 -D
Regards
Ralph