0

I know there are hundreds of questions on "How to kill a defunct process" but in all of those I found the final answer was: "Don't worry. They don't use any resources." and that basically you either have to kill the parent or reboot the system.

In my case I can neither reboot the system, nor kill the parent (gnome-shell) process.

While my zombie does not eat CPU or RAM, it prevents me from using audacity. The defunct process was audacity and whenever I try to launch it now it reports that it's already running, even though it has been -9 killed (after it became unresponsive).

What are my options? Can I "rename" the process somehow or assign another PID to it?

2
  • 2
    I'm wondering if gnome-shell is actually the parent of the Audacity process? Did you check with pstree?
    – Kusalananda
    Aug 4, 2018 at 8:01
  • I checked with ps -ef and gnome-system-monitor.
    – confetti
    Aug 4, 2018 at 22:30

1 Answer 1

2

Easy solution that works in my case: Audacity saves a process lock file under /var/tmp/audacity-<username> called audacity-lock-<username>. Deleting this file made me able to start another instance of audacity.

Leaving this answer to help others with similar issues, suggesting them to look for lock files. Still interested in other options for this kinda problem though, if the program in question doesn't use a lock file and refers to the system's current process table (without checking for zombies) for example.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .