elasticsearch启动报错解决办法

2019-02-19  本文已影响0人  benzhonghai008

[TOC]

报错内容:

报错一:[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]


# config for elasticsearch

elasticsearch - nofile 65536

elasticsearch - nproc 65536

报错二:[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]


vm.zone_reclaim_mode=0

vm.max_map_count = 262144

vm.swappiness = 1

上一篇 下一篇

猜你喜欢

热点阅读