#948156 closing terminal leaves iftop running using 100% cpu

Package:
iftop
Source:
iftop
Description:
displays bandwidth usage information on an network interface
Submitter:
Joey Hess
Date:
2026-04-18 10:29:02 UTC
Severity:
normal
#948156#5
Date:
2020-01-04 18:24:52 UTC
From:
To:
This seems reproducible, I had two iftops spinning after closing
terminal windows, and tried again and got a third one spinning.

read(0, "", 1)                          = 0
poll([{fd=0, events=POLLIN}], 1, 200)   = 1 ([{fd=0, revents=POLLIN|POLLERR|POLLHUP}])
read(0, "", 1)                          = 0
poll([{fd=0, events=POLLIN}], 1, 200)   = 1 ([{fd=0, revents=POLLIN|POLLERR|POLLHUP}])
read(0, "", 1)                          = 0
poll([{fd=0, events=POLLIN}], 1, 200)   = 1 ([{fd=0, revents=POLLIN|POLLERR|POLLHUP}])

#948156#10
Date:
2026-04-18 10:21:27 UTC
From:
To:
Hey!

I like the tool so i thought i try fix some bugs :).

I cant reproduce it however. Tried using version found in 13.x trixie->
iftop_1.0~pre4-9.

Started the tool in gnome-term and closed the term. Process iftop is
gone.

Maybe i am missing some steps?

/C