Yun-Chih Chen
2017-12-04 15:15:33 UTC
Hi, fellows:
How do I remove a dead process (D-state process) wrapped as a Systemd
service unit? The process's parent is systemd (pid=1) and I still did not
find a way to remove such process without rebooting. I have tried the
following:
$ systemctl restart <my_service> # timeout
$ systemctl daemon-reexec
$ kill -9 <pid of my process> # won't work of course
Or anyone knows of hacks that do the trick?
Thanks in advance!
How do I remove a dead process (D-state process) wrapped as a Systemd
service unit? The process's parent is systemd (pid=1) and I still did not
find a way to remove such process without rebooting. I have tried the
following:
$ systemctl restart <my_service> # timeout
$ systemctl daemon-reexec
$ kill -9 <pid of my process> # won't work of course
Or anyone knows of hacks that do the trick?
Thanks in advance!