1.unable to install syscall filter
或者bootstrap出现问题,可能是Linux内核版本过低,解决方法:
修改
/elasticsearch/config
下的elasticsearch.yml文件,添加:
bootstrap.system_call_filter: false
之后重启
2.max file descriptors for elasticsearch process is too low
权限不足,解决方法:
使用root用户登录,修改
/etc/security/limits.conf
添加:
* soft nofile 65536
* hard nofile 131072
* soft nproc 4096
* hard nproc 4096
3.max number of threads for user is too low
,
线程数不够,需要修改:
/etc/security/limits.d/90-nproc.conf
将* soft nproc 1024
改为* soft nproc 4096
4.max virtual memory areas vm.max_map_count likely too low
进程虚拟内存不够,解决方法:
修改/etc/sysctl.conf 文件,添加
vm.max_map_count=655360
之后执行
sysctl -p