elasticsearch-6.0.0 安装的问题

来源:互联网 发布:电摩淘宝网 编辑:程序博客网 时间:2024/06/05 06:46
问题一:ERROR: bootstrap checks failedmax file descriptors [4096] for elasticsearch process likely too low, increase to at least [65536]max number of threads [1024] for user [lishang] likely too low, increase to at least [2048]解决:切换到root用户,编辑limits.conf 添加类似如下内容vi /etc/security/limits.conf 添加如下内容:* soft nofile 65536* hard nofile 131072* soft nproc 2048* hard nproc 4096
问题二:max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]解决:切换到root用户修改配置sysctl.confvi /etc/sysctl.conf 添加下面配置:vm.max_map_count=655360并执行命令:sysctl -p
 
原创粉丝点击