当前位置 : 主页 > 网页制作 > Bootstarp >

ES部署报错 max file size 和 kibana 报错File size limit exceeded

来源:互联网 收集:自由互联 发布时间:2021-06-12
启动失败一 ERROR: [ 2] bootstrap checks failed [ 1]: max file descriptors [ 4096] for elasticsearch process is too low, increase to at least [ 65536] [ 2]: max virtual memory areas vm.max_map_count [ 65530] is too low, increase to at l

启动失败一

ERROR: [2] bootstrap checks failed [1]:

max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] [2]:

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

 

永久解决:

#修改文件 /etc/security/limits.conf ,在下面添加下面两句内容

* hard nofile 65536

* soft nofile 65536

 

启动失败二

max file size [67108864] for user [elastic] is too low, increase to [unlimited]

#切换root用户,执行下面命令

ulimit -f unlimited

永久解决:

vim /etc/security/limits.conf

加上下面的语句

elastic - fsize unlimited

 

启动失败三

 

kibana启动报File size limit exceeded

解决方法:同失败二的解决方法

网友评论