Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-46588

CQ is waiting for a lock that is locked by the index

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      CQ appears to be waiting for a lock that is locked by the index, which is currently trying to process a large amount of updates.

      "http-nio-8081-exec-3" #252 daemon prio=5 os_prio=0 tid=0x00007f8bbc15e800 nid=0x1f91 waiting on condition [0x00007f8930951000]
         java.lang.Thread.State: WAITING (parking)
              at sun.misc.Unsafe.park(Native Method)
              - parking to wait for  <0x00000005e0802508> (a java.util.concurrent.locks.ReentrantLock$NonfairSync)
              at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
      ...
              at com.atlassian.bonnie.LoggingReentrantLock.lock(LoggingReentrantLock.java:32)
              at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:483)
      

      The thread 'http-nio-8081-exec-3 is a doeditquestion.action:

      Thread ID Thread name User ID Type Summary Duration
      252 http-nio-8081-exec-3 amckague web-request /cq/doeditquestion.action?id=2669904138 1 hour, 16 minutes, 20 seconds

      The only threads that are getting stuck are CQ threads (see screenshot). Why would we be blocking on a Lucene lock in CQ?

      Attachments

        1. cq stuck requests.png
          cq stuck requests.png
          219 kB
        2. from_memory_dump.png
          from_memory_dump.png
          193 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: