--pidfilepath reports pid of parent process when using fork

XMLWordPrintableJSON

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

      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
              Reporter:
              Joe Drumgoole (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: