• ElasticSearch 6.5.4 启动三个错误


    错误1:max file descriptors [4096] for elasticsearch process is too low

    进程分配的分件太少

    vi /etc/security/limits.conf 添加如下

    * soft nofile 65536
    * hard nofile 65536

    错误2:max number of threads [3818] for user [chen] is too low, increase to at least [4096]

    vi /etc/security/limits.conf 添加如下

    * soft nproc 4096
    * hard nproc 4096

    错误3:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

    vi /etc/sysctl.conf 加入

    vm.max_map_count=262144

    执行命令 sysctl -p ,重新登录用户生效

    OK

  • 相关阅读:
    初试 Elastic Search
    索引分类
    Nginx
    LINQ入门
    CSS学习
    Keras 安装
    火车进站
    2016年网易笔试编程题2
    Java GC
    linux 安装 mysql
  • 原文地址:https://www.cnblogs.com/cracker13/p/11649460.html
Copyright © 2020-2023  润新知