1. max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
解决:编辑 /etc/security/limits.conf,追加以下内容;
* soft nofile 65536
* hard nofile 65536
2.max number of threads [3753] for user [XX] is too low, increase to at least [4096]
解决:设置/etc/security/limits.conf,追加以下内容;
* soft nproc 5000
* hard nproc 5000
3.max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
解决:设置/etc/sysctl.conf,添加以下内容
vm.max_map_count=655360,
并执行 sysctl -p