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

--pidfilepath reports pid of parent process when using fork

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Usability
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: