Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS transcoding leaving defunct processes #2

Open
m1k1o opened this issue Sep 24, 2021 · 3 comments
Open

HLS transcoding leaving defunct processes #2

m1k1o opened this issue Sep 24, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@m1k1o
Copy link
Owner

m1k1o commented Sep 24, 2021

After killing ffmpeg transcoding profile, defuct (zombie) processes can be seen.

This should be fixed by f004def but it does not seem to be working correctly.

@m1k1o
Copy link
Owner Author

m1k1o commented Sep 24, 2021

Could be fixed by waiting for child to finish .Wait(). From: https://stackoverflow.com/a/29552044/1113204

@m1k1o m1k1o closed this as completed in 1d8985a Sep 26, 2021
@m1k1o
Copy link
Owner Author

m1k1o commented Sep 27, 2021

That actually didn't fix all cases. It still occurs on one of my servers. Maybe closing stdin could fix it.

@m1k1o m1k1o reopened this Sep 27, 2021
@m1k1o m1k1o added the bug Something isn't working label Dec 8, 2021
@m1k1o
Copy link
Owner Author

m1k1o commented Oct 30, 2022

If using sh -c and it calls multiple processes, they are never killed. Although this is not directly issue of this implementation, it does not allow calling mutliple processes and piping them, only one.

@m1k1o m1k1o added enhancement New feature or request and removed bug Something isn't working labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant