elasticsearch启动报错

来源:互联网 发布:电脑版阅读软件 编辑:程序博客网 时间:2024/06/06 13:05

启动elasticsearch过程中的报错,记录一下解决方法

报错

[1]: max number of threads [1024] for user [hadoop] is too low, increase to at least [2048][2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144][3]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk

方法

max number of threads
vim /etc/security/limits.conf* soft nproc 65536* hard nproc 65536* soft nofile 65536* hard nofile 65536vim /etc/security/limits.d/90-nproc.conf soft nproc 2048
vm.max_map_count
vi /etc/sysctl.confvm.max_map_count=262144
sysctl -p
system call filters
vim elasticsearch.ymlbootstrap.memory_lock: falsebootstrap.system_call_filter: false
原创粉丝点击