一、错误提示:
max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144] max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
解决方法:
错误一:max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
//打开配置文件 vim /etc/sysctl.conf //加入 vm.max_map_count=262144 //执行命令 sysctl -p
//然后保存
错误二:max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
//编辑配置文件 vim /etc/security/limits.conf //加入以下2行 redhat hard nofile 65536 redhat soft nofile 65536 //保存退出
重新启动Elasticsearch
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步