Windows Server 2012 - Bootstrap Check Fail- Unable to lock memory

Hi All,

I am running ES 5.4.1 on Windows Server R12 and I have enabled bootstrap.mlock :true in elasticsearch.yml file and during boot up i get the below error and ES doesn't start.

[2017-10-30T21:35:37,484][INFO ][o.e.t.TransportService ] [slc06yrm] publish_a
ddress {152.69.26.93:9300}, bound_addresses {[2002:9845:1a5d::9845:1a5d]:9300},
{152.69.26.93:9300}, {[fe80::2045:e3cf:f94c:719d]:9300}
[2017-10-30T21:35:37,484][INFO ][o.e.b.BootstrapChecks ] [slc06yrm] bound or
publishing to a non-loopback or non-link-local address, enforcing bootstrap chec
ks
ERROR: [1] bootstrap checks failed
[1]: memory locking requested for elasticsearch process but memory is not locked

I tried disabling swap by

On Windows, the equivalent can be achieved by disabling the paging file entirely via System Properties → Advanced → Performance → Advanced → Virtual memory.

but it didnt help.

How to set virtuallock in windows to overcome this issue

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.