WEI
When I try to deploy elasticsearch, all methods I need to set cannot modify vm.max_map_count
[2023-11-24T17:59:34,893][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [node-1] [controller/210] [Main.cc@109] controller (64 bit): Version 6.8.2 (Build f4a9b28c0d5114) Copyright (c) 2019 Elasticsearch BV
[2023-11-24T17:59:35,459][INFO ][o.e.d.DiscoveryModule ] [node-1] using discovery type [zen] and host providers [settings]
[2023-11-24T17:59:36,195][INFO ][o.e.n.Node ] [node-1] initialized
[2023-11-24T17:59:36,195][INFO ][o.e.n.Node ] [node-1] starting ...
[2023-11-24T17:59:36,373][INFO ][o.e.t.TransportService ] [node-1] publish_address {172.17.2.95:9300}, bound_addresses {[::]:9300}
[2023-11-24T17:59:36,386][INFO ][o.e.b.BootstrapChecks ] [node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [3] bootstrap checks failed
[3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2023-11-24T17:59:36,393][INFO ][o.e.n.Node ] [node-1] stopping ...
[2023-11-24T17:59:36,422][INFO ][o.e.n.Node ] [node-1] stopped
[2023-11-24T17:59:36,422][INFO ][o.e.n.Node ] [node-1] closing ...
[2023-11-24T17:59:36,434][INFO ][o.e.n.Node ] [node-1] closed
4 replies