elasticsearch on docker vm.max_map_count [65530] is too low
#show error
#fix error
[2020-03-27T00:51:26,356][INFO ][o.e.d.DiscoveryModule ] [master-node1] using discovery type [zen] and host providers [settings]
[2020-03-27T00:51:34,430][INFO ][o.e.n.Node ] [master-node1] initialized
[2020-03-27T00:51:34,430][INFO ][o.e.n.Node ] [master-node1] starting ...
[2020-03-27T00:51:36,061][INFO ][o.e.t.TransportService ] [master-node1] publish_address {172.20.0.2:9300}, bound_addresses {[::]:9300}
[2020-03-27T00:51:36,238][INFO ][o.e.b.BootstrapChecks ] [master-node1] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
#fix error
[root@localhost ~]# sysctl -w vm.max_map_count=262144
vm.max_map_count = 262144
댓글
댓글 쓰기