-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
LoggingAppender failure #3478
Comments
this feels more than a p2 since service is interrupted? |
This should be fixed by googleapis/gax-java#567. We discovered that flow control does not get released properly if RPC returns an error. This would explain why the program hangs when Stackdriver has an outage and doesn't recover: we leak enough flow control that everything always blocks. |
@pongad now that googleapis/gax-java#567 is resolved, does that mean this is fixed? |
Since this bug is on the ... scary side, I think we might as well leave this open until we update gax |
gax version is updated in this PR. It should be OK to close this bug. |
I am using com.google.cloud.logging.logback.LoggingAppender to send logs to Stackdriver. I have configured the logger in
logback.xml
. Earlier today, Stackdriver had an outage, and the throughput of my service stopped. Turns out the logger was unable to write logs due to the outage:So threads became blocked on logging:
However, it's been many hours since the outage was resolved, yet my service has still not recovered. I would expect the logger to finish writing the pending log events, and service throughput would resume. Any ideas on why this is happening? I have attached the thread stack traces: threads.txt
The text was updated successfully, but these errors were encountered: