centos6安装ElasticSearch5.6.5错误记录
在centos6安装ES的时候遇到不少问题。这里记录日志。以后安装一定要升级centos7,别说啥稳定问题了,该升级就升级。
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] [2]: max number of threads [1024] for user [es] is too low, increase to at least [2048] [3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] [4]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
解决方案:
vim config/elasticsearch.yml
追加
bootstrap.memory_lock: false bootstrap.system_call_filter: false
vi /etc/security/limits.conf
追加
* soft nofile 65536 * hard nofile 131072 * soft nproc 2048 * hard nproc 4096
vi /etc/security/limits.d/90-nproc.conf
追加
修改如下内容: * soft nproc 1024 #修改为 * soft nproc 2048
vi /etc/sysctl.conf
追加
vm.max_map_count=655360
sysctl -p
原文地址:https://www.cnblogs.com/woshimrf/p/centos6-install-elasticsearch-problems.html
相关推荐
-
Docker 网络之进阶篇 服务器
2019-3-25
-
MongoDB Indexing 索引 服务器
2019-10-16
-
云计算—openstack实例共享80、443端口 服务器
2019-9-11
-
让你的终端更好看-SecureCRT配置详解 服务器
2019-10-13
-
yum 简单介绍 服务器
2019-3-14
-
通过 Ansible 创建 Jenkins Server 服务器
2019-5-11
-
Go Micro Broker 源码分析 服务器
2019-7-20
-
如何使用 Kali Linux 黑掉 Windows 服务器
2019-3-8
-
Codis集群搭建摘要 服务器
2020-6-21
-
一窥你安装的 Linux 软件包 服务器
2019-2-20