Why is the consumption thread for Log4j2 asynchronous logs still in TIMED_WAIT when the RingBuffer is full? #3514
xurengithub
started this conversation in
General
Replies: 2 comments 4 replies
-
@xurengithub, would you mind providing the following information, please?
|
Beta Was this translation helpful? Give feedback.
2 replies
-
类似问题都是由于消费端阻塞导致的,应该仔细分析消费端为什么会阻塞。 只用来写文件吗?磁盘IO有问题吗?有网络传输吗?网络IO有问题吗? |
Beta Was this translation helpful? Give feedback.
2 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
The RingBuffer is now full and has blocked all log manipulation threads. Why is the RingBuffer consumer stuck in the TIMED_WAITING state, as if it were suspended indefinitely at parkNanos.



1.pom parent
pom.xml dependencies
2.log4j version:

3.Log4j configuration
4.Disruptor version: 3.3.4
5.OS version:
6.JDK distribution & version
Beta Was this translation helpful? Give feedback.
All reactions