ERROR: bootstrap checks failed. You must address the points described in the following lines before starting Elasticsearch.
bootstrap check failure max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
解决办法
[root@yuanlnet]# vim /etc/sysctl.conf
#末尾增加一行
[root@yuanlnet]# vm.max_map_count=262144
#立即生效
[root@yuanlnet]# sysctl -p
解决Elasticsearch启动时的bootstrapchecks失败问题,
文章描述了在启动Elasticsearch时遇到的bootstrapchecks失败问题,原因是vm.max_map_count设置过低。解决方案是在/etc/sysctl.conf文件末尾添加行`vm.max_map_count=262144`,然后执行`sysctl-p`使设置立即生效,从而满足Elasticsearch的内存需求。
476

被折叠的 条评论
为什么被折叠?



