1.max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
ulimit -n 65536
2.max number of threads [1024] for user [posp] is too low, increase to at least [4096]
修改 /etc/security/limits.d/90-nproc.conf
* soft nproc 1024
* soft nproc 4096
3.max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
修改/etc/sysctl.conf配置文件,
cat /etc/sysctl.conf | grep vm.max_map_count
vm.max_map_count=262144
如果不存在则添加
echo "vm.max_map_count=262144" >>/etc/sysctl.conf
并执行sysctl -p
4.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