Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-2509

GPII instance detection doesn't account for PID re-use

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: GPII Framework, GPII-App
    • Labels:
      None

      Description

      If GPII is closed abruptly, the pid file isn't removed.

      I've just had GPII read a stale pid file, and refuse to run because another process has re-used that pid.

      Current work-around: Delete the pid file.

      To-do: Also store the process creation time in the file, and check it against that of the running process.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stegru Steve Grundell
              Reporter:
              stegru Steve Grundell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: