Skip to content

Always throttle log message handling#3579

Closed
rainersigwald wants to merge 1 commit into
dotnet:vs15.9stgfrom
rainersigwald:bound-logging-queue
Closed

Always throttle log message handling#3579
rainersigwald wants to merge 1 commit into
dotnet:vs15.9stgfrom
rainersigwald:bound-logging-queue

Conversation

@rainersigwald
Copy link
Copy Markdown
Member

Fixes #3577 by applying the throttling policy to the processing of all
logging events, not just those from other nodes.

While this will slow the build down, it will keep the memory usage of
log events in the to-be-processed queue bounded, preventing the OOM
reported in the bug.

Fixes dotnet#3577 by applying the throttling policy to the processing of all
logging events, not just those from other nodes.

While this will slow the build down, it will keep the memory usage of
log events in the to-be-processed queue bounded, preventing the OOM
reported in the bug.
@rainersigwald
Copy link
Copy Markdown
Member Author

I don't know why yet, but this is incomplete. So far, it looks like the queue fills and then we hit a deadlock of some sort.

@rainersigwald
Copy link
Copy Markdown
Member Author

This is sufficiently broken by #3577 (comment) that I'm just going to close it and rethink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant