- max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
vi /etc/security/limits.conf 用户名 soft nofile 65536 用户名 hard nofile 65536 用户名 soft memlock unlimited 用户名 hard memlock unlimited
- max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
vi /etc/sysctl.conf vm.swappiness = 1 fs.file-max=65536 vm.max_map_count=262144 sysctl -p