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

runtime-v1, runtime-v2: Capture docker output in separate threads. #513

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

benbroadaway
Copy link
Collaborator

Current DockerService implementations capture docker process output streams (stdout and stderr) in the same thread one after the other. stderr doesn't have to be very large before everything hangs indefinitely (process timeout limit will fail the process and clean it up eventually). This happens on arg configs that capture separate streams. If no output is captured it works because service redirects the streams to a single output stream.

Now, when then is fixed...it will allow more log output since nothing hangs/crashes. We may need some "max docker capture size" restriction so we don't run out of memory holding onto output streams in variables returned to the process.

@benbroadaway benbroadaway added the wip Work in progress, do not merge label Dec 8, 2021
@benbroadaway benbroadaway requested a review from a team December 8, 2021 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wip Work in progress, do not merge
Development

Successfully merging this pull request may close these issues.

2 participants