elasticsearch常见错误

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

 

 

你可能感兴趣的:(elasticsearch)