I'm curious how it is possible that a cluster on Elastic Cloud passes the memory lock bootstrap check even though the memory doesn't seem to be locked.
Here is the mlockall
state on all nodes
GET _nodes?filter_path=**.mlockall
{
"nodes" : {
"9jimFRh_SpCU6zWrdzb2cA" : {
"process" : {
"mlockall" : false
}
},
"7NRLpZlnRjuvww7vtV8AQw" : {
"process" : {
"mlockall" : false
}
},
"UHJ96_PzTSmwAVbbLAc5xQ" : {
"process" : {
"mlockall" : false
}
},
...
}
And here is the default cluster setting for bootstrap.memory_lock
:
GET _cluster/settings?include_defaults&filter_path=**.memory_lock
{
"defaults" : {
"bootstrap" : {
"memory_lock" : "false"
}
}
}
Is it because swappiness and/or swapoff is/are enough?
I'd be happy if anyone has an idea about this. Thanks in advance