Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
300
rated 0 times [  300] [ 0]  / answers: 1 / hits: 612451  / 2 Years ago, mon, december 20, 2021, 3:44:23

The chrome browser was not responsive and I tried to kill it, but instead of disappearing the process had <defunct> at its right, and didn't get killed:



enter image description here



What is <defunct> for a process and why it doesn't it get killed?


More From » process

 Answers
7

From your output we see a "defunct", which means the process has either completed its task or has been corrupted or killed, but its child processes are still running or these parent process is monitoring its child process.
To kill this kind of process, kill -9 PID doesn't work. You can try to kill them with this command but it will show this again and again.


Determine which is the parent process of this defunct process and kill it. To know this run the command:


$ ps -ef | grep defunct
UID PID PPID C STIME TTY TIME CMD
1000 637 27872 0 Oct12 ? 00:00:04 [chrome] <defunct>
1000 1808 1777 0 Oct04 ? 00:00:00 [zeitgeist-datah] <defunct>

Then kill -9 637 27872, then verify the defunct process is gone by ps -ef | grep defunct.


[#34952] Wednesday, December 22, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
restlerfin

Total Points: 347
Total Questions: 112
Total Answers: 108

Location: Ukraine
Member since Wed, Dec 16, 2020
3 Years ago
;