Elasticsearch运行中的常见错误
发布时间
阅读量:
阅读量
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
切换到root用户,编辑limits.conf添加如下内容
vi /etc/security/limits.conf
* soft nofile 65536
* hard nofile 65536
[2]: current thread count for user es is set too low, recommended to raise it to a minimum of 4096
建议修改配置文件etc/security/limits.conf以增加线程设置。
* soft nproc 4096
* hard nproc 4096
编辑etc/sysctl.conf文件, 配置vm.max_map_count参数设置为262144
vi /etc/sysctl.conf
sysctl -p
执行命令sysctl -p生效
问题的根本原因在于:由于
全部评论 (0)
还没有任何评论哟~
