[SERVER-85420] Remove the --fork option from OSX builds Created: 18/Jan/24 Updated: 23/Jan/24 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gabriel Marks | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Service Arch
|
||||
| Participants: | |||||
| Description |
|
Fork-without-exec causes problems with Apple's frameworks. Some documented examples of this are here, here, here, and here. We ran into this issue in the linked HELP ticket. For these reasons, we should not be supporting this idiom. Users can replace `mongod [options] --fork --logpath <logfile>` with `nohup mongod [options] --logpath <logfile> >/dev/null &` for similar behavior. |