I launched my program in the foreground (a daemon program), and then I killed it with kill -9, but I get a zombie remaining and I m not able to kill it with
kill -9
Sometimes the parent ppid cannot be killed, hence kill the zombie pid
kill -9 $(ps -A -ostat,pid | awk '/[zZ]/{ print $2 }')