elasticsearch6.3


[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]


image.png

错误一

解决方法:切换到root用户,进入vi /etc/security/limits.conf  ,增加配置(保存后注意切回work用户的时候才能生效,sudo 修改的不能立即生效):

work soft nofile 819200
work hard nofile 819200

错误二

解决方法:修改sysctl文件:vi /etc/sysctl.conf ,增加下面配置项:

增加改行配置:vm.max_map_count=655360
保存退出后,执行:
sysctl -p

你可能感兴趣的:(elasticsearch6.3)