elasticsearch常见问题

  • 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


猜你喜欢

转载自blog.csdn.net/qq_34561243/article/details/80269240