Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39407

--pidfilepath reports pid of parent process when using fork

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Usability
    • Labels:
      None
    • Operating System:
      ALL

      Description

      If you start `mongod` with the `--pidfilepath` and `–fork` options the pid written to the pid file is the parent process. If we want to subsequently identify the running process the pid file should contain the pid of the child process which is reported on the command line. 

       

       

        Attachments

          Activity

            People

            Assignee:
            eric.sedor Eric Sedor
            Reporter:
            joe.drumgoole Joe Drumgoole
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: