Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-6860

Agent does not correctly re-initialise shared memory and locks at startup

    Details

    • Support Ticket IDs:

      Description

      If the agent instance crashes, rather than cleanly shutting down (can be simulated by killing apache with a -9 signal), then the shared memory and locks - which have kernel lifetime are not correctly cleaned up. What this means is that, when the agent restarts, the old, possibly corrupt, memory is re-used causing issues with initialization and processing.

      The fix for this is for the master process, at startup, to remove (unlink/delete) any SHM segments and semaphores before recreating them. This will ensure that the old, faulty data is not reused.

        Attachments

          Activity

            People

            • Assignee:
              nick.james Nicholas James
              Reporter:
              spareyc Charles Sparey
              QA Assignee:
              Tomas Hejret
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: