Elasticsearch安装报错:max size virtual memory is too low, increase to [unlimited]
Elasticsearch | 作者 core_wzw | 发布于2018年01月30日 | 阅读数:9692
ERROR: [1] bootstrap checks failed
[1]: max size virtual memory [326850314240] for user [user] is too low, increase to [unlimited]
按照网上的教程,在/etc/security/limits.conf中添加一下指令:
* hard memlock unlimited
* soft memlock unlimited
* hard nofile 65536
* soft nofile 65536
* - as unlimited
但还是没有效果,请问是什么原因呢?求指导!
[1]: max size virtual memory [326850314240] for user [user] is too low, increase to [unlimited]
按照网上的教程,在/etc/security/limits.conf中添加一下指令:
* hard memlock unlimited
* soft memlock unlimited
* hard nofile 65536
* soft nofile 65536
* - as unlimited
但还是没有效果,请问是什么原因呢?求指导!
2 个回复
dongne
赞同来自:
MAX_LOCKED_MEMORY=unlimited
在 /usr/lib/systemd/system/elasticsearh.service 配置
LimitMELOCK=infinity
这是我之前的配置,仅供参考
damon10244201 - 90后
赞同来自: