max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
vim /etc/security/limits.conf 文件末尾添加:
mst hard nofile 65536
mst soft nofile 65536
mst是es启动用户
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
vim /etc/sysctl.conf 文件末尾添加:
vm.max_map_count= sysctl -p #使生效