amphp / process

An async process dispatcher for Amp.
MIT License
229 stars 32 forks source link

Zombie Processes #63

Closed kolop3do closed 2 years ago

kolop3do commented 2 years ago

I was experimenting with the new beta [v2.0.0-beta.3] version and I identified that zombies processes are left behind when the process exits or when it is being killed using the $process->kill() method. Is this something that will be fixed in future releases?

trowski commented 2 years ago

I noticed this myself and haven't gotten a chance yet to look into why this is happening.

trowski commented 2 years ago

Fixed this in both master and the v2 branch.

trowski commented 2 years ago

@kolop3do When you have a chance, could you install v2.0.0-beta.4 and let me know if the zombie process issue has been fixed for you both on normal exit and on Process::kill().