问题一:
max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
修改配置文件:
sudo vim /etc/sysctl.conf
加入:
vm.max_map_count=262144
保存即可
问题二:
max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
这个问题
sudo vim /etc/security/limits.conf
加入以下两行:
es hard nofile 65536
es soft nofile 65536
es这里为用户名
然后重启启动elasticsearch即可
max number of threads [1024] for user [lish] likely too low, increase to at least [2048]
问题三:max number of threads [1024] for user [lish] likely too low, increase to at least [2048]
解决:切换到root用户,进入limits.d目录下修改配置文件。
vi /etc/security/limits.d/90-nproc.conf
修改如下内容:
* soft nproc 1024
#修改为
* soft nproc 2048
问题四:system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
解决:
vim config/elasticsearch.yml
bootstrap.system_call_filter: false