栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

elasticsearch7.x安装异常 ERROR: [2] bootstrap checks failed. You must address the points described in th

elasticsearch7.x安装异常 ERROR: [2] bootstrap checks failed. You must address the points described in th

ERROR: [2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch.
bootstrap check failure [1] of [2]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
bootstrap check failure [2] of [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
 

主要是文件权限与内存大小问题:
 

elasticsearch用户拥有的可创建文件描述的权限太低,至少需要65536,

                 处理办法:   #切换到root用户修改

                                  vim /etc/security/limits.conf   # 在最后面追加下面内容

                                   elk hard nofile 65536

                                  elk soft nofile 65536              #***  是启动elk的用户

 max_map_count文件包含限制一个进程可以拥有的VMA(虚拟内存区域)的数量 

                 处理办法:    #切换到root用户修改

                                  vim /etc/sysctl.conf    # 在最后面追加下面内容

                                  vm.max_map_count=655360

                                 执行  sysctl -p

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/443716.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号