Hi,

I'm trying to run iperf server with two clients, but the server get
stuck (and as a result, one of the client get stuck too).

server: iperf -s -i 1

clients: iperf -c <server ip>

Apparently the server is stuck on Condition_Wait( &ReportDoneCond ) in
Reporter.c:350.

I was wondering if there is a chance that there are Condition_Lock (
ReportDoneCond ) and Condition_Unlock ( ReportDoneCond ) missing
before and after Condition_Wait( &ReportDoneCond ) [in lines 341,350].

I noticed that there are lock and unlock around other conditions, but
it seems that they are missing around this one.

Placing the lock and unlock as described, solved my problem.

It will help me a lot if someone can tell me if this might be the
cause for the bug I’m seeing,

Thanks

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to