Drop collection becomes slow after system runs for few weeks

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.6.3
    • Component/s: None
    • Environment:
      CentOS 7.6
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Our system generates relatively large amount of DBs (few hundreds), keeps them for a while and drop the oldest when needed to create new ones.

      We see that after running for several weeks, the drop operation become slow and takes large amount of CPU.

      We do the DB Drop by dropping all collections first and then the DB itself. It seems that the collection drop becomes ~x3 times slower and so does the CPU consumption.

      Restarting mongod solves the problem (for the next few weeks).

            Assignee:
            Kelsey Schubert
            Reporter:
            assaf-oren
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: