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

启动失败一

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

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

上一篇:启动系统参数调整


下一篇:安装完 typescript,输入tsc 报错