Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1165

Fix a race condition in the UIMA-AS aggregate that results in a hang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3AS
    • Async Scaleout
    • None

    Description

      When running a complex Cas Multiplier Aggregate AS service with a scaled out listener threads, a race condition occurs that leads to a hang. Specifically, one thread obtains a number of child CASes produced from an input CAS, than this thread is preempted and another thread releases one of the child CASes. The parent CAS may not be released from the InProcessCache leading to CAS pool exhaustion since many CASes are stuck in the InProcessCache waiting to be released.

      Attachments

        1. uimaj-as-jms-UIMA-1165-patch.txt
          6 kB
          Jaroslaw Cwiklik
        2. uimaj-as-core-UIMA-1165-patch.txt
          33 kB
          Jaroslaw Cwiklik
        3. uimaj-as-activemq-UIMA-1165-patch.txt
          2 kB
          Jaroslaw Cwiklik

        Activity

          People

            Unassigned Unassigned
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: