Issue a clear error message when `--fork` is used in macOS

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-03-17, Programmability 2025-03-31
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Billy Donahue
            Reporter:
            Gabriel Marks
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: