elasticsearch 问题
生活随笔
收集整理的這篇文章主要介紹了
elasticsearch 问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
elasticsearch 的端口默認綁定到 127.0.0.1 上,對外開放 http 端口就配置 http.host,對外開放 tcp 端口就配置 network.host
?
?
[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
編輯 /etc/security/limits.conf,追加以下內容;
* soft nofile 65536
* hard nofile 65536
此文件修改后需要重新登錄用戶,才會生效
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
編輯 /etc/sysctl.conf,追加以下內容:
vm.max_map_count=655360
保存后,執行:
sysctl -p
?
curl 'localhost:9200/_cat/indices?v'
轉載于:https://www.cnblogs.com/mhc-fly/p/10258930.html
總結
以上是生活随笔為你收集整理的elasticsearch 问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Day 14 20190129 老男孩p
- 下一篇: 【微波】【1】色散关系式与 TEM导波、