Public bug reported:

Binary package hint: cpulimit

a user can lunch cpulimit with cpulimit -l LIMIT -e PROGRAM or cpulimit -l 
LIMIT -p PID
if -z is issue then cpulimit will exit once the program exits too.

but if the user uses the PID, then cpulimit will remain running waiting
for that same PID, and as far as I know, PID are never reused, and even
if it was, it wouldn't have been for the same process.

So, cpulimit should always FORCE -z (-z, --lazy exit if there is no
suitable target process, or if it dies) when using -p ( -p, --pid=N
pid of the process).

** Affects: cpulimit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cpulimit is left waiting for PID
https://bugs.launchpad.net/bugs/200115
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to