iperf forks and loops endlessly in daemon mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iperf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When initially launched in daemon (-D) mode, iperf will sit quietly and wait. However, once a test is performed iperf forks a new thread and this process never exits and continues to run at 100% CPU until it is killed.
It also cannot be killed with SIGTERM (although it does acknowledge the attempt once by asking you to do it again if you want to kill it) and has to be killed with SIGKILL.
Very easy to recreate:
user@server $ iperf -sD
user@client $ iperf -c server
htop screenshot attached.
Tested on Precise, Saucy, Trusty and Debian Testing, on i386, amd64 and armel.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: iperf 2.0.5-2.1
ProcVersionSign
Uname: Linux 3.8.0-33-generic i686
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Fri Dec 13 23:30:08 2013
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: iperf
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Łukasz Zemczak: Disapprove
- Ubuntu branches: Pending requested
-
Diff: 469 lines (+167/-56)11 files modifiedcompat/Thread.c (+1/-1)
debian/changelog (+6/-0)
debian/patches/012-no_max_cpu.patch (+106/-0)
debian/patches/series (+1/-0)
man/iperf.1 (+40/-40)
src/Client.cpp (+0/-2)
src/Listener.cpp (+1/-1)
src/PerfSocket.cpp (+1/-1)
src/ReportDefault.c (+5/-5)
src/Reporter.c (+2/-2)
src/Settings.cpp (+4/-4)
tags: | added: server-hwe |
Possibly the same thing: http:// bugs.debian. org/cgi- bin/bugreport. cgi?bug= 529405