You cannot kill “defunct” processes. You can only speed up the deletion process of its parent entry in the process table by killing its parent.

That being said, this worked for me.

ps -ef | grep defunct | grep -v grep | cut -b8-20 | xargs kill -9

Poof! Gone.

Was this post helpful?