Hi,
You can't kill that which is already dead.
You'll have to investigate the parent process, because the defuncts will stay until the parent reads their return code.
Open a case for whatever software owns the parent process.
You may have some luck by sending a SIGCHLD to the parent process (assuming it isn't completely broken)
There is a special case for init (PID 1): If you find defuncts with a PPID of 1, it usually means that init didn't finish it's initial processing (some inittab entry with "wait" didn't finish).
------------------------------
José Pina Coelho
IT Specialist at Kyndryl
------------------------------
Original Message:
Sent: Tue May 09, 2023 01:18 PM
From: Massimiliano Toscano
Subject: how kill defunct process
Hi ,
if the node agent of PowerHA creates loop with many process , defunct, the grow thousands in the time
root 45684330 40179238 0 0:00 <defunct>
how would be possible to fix the problem . ?
i know usually it is not possible to kill defunct process.
thanx regards
------------------------------
Massimiliano Toscano
------------------------------