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

Mongos process is consuming more swap memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker - P1
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
    • Environment:
      Linux CentOs 5.8
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Provisioned 18 Million docs to database and each doc size around 1KB.

      After 3 to 4 hours i observed swap consumption of the mongos process reached maximum swap.

      Show
      Provisioned 18 Million docs to database and each doc size around 1KB. After 3 to 4 hours i observed swap consumption of the mongos process reached maximum swap.

      Description

      Hi,

      I am facing an issue related to the mongos process in my setup, mongos process is consuming more amount of swap memory, initially when I start the mongos process it consumes around 150-300MB of swap memory. After that i start provision data to the database, sometime later I observed mongos process is consumes around 4 GB of swap memory (swap memory which is configured to the Linux machine is 4.1GB), consumes almost all swap memory configured in setup.

      Configuration of my setup is below.

      • Created 3 replica-sets which having 5 members each including arbiter
      • Created 3 config servers
      • Created the 32 mongos servers.

      Each mongod and mongos processes are running in individual Linux machine.

      Steps which i followed to recover swap

      • Stop mongos process
      • Start mongos process

      After that consumption of swap memory reduce and consuming 150-300MB of swap.

      Could you please suggest?

      Thanks & Regards
      Krishnachaitanya

        Attachments

        1. Logs.rar
          5 kB
        2. Replica_sets_stats.txt
          4 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: