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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.2.20, 3.4.15, 3.6.5
    • None

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: