首页 > 其他 > 详细

Elasticsearch 启动报错集合

时间:2017-03-23 10:41:35      阅读:446      评论:0      收藏:0      [点我收藏+]

一、错误提示:
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]

解决方法:

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

//打开配置文件
vim /etc/sysctl.conf

//加入
vm.max_map_count=262144

//执行命令
sysctl -p
//然后保存

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

 

//编辑配置文件
vim /etc/security/limits.conf 

//加入以下2行
redhat hard nofile 65536
redhat soft nofile 65536

//保存退出

 

重新启动Elasticsearch

 

 

Elasticsearch 启动报错集合

原文:http://www.cnblogs.com/shicuining/p/6603811.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!