zoukankan      html  css  js  c++  java
  • centos6 x64安装elasticsearch5.5.2启动报错

    ERROR: [3] bootstrap checks failed
    [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
    [2]: max number of threads [1024] for user [elastic] 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

    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 2048

    vi ../config/elasticsearch.yml    加入

    bootstrap.memory_lock: false
    bootstrap.system_call_filter: false

    vi /etc/sysctl.conf    加入并且执行sysctl -p

    vm.max_map_count=655360

  • 相关阅读:
    取消浏览器默认行为
    BootStrap基础
    JavaScript基础
    HTML和CSS基础
    03JDBC
    MySQL
    NER-BiLSTM+CRF
    pytroch-Dataset/DataLoader/collate_fn/pad_sequence方法介绍
    pytorch-LSTM()简单介绍
    NER-使用kashgari中的Bert+BiLSTM+CRF
  • 原文地址:https://www.cnblogs.com/xiaohanlin/p/8606187.html
Copyright © 2011-2022 走看看