Elasticsearch.log里提示:
我用curl -XPOST 'http://localhost:9200/elasticsearch/_cache/clear' -d '{ "fielddata": "true" }'命令,提示:
kinaba里也有这样的提示,页面打不开,请教如何处理?谢谢
[WARN ][r.suppressed ] path: /, params: {}
org.elasticsearch.common.breaker.CircuitBreakingException: [parent] Data too large, data for [<http_request>] would be [1454565650/1.3gb], which is larger than the limit of [1454427340/1.3gb], usages [request=0/0b, fielddata=568/568b, in_flight_requests=0/0b, accounting=1454565082/1.3gb]
我用curl -XPOST 'http://localhost:9200/elasticsearch/_cache/clear' -d '{ "fielddata": "true" }'命令,提示:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
kinaba里也有这样的提示,页面打不开,请教如何处理?谢谢
4 个回复
bellengao - 博客: https://www.jianshu.com/u/e0088e3e2127
赞同来自: sailershen
下面的那个curl操作添加下header: curl -XPOST -H "Content-Type:application/json"
sailershen
赞同来自:
我用curl -H "Content-Type:application/json" -XPOST 'http://localhost:9200/elasticsearch/_cache/clear' -d '{ "fielddata": "true" }' 命令的结果:
简单的把indices.breaker.request.limit的值 设置为jvm heap的100%或者200%,有效吗?
还有,这个值在哪里设置,是/etc/elasticsearch/jvm.options里?
sailershen
赞同来自:
找不到 index是什么原因?
sailershen
赞同来自:
kibana[4844]: FATAL [circuit_breaking_exception] [parent] Data too large, data for [<http_request...=145446
Hint: Some lines were ellipsized, use -l to show in full.
问题还是存在 。