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

Mongo Server does not close stdout when using --fork and --syslog

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.5.1
    • Affects Version/s: 2.2.4, 2.4.1
    • Component/s: Logging
    • Environment:
      Linux
    • ALL

      The mongod server does not daemonize correctly when using --fork and --syslog: It does not close stdout.

      This bug causes a hang when starting mongod via SSH:

      # ssh hostname "mongod --fork --syslog ..."
      

      Pretty much the same bug already existed and was fixed in an older version of MongoDB (without --syslog): SERVER-966

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            bwaldvogel Benedikt Waldvogel
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: