elasticsearch常見錯誤
阿新 • • 發佈:2018-11-10
1,
Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/elasticserch/elasticsearch-6.4.022/config/jvm.options
這個問題引起的原因是:伺服器上實體記憶體太小,大部分都是應為程式太多,記憶體吃緊,而給jvm分配的記憶體太大(java程式啟動需要的記憶體,linux不能給),最好調整java程式jvm記憶體吧(測試環境下)
修改jvm.options -Xms2g -Xmx2g改為1g
2,
elasticserch.yml修改為
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
3,NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{erxVApIpTVW0Crl-ngbvzg}{ip}{ip:9300}] ]
https://blog.csdn.net/yunfeishiye/article/details/51894513
https://blog.csdn.net/u013083576/article/details/78499884
https://blog.csdn.net/zhang89xiao/article/details/68925294