ElasticSearch启动报错,bootstrap checks failed
编辑 /etc/security/limits.conf,追加以下内容:
* soft nofile 65536 * hard nofile 65536
此文件修改后需要重新登录用户,才会生效。
或者系统中执行:
sudo sysctl -w vm.max_map_count=262144