[SERVER-39407] --pidfilepath reports pid of parent process when using fork Created: 06/Feb/19 Updated: 12/Feb/19 Resolved: 12/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Usability |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Joe Drumgoole (Inactive) | Assignee: | Eric Sedor |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| 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.
|
| Comments |
| Comment by Joe Drumgoole (Inactive) [ 11/Feb/19 ] |
|
Yep, me neither. Close for now. I will reopen if it reoccurs. |
| Comment by Asya Kamsky [ 11/Feb/19 ] |
|
Hey, joe.drumgoole I'm not seeing what you describe either - what's the version of mongod and OS on which you saw this happen? |
| Comment by Eric Sedor [ 07/Feb/19 ] |
|
Hello, can you please provide more information on how mongod is being started and in what os/environment? As well, what version of mongod is being run? |