标签: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