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