AsyncAppender hangs #662
long-forgotten
started this conversation in
General
Replies: 1 comment 5 replies
-
@long-forgotten With which version of JDK and logback is this deadlock occurring? What is the configuration of MODULE_APPENDER? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello team,
Recently we leverage asyncappender to reduce latency as logging. It does help to reduce the latency in case of large amounts of logging events. However, we spot a hang issue. Though, for now, it occurs only once, we're afraid it's a bug of logback or JDK and it might happen again.
Below is the thread stack, almost all threads of our process are blocked on this lock and we fail to locate the thread owning this lock(it's weird that jstack doesn't show which thread holds that lock, we guess the thread holding the lock might crash for somehow reason, but we have no way to prove that)
Our configuration is below
Any suggestions would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions