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

Watchdog probe files from multiple mongod processes may collide

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Code
    • None
    • Security 2019-01-27, Security 2020-02-10

    Description

      The storage watchdog facility creates a few probe files, writes a string to them, reads it back, and terminates mongod if the read value doesn't match the written value. Probe files are created in the same directory as the auditPath and logPath files. If multiple mongod processes are running on a machine with audit files or log files in the same directory, the watchdog probe files will collide. This can cause false alarms.

      This could be addressed by embedding the mongod pid in the probe file name, or by embedding the audit file or log file name in the probe file name.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: