报错:
Caused by: ElasticsearchException
[Elasticsearch exception [type=circuit_breaking_exception, reason=[script]
Too many dynamic script compilations within, max: [75/5m];
please use indexed, or scripts with parameters instead;
this limit can be changed by the [script.max_compilations_rate] setting]]
解决方案:更改配置文件 script.max_compilations_rate 参数,然后重启
暂时方案:
在控制台执行命令:
PUT /_cluster/settings
{
"persistent" : {
"script.max_compilations_rate" : "2000/10m"
}
}
解决问题
也可以用这个命令查看当前配置的问题
GET /_cluster/settings
script.max_compilations_rate 的默认值是文章来源:https://www.toymoban.com/news/detail-561488.html
[75/5m]文章来源地址https://www.toymoban.com/news/detail-561488.html
到了这里,关于elasticsearch Too many dynamic script 问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!