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

Mongodump extremely slow on 4.0.8

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.8
    • Component/s: None
    • None
    • ALL
    • Storage Engines 2019-07-01
    • 3

      Since upgrading to mongo 4.0.8 from 3.4.6 our mongodumps have become extremely slow.

      mongodump --archive=${DIR}.gz \
      -h ${MONGO_REPL_SET_NAME}/${MONGO_SET} \
      -u ${MONGO_USER} \
      -p ${MONGO_PWD} \
      --gzip \
      --readPreference secondaryPreferred \
      --ssl \
      --sslCAFile mongodb-ca.crt \
      --authenticationDatabase admin \
      --${DB_OR_OPLOG} \
      --forceTableScan 

      is the command we run for backups. Since the upgrade we are seeing about 10x slower backups.
      Tried moving to a new machine with more memory and didn't see any speed improvement. CPU has 1 core at 100% while the rest of the cores have little to no activity. iostat doesn't show disk to be anywhere near saturated. We have tried running mongodump with the 3.6 and 4.0 cli too without any improvement. 

        1. server-40433-lock-issue.png
          server-40433-lock-issue.png
          171 kB
        2. server-40433-4.09-metrics.png
          server-40433-4.09-metrics.png
          30 kB
        3. server-40433-3.6.png
          server-40433-3.6.png
          197 kB
        4. SERVER-40433-3.6.6-vs-4.0.9-eviction.png
          SERVER-40433-3.6.6-vs-4.0.9-eviction.png
          301 kB
        5. Screen Shot 2019-05-21 at 11.44.10 AM.png
          Screen Shot 2019-05-21 at 11.44.10 AM.png
          545 kB
        6. Screen Shot 2019-05-21 at 11.44.02 AM.png
          Screen Shot 2019-05-21 at 11.44.02 AM.png
          505 kB
        7. image-2019-06-20-17-14-07-249.png
          image-2019-06-20-17-14-07-249.png
          30 kB
        8. comparison.png
          comparison.png
          392 kB
        9. 40433.png
          40433.png
          678 kB

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            paulblend Paul Henderson
            Votes:
            1 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: