es報錯

max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]

max file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]
 

解決方式:

1.sudo sysctl -w vm.max_map_count=655360

2.查看執行是否成功

sysctl -a | grep “vm.max_map_count”

3.配置文件

sudo vim /etc/sysctl.conf

加入 vm.max_map_count=262144

4.修改配置文件

sudo vim /etc/security/limits.conf

添加

redhat hard nofile 65536
redhat soft nofile 65536

重啓連接es

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章