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

Mongod killed when database disk is full (with directoryPerDB: true)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.2.20, 3.4.15, 3.6.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I'm using MongoDB 3.6.5 (already tested on 3.2 / 3.4) and i have enabled "directoryPerDB" in /etc/mongo.conf.

      #mongod.conf

      storage:
      dbPath: /var/lib/mongodb
      journal:
      enabled: true
      directoryPerDB: true

      I created LVM disk's for my databases and symlinked in to /var/lib/mongodb

      Here is problem:

      When one of these lvm's is full, it will kill mongod service, so i can't use the rest of databases, where is free space on storage. Because of that, this will kill my primary node and subsequently the secondary node.

      This is critical problem for us.

      Your help will be greatly appreciated!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nick.brewer Nick Brewer
              Reporter:
              polak.martin.mail2@gmail.com Martin Polák
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: