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

Mongos process is consuming more swap memory

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • None
    • Affects Version/s: 2.4.1
    • Component/s: Sharding
    • Labels:
    • Environment:
      Linux CentOs 5.8
    • ALL
    • 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.

      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

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

            Assignee:
            Unassigned Unassigned
            Reporter:
            kthummur Krishnachaitanya Thummuru
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: