[logback-dev] [JIRA] (LOGBACK-1424) high contention at ch.qos.logback.core.AsyncAppenderBase.putUninterruptibly

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Sep 17 08:07:00 CEST 2018


Jamie created LOGBACK-1424:
------------------------------

             Summary: high contention at ch.qos.logback.core.AsyncAppenderBase.putUninterruptibly
                 Key: LOGBACK-1424
                 URL: https://jira.qos.ch/browse/LOGBACK-1424
             Project: logback
          Issue Type: Bug
          Components: logback-core
    Affects Versions: 1.2.3
         Environment: Linux server.com 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
            Reporter: Jamie
            Assignee: Logback dev list
         Attachments: cat.zip

Disclaimer: I am not sure this is a bug (please excuse if not the case and it is fault in our code somewhere). However, our server stopped processing data yesterday.  All threads were found waiting on AsyncAppenderBase.putUninterruptibly. Stack trace outputted below. To see a comprehensive snapshot of all threads, please visit [http://fastthread.io/] and upload the attached cat.zip file. Click on the filequeue-worker link in the Thread Group section to see the problem.
{code:java}
worker-374 - priority:5 - threadId:0x00007fe456176000 - nativeId:0x313 - state:WAITING
stackTrace:
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0000000646f11d48> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.ArrayBlockingQueue.put(ArrayBlockingQueue.java:353)
at ch.qos.logback.core.AsyncAppenderBase.putUninterruptibly(AsyncAppenderBase.java:181)
at ch.qos.logback.core.AsyncAppenderBase.put(AsyncAppenderBase.java:172)
at ch.qos.logback.core.AsyncAppenderBase.append(AsyncAppenderBase.java:161)
at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:84)
at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:51)
at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270)
at ch.qos.logback.classic.Logger.callAppenders(Logger.java:257)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421)
at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383)
at ch.qos.logback.classic.Logger.error(Logger.java:522)


{code}
 



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list