我使用以下命令在我的VPS上安装了elasticsearch-5.6.3:github.com/elastic/elasticsearch。我下载了zip文件,解压缩然后运行bin / elasticsearch。这会返回killed
条消息。我的网站完全失效。
运行sudo apt-get install elasticsearch
会返回:
elasticsearch is already the newest version (5.6.4).
0 upgraded, 0 newly installed, 0 to remove and 85 not upgraded.
以前在日志中有一个HeapDumpOnOutOfMemoryError,因此我将jvm文件中的最大内存大小更改为:Xms1g和Xmx1g。
之后还有一些其他日志重复[WARN ][o.e.g.DanglingIndicesState] [NxGnc5R] [[posts/nmLBa7I5SFKe6SHpjleMaw]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
我还可以采取哪些措施来排除故障并解决此问题?