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

Drop collection becomes slow after system runs for few weeks

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

      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@mongodb.com Kelsey Schubert
            Reporter:
            assaf-oren assaf-oren
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: