https://bz.apache.org/bugzilla/show_bug.cgi?id=57714
Bug ID: 57714 Summary: Blocked trying to get lock: org/apache/log4j/spi/RootLogger Product: Log4j Version: 1.2.17 Hardware: Other OS: Linux Status: NEW Severity: critical Priority: P2 Component: Appender Assignee: log4j-dev@logging.apache.org Reporter: sawa...@spanservices.com Created attachment 32575 --> https://bz.apache.org/bugzilla/attachment.cgi?id=32575&action=edit Thread Dump Hi, We found the below issue in our Thread Dumps. Please let us know your thoughts if this is a known issue with log4j. The JVM that we use is 'BEA JRockit(R) R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-x86_64'. The JDK is - 1.6.0_14 and the Java Vendor is BEA Systems, Inc. The OS is Linux-x86_64. Because of this issue other threads are getting struck in the JVM forming too many blocked-threads. We have attached our thread-dumps as well. In the thread-dumps, we can see the blocked chains pointing to this below struck thread - ExecuteThread: '3'. We are using the following jars for logging: 1. log4j-1.2.17.jar 2. slf4j-api-1.7.5.jar 3. slf4j-log4j12-1.7.5.jar Please let us know if any information that needs to be shared. "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" id=43 idx=0xb0 tid=6731 prio=1 alive, in native, native_waiting, daemon at jrockit/vm/RNI.generateFixedCode(J)J(Native Method) at org/apache/log4j/spi/ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:0) at org/apache/log4j/spi/LoggingEvent.getThrowableStrRep(LoggingEvent.java:413) at org/apache/log4j/WriterAppender.subAppend(WriterAppender.java:313) at org/apache/log4j/RollingFileAppender.subAppend(RollingFileAppender.java:276) at org/apache/log4j/WriterAppender.append(WriterAppender.java:162) at org/apache/log4j/AppenderSkeleton.doAppend(AppenderSkeleton.java:251) ^-- Holding lock: org/apache/log4j/RollingFileAppender@0x553f0ab8[thin lock] at org/apache/log4j/helpers/AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66) at org/apache/log4j/Category.callAppenders(Category.java:206) ^-- Holding lock: org/apache/log4j/spi/RootLogger@0x553efbf8[thin lock] at org/apache/log4j/Category.forcedLog(Category.java:391) at org/apache/log4j/Category.log(Category.java:856) at org/slf4j/impl/Log4jLoggerAdapter.error(Log4jLoggerAdapter.java:575) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org