Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-266

Agent recycle shutdown of shared memory occurs before all workers have finished

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: Web Agents
    • Labels:
    • Environment:
      IIS 4.1.0-RC6

      Description

      When logging was disabled completely, performance under audit conditions was much improved exposing multiple crashes in different worker threads such as those performing garbage collection and logging.

      This occurs using "Overlapped mode" in IIS which allows smoother transitions for websites whilst being recycled, but also will have multiple processes that can be starting,working or shutting down, or a combination. When this is disabled, performance drops, but the process no longer crashes.

      Attached are the debugdiag analyses of crashes which occurred during performance testing.

      The root cause is that unlinking memory segments occurs whilst other processes may be processing shared memory. We have seen multiple crashes where pool is not available any more that have not been reproducible, and this seems a likely explanation for these.

        Attachments

          Activity

            People

            • Assignee:
              mareks Mareks Malnacs
              Reporter:
              alex.levin@forgerock.com Alex Levin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: