Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

unkillable htop



Hi!

I wanted to try out sysutils/htop on 10.99.12/x86_64, looking at how
much a process is growing by filtering the process list and only
showing that process.  That worked fine. When I was done, I wanted to
quit htop, but F10 didn't make it exit.

- 'kill'ing the process didn't help. It was still there.

- 'kill -9'ing the process didn't help. It was still there.

- Not even when I tried it as root.

- renice claims it can change the process' priority, but it's was
  still eating 99% CPU during a bulk build, so I'm not sure how much
  that helped.

11928: old priority 0, new priority 20
second try:
11928: old priority 20, new priority 20
so it seemed to have an effect.

top says:
11928 wiz       25    0    15M 2484K CPU/15    432:48 99.02% 99.02% htop

ps -auxwww said:
wiz           11928 99.0  0.0    15720   2484 pts/7- O    12:38nachm. 429:43.76 htop

I tried attaching to it with gdb, now ps -auxwww says:
wiz           11928 99.0  0.0    15720   2484 pts/7- OX   12:38nachm. 433:03.93 htop

but gdb doesn't make it process, it stopped at
...
Type "apropos word" to search for commands related to "word"...
Reading symbols from htop...
Attaching to program: /usr/pkg/bin/htop, process 11928


At least I can kill that gdb:
[ 374957.7575874] sorry, pid 11928 was killed: orphaned traced process
zsh: killed     gdb htop 11928

What's going wrong here?

How can I make the process quit?

Thanks,
 Thomas


Home | Main Index | Thread Index | Old Index