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

Memory not entirely used, Mongo uses swap

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Red Hat Enterprise Linux Server release 7.6 (Maipo)
      Mongodb with 3 replicaset
    • ALL
    • Hide

      Red Hat Enterprise Linux Server release 7.6 (Maipo)
      Mongodb with 3 replicaset

      Show
      Red Hat Enterprise Linux Server release 7.6 (Maipo) Mongodb with 3 replicaset

    Description

      On a production 3 nodes mongodb replicaset we're observing that the db is using only 60% of the ram, then it uses the swap memory. This causes severe slowness at application level.

      Parameter "cacheSize" is not set: from the docs we read that by default mongo will use 50% of the avalaible ram minus 1Gb.

      OS swappiness parameter is set to 1.

      We see that is suggested to avoid increasing WT internal cache size above its default value.

      Would it be ok to increase it anyway, in this case?
      Otherwise, increasing server ram could be a solution?

       

      Thank you.

      Attachments

        Activity

          People

            chris.kelly@mongodb.com Chris Kelly
            desk@sorint.it Sorint Lab
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: