久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      Elasticsearch啟動報錯及解決方法

      Elasticsearch啟動報錯信息一:

      ERROR: [2] bootstrap checks failed
      [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
      [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

      解決方法:

      # vim /etc/sysctl.conf

      添加下面配置:

      vm.max_map_count=655360

      并執(zhí)行命令:

      # sysctl -p

      報錯信息二:

      ERROR: [1] bootstrap checks failed
      [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]

      解決方法:

      切換到root用戶

      # ulimit -Hn  查看硬限制

      # vim /etc/security/limits.conf

      ##在末尾添加下面設(shè)置

      * soft nofile 655350 
      * hard nofile 655350

      退出用戶重新登錄,使配置生效

      重新 ulimit -Hn  查看硬限制 會發(fā)現(xiàn)數(shù)值有4096改成65535

      # vim /etc/security/limits.d/90-nproc.conf

      找到如下內(nèi)容:

      soft nproc 1024

      修改為

      soft nproc 2048

      報錯信息三:

      org.elasticsearch.bootstrap.StartupException: Java.lang.IllegalStateException: failed to obtain node locks, tried [[/data/elasticsearch/data/elasticsearch]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?

      解決方法:
      在開啟多個elasticsearch 實例時,config/elasticsearch.yml文件中新增一個配置變量:

      [elsearch@Elk_Server elasticsearch]$ vim config/elasticsearch.yml

      node.max_local_storage_nodes: 256 

      報錯信息四:

      ERROR: [1] bootstrap checks failed
      [1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
      [2019-03-01T16:20:49,025][INFO ][o.e.n.Node              ] [node-data1] stopping …
      [2019-03-01T16:20:49,081][INFO ][o.e.n.Node              ] [node-data1] stopped
      [2019-03-01T16:20:49,081][INFO ][o.e.n.Node              ] [node-data1] closing …
      [2019-03-01T16:20:49,100][INFO ][o.e.n.Node              ] [node-data1] closed

      解決方法:
      CentOS6不支持SecComp,而ES5.2.0默認(rèn)bootstrap.system_call_filter為true

      禁用:在elasticsearch.yml中配置bootstrap.system_call_filter為false,注意要在Memory下面:

      bootstrap.memory_lock: false
      bootstrap.system_call_filter: false

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號