Uploaded image for project: 'Pentaho Analysis - Mondrian'
  1. Pentaho Analysis - Mondrian
  2. MONDRIAN-2476

deadlock encountered between DynamicContentFinder and distributed cache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Fixed
    • Affects Version/s: 3.6.0 (5.0.0 GA Suite Release)
    • Fix Version/s: 7.0.0 GA
    • Component/s: Caching
    • Labels:
    • Environment:
      custom web application that embeds Mondrian server, in a distributed tomcat cluster. Hazelcast distributed cache.
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Operating System/s:
      RedHat Enterprise Linux 6

      Description

      We've seen our custom web application that embeds Mondrian lock up. Attached thread dump was taken from one server that was hung. Several threads waiting on lock 0x00000005e23c2028. Thread 0x00007f1b34146000 is currently flushing obsolete catalogs. This same thread owns the lock on the schema pool. It's a deadlock:

      • Thread A tries to clear the cache of some elements. It first acquires a lock on the schema pool.
      • Thread A then sends a message to the Actor to do the actual flush, so it waits for an answer.
      • Thread B, the Actor, in the meanwhile, receives an external event. To process it, it needs a lock on the pool.

      The environment experiencing this problem has approximately 50 catalogs loaded.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pavel_hrakovich Pavel Hrakovich (Inactive)
              Reporter:
              jeff.s.wright@truvenhealth.com Jeff Wright
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: