More input on the issue:
What happens is when the mongod get over to 60G (resident) kswapd
kicks in and start to free pages, making mongod having only 50G
resident memory up until it gets into around 60G again.
This goes over and over, when kswapd free pages the whole system
simply hangs, i guess the cluster is not aware of it and this thinking
everything is ok with all the shards/replicasets, and that is what
making the whole cluster hangs.
I am wondering if it's because mongod reaching to almost all available
memory (and then kswapd kicks in) or is it some kind of a function
coming out of mongod.
Then possibly setting somehow a limit on mongod to 55G (resident) ram
will fix it.
The only weird problem is that all the servers but one (node4) are
having this issue. (total 6 nodes)
It happens also on node4, but node4 never hangs. (node4 has numa
enabled with 2 nodes, meaning two kswapd (0 and 1) , i did not try to
disable numa there as it was working well)
The difference between them as i can see it is the CPU, Motherboard
and RAM, what more came to my eyes was the CPU (new generation of
Intel using the QPI technology).
Xeon E5506 on node4, the rest have the Xeon L5410
What bothers me the most is that kswapd kicks in, should i worry about
it?
> ...
>
> read more »