设置参数 `node.name` 可以自定义 Elasticsearch 节点的名字。 此条 Tips 由 medcl 贡献。

elasticsearch分词插件词典热更新失败,有没有可能是内存gc的问题

Elasticsearch | 作者 shengtu0328 | 发布于2021年07月13日 | 阅读数:744

在开发环境 没问题
在测试环境 日志一直是
[2021-07-13T15:22:04,015][INFO ][o.e.m.j.JvmGcMonitorService] [node-1] [gc][2139009] overhead, spent [270ms] collecting in the last [1s]
[2021-07-13T15:22:21,258][INFO ][o.e.m.j.JvmGcMonitorService] [node-1] [gc][2139025] overhead, spent [323ms] collecting in the last [1s]
[2021-07-13T15:22:52,872][INFO ][o.e.m.j.JvmGcMonitorService] [node-1] [gc][2139056] overhead, spent [252ms] collecting in the last [1s]
[2021-07-13T15:23:28,938][INFO ][o.e.m.j.JvmGcMonitorService] [node-1] [gc][2139091] overhead, spent [344ms] collecting in the last [1.3s]
已邀请:

tongchuan1992 - 学无止境、学以致用

赞同来自:

这个gc是没有问题的,如果想减少gc的耗时,可以在jvm.options换新的gc方法,例如oms,只要不是full gc,你的更新失败不可能是这个问题引起的。

要回复问题请先登录注册