Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-10067

Lock on cache is taking long to be released, leaving the threads stuck.

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • Xray DC - V7.8.1
    • Core
    • Xray 2024 S7
    • OK

    Description

      Description

      Lock on cache is taking long to be released, leaving the threads stuck.

      Actual result/Attachments

      23-Apr-2024 17:00:12.890 WARNING [Catalina-utility-2] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio-8080-exec-85 url: /secure/QuickCreateIssue.jspa; user: dvanvlie] (id=[322980]) has been active for [121,211] milliseconds (since [4/23/24 4:58 PM]) to serve the same request for [https://jira.rel.apps.telenet.be/secure/QuickCreateIssue.jspa?decorator=none] and may be stuck (configured threshold for this StuckThreadDetectionValve is [120] seconds). There is/are [68] thread(s) in total that are monitored by this Valve and may be stuck.
      2  java.lang.Throwable
      3    at java.base@11.0.13/jdk.internal.misc.Unsafe.park(Native Method)
      4    at java.base@11.0.13/java.util.concurrent.locks.LockSupport.park(Unknown Source)
      5    at java.base@11.0.13/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(Unknown Source)
      6    at java.base@11.0.13/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(Unknown Source)
      7    at java.base@11.0.13/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(Unknown Source)
      8    at java.base@11.0.13/java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(Unknown Source)
      9    at com.atlassian.cache.ehcache.LoadingCache.removeAll(LoadingCache.java:347)
      10    at com.atlassian.cache.ehcache.DelegatingCache.removeAll(DelegatingCache.java:158)
      11    at com.atlassian.cache.impl.metrics.InstrumentedCache.removeAll(InstrumentedCache.java:112)
      12    at com.xpandit.raven.cache.impl.CacheRegistryImpl.a(Unknown Source)
      13    at com.xpandit.raven.cache.impl.CacheRegistryImpl$$Lambda$9425/0x00000008055cec40.accept(Unknown Source)
      

      Version

      • Any

      Attachments

        Activity

          People

            nikhil.diwan Nikhil Diwan
            mdrf Marcelo Ferreira
            Miguel Fernandes, Patricia Mateo
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: