Page 1 of 1

Zombie processes

Posted: Sun Jul 30, 2023 10:11 am
by syntax2001
Hi,

I use MakeMKV 1.17.4 on Linux Mint 21.2 Mate.
Overall it works quite well, but I noticed that MakeMKV produces during its operation zombie processes.

I found two situation where this happens always in a reproducible way:

I open makemkv via the mintmenu. This work fine and ps -ef shows (my username is mike):

Code: Select all

mike        2116    1899  0 11:18 ?        00:00:02 mintmenu
mike        2616    2116  1 11:19 ?        00:00:22 makemkv
mike        2625    2616  8 11:19 ?        00:02:42 /usr/bin/makemkvcon guiserver A0001+shm
The first situation is, when I open a (any) DVD in MakeMKV.
During the opening process I see via ps -ef:

Code: Select all

mike        4347    2625  0 11:51 ?        00:00:00 /usr/bin/mmgplsrv libdvdnav-server
Then after opening is finished, I get:

Code: Select all

mike        4347    2625  0 11:51 ?        00:00:00 [mmgplsrv] <defunct>
This zombie process stays, and new, additional ones of the same kind are produced when I open further DVDs, until I finally close MakeMKV completely.
(Afaik this happens only when I open DVDs and not when opening BRs.)

The second action that produces a zombie process is when I eject a DVD or Blu Ray via the Eject button in the MakeMKV toolbar.
In this case ps -ef shows after (working) ejecting:

Code: Select all

root        4655    2625  0 12:03 ?        00:00:00 [umount] <defunct>
For each eject via the button, an additional umount zombie process shows up.
When I close MakeMKV these zombies also vanish.

Is it possible to avoid these zombies altogether?