Menu

#28 iperf consumes 100% CPU at end of run in daemon mode

Unstable (example)
open
nobody
None
5
2014-07-03
2014-07-03
No

This patch fixes a bug that causes iperf on Linux to consume 100% CPU at the end of a run when it's run in daemon mode (e.g., "iperf -sD"). Subsequent runs consume 100% CPU more each, which can quickly bring a server to its knees. The cause was creation of threads prior to forking into daemon mode. Reversing the order of those operations fixes the problem.

1 Attachments

Discussion


Log in to post a comment.