-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
I have a dart cli app which runs inside a docker container.
The host and container are running ubuntu.
The dart app spawns the dartdoc process.
I'm having the occasional occurrence where i end up with a zombie 'dart' instance - presumably the dartdoc instance (or maybe a grandchild), that never terminates.
My understanding is that a zombie occurs because the parent process fails to call wait or waitpid to obtain the exit code.
According to AI, when you spawn a process dart starts a thread which monitors wait, so in theory a zombie child shouldn't be possible.
I did see another issue that might relate:
#40585
Given that dartdoc spawns 'dart doc' i might be seeing the grandchild as the zombie (not enough info on this one as the command line info disappears by the time I see the zombie) - our monitor checks the details in /proc to determine if a process has become a zombie.
One problem is that I can't easily replicate the issue so it's a little hard to provide hard details.
I have created a monitor that monitors our process looking for zombies, so If there is something specific you are looking for let me know and we can add it to the monitor.