2

I have a process that I ran under a Tmux session that I cannot kill.

I have tried kill, kill -9, and a few other kill numbers, without it having any effect.

I killed the tmux session successfully but the process lives on.

It does not appear that it has any parents that I can find using different variations of ps.

I could use some help.

Here is what ps gives:

root     18939  1.2  0.0  63492 11148 ?        D    Jul22  53:01 lftp -p 22 -u user,password sftp://somewhere.com
Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255

1 Answers1

3

Your process has the D flag, and is stuck in the D state. You can not kill it, it is by design. You can reboot if you want it gone.

The D state is un-interruptible (TASK_UNINTERRUPTIBLE) state of a process. You can wait or reboot.

See previous discussion here.

number9
  • 1,064