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

--pidfilepath reports pid of parent process when using fork

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • Labels:
      None
    • ALL

      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. 

       

       

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            joe.drumgoole@mongodb.com Joe Drumgoole (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: