elasticsearch 报错 ERROR: bootstrap checks failed max virtual memory areas vm.max_map_count [65530] is

Solution: 
1. Switch to the root user to modify the configuration sysctl.conf

vi /etc/sysctl.conf 
  • 1

Add the following configuration:

vm.max_map_count=655360
  • 1

and execute the command:

sysctl -p
  • 1

Then, restart elasticsearch to start successfully.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325968980&siteId=291194637