启动Elasticsearch报错:
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
意思是虚拟内存上限的值设置得太小了,至少要262144
临时方法:
sysctl -w vm.max_map_count=262144
永久方法:
vim /etc/sysctl.conf
添加一行:
vm.max_map_count=262144
更新配置
sysctl -p