nilsson-petter commented on issue #3399: URL: https://github.com/apache/logging-log4j2/issues/3399#issuecomment-2596028774
Thank you for the quick response! I can find six references of that method in the thread dump. However, they are all stuck at `InternalLoggerRegistry.getLogger`, like this: ``` "qtp1164772301-181" #181 [1024431] prio=5 os_prio=0 cpu=3,07ms elapsed=1950,75s tid=0x00007f415059a910 nid=1024431 waiting on condition [0x00007f414fdfb000] java.lang.Thread.State: WAITING (parking) at jdk.internal.misc.Unsafe.park(java.base@21.0.5/Native Method) - parking to wait for <0x00000000e01f0be0> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync) at java.util.concurrent.locks.LockSupport.park(java.base@21.0.5/LockSupport.java:221) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@21.0.5/AbstractQueuedSynchronizer.java:754) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(java.base@21.0.5/AbstractQueuedSynchronizer.java:1079) at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(java.base@21.0.5/ReentrantReadWriteLock.java:738) at org.apache.logging.log4j.core.util.internal.InternalLoggerRegistry.getLogger(InternalLoggerRegistry.java:71) at org.apache.logging.log4j.core.util.internal.InternalLoggerRegistry.computeIfAbsent(InternalLoggerRegistry.java:145) at org.apache.logging.log4j.core.LoggerContext.getLogger(LoggerContext.java:566) at org.apache.logging.log4j.core.LoggerContext.getLogger(LoggerContext.java:539) at org.apache.logging.log4j.core.LoggerContext.getLogger(LoggerContext.java:70) at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:49) at org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:32) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:52) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:32) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:432) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:457) at org.eclipse.jetty.io.IdleTimeout.<clinit>(IdleTimeout.java:35) at org.eclipse.jetty.server.ServerConnector.newEndPoint(ServerConnector.java:439) at org.eclipse.jetty.server.ServerConnector$ServerConnectorManager.newEndPoint(ServerConnector.java:607) at org.eclipse.jetty.server.ServerConnector$ServerConnectorManager.newEndPoint(ServerConnector.java:591) at org.eclipse.jetty.io.ManagedSelector.createEndPoint(ManagedSelector.java:384) at org.eclipse.jetty.io.ManagedSelector$Accept.run(ManagedSelector.java:890) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:979) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1209) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1164) at java.lang.Thread.runWith(java.base@21.0.5/Thread.java:1596) at java.lang.Thread.run(java.base@21.0.5/Thread.java:1583) ``` I have attached a redacted thread dump. [log4j_deadlock.txt](https://github.com/user-attachments/files/18441897/log4j_deadlock.txt) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org