mongod DB using swap space

we have a 2 node cluster
16GB Ram on each node
we see that mongod is using swap space
being new in the world of mongoDB
any help or link is appreciated to find the reason of using swap space.
thanks in advance

2 Likes

Swap is addressed in the production notes.

What you have is in accident waiting to happen :slight_smile: . You need 3 nodes to create a functional replicaSet.

Go and sign up for some course at https://university.mongodb.com

M103 covers basic cluster administration.

The documentation covers this nicely too:

3 Likes