启动失败一

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

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

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

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

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

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄