最近频繁的在使用的ES,有时候是在虚拟机上有时候是在正式环境上,在安装的时候总这样那样的启动出错,今天正好有时间整理一下。
一、
引导检查失败,最大线程数设置太低。
一、
[1] bootstrap checks failed
[1]: max number of threads [1024] for user [elasticsearch] is too low, increase to at least [2048]
引导检查失败,最大线程数设置太低。
解决方法: 切换到root用户
vi /etc/security/limits.d/90-nproc.conf
修改如下内容:
* soft nproc 1024
#修改为
* soft nproc 2048
二、
[1] bootstrap checks failed
[1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
解决方法:在elasticsearch.yml中配置bootstrap.system_call_filter为false,注意要在Memory下面:
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
以后继续补充!