码迷,mamicode.com
首页 > 其他好文 > 详细

max virtual memory areas vm.max_map_count [65530]

时间:2018-04-22 20:09:17      阅读:508      评论:0      收藏:0      [点我收藏+]

标签:ELK

一、故障现象
# 启动ELK容器时报错:
# docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name elk sebp/elk
[1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2018-04-22T08:01:27,853][INFO ][o.e.n.Node               ] [KFCeZCv] stopping ...
[2018-04-22T08:01:27,876][INFO ][o.e.n.Node               ] [KFCeZCv] stopped
[2018-04-22T08:01:27,876][INFO ][o.e.n.Node               ] [KFCeZCv] closing ...
[2018-04-22T08:01:27,910][INFO ][o.e.n.Node               ] [KFCeZCv] closed

二、解决方法

# sudo sysctl -w vm.max_map_count=262144
vm.max_map_count = 262144

再次运行容器:
启动ELK:

# docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name elk sebp/elk

技术分享图片

max virtual memory areas vm.max_map_count [65530]

标签:ELK

原文地址:http://blog.51cto.com/molewan/2106560

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!