程子的博客

想得到从未得到的东西,就要去做从未做过的事

aaaaa
  menu
46 文章
23633 浏览
0 当前访客
ღゝ◡╹)ノ❤️

max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

Linux 中安装 elasticsearch 的时候碰到了这个错误:
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

解决办法:

  • 切换到 root 用户修改配置
vi /etc/sysctl.conf 
  • 添加下面配置
vm.max_map_count=262144
  • 执行命令
sysctl -p

标题:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
作者:chengzime
地址:https://chengzime.com.cn/articles/2019/10/28/1572256100073.html