开发者社区 > 大数据与机器学习 > 检索分析服务 Elasticsearch版 > 正文

elasticsearch中出现下面的问题怎么解决?

elasticsearch中出现下面的问题怎么解决?

{"error":{"root_cause":[{"type":"circuit_breaking_exception","reason":"[parent] Data too large, data for [] would be [7201130054/6.7gb], which is larger than the limit of [7103712460/6.6gb], real usage: [7201129672/6.7gb], new bytes reserved: [382/382b], usages [request=0/0b, fielddata=19998/19.5kb, in_flight_requests=21400104/20.4mb, model_inference=0/0b, accounting=10053032/9.5mb]","bytes_wanted":7201130054,"bytes_limit":7103712460,"durability":"TRANSIENT"}],"type":"circuit_breaking_exception","reason":"[parent] Data too large, data for [] would be [7201130054/6.7gb], which is larger than the limit of [7103712460/6.6gb], real usage: [7201129672/6.7gb], new bytes reserved: [382/382b], usages [request=0/0b, fielddata=19998/19.5kb, in_flight_requests=21400104/20.4mb, model_inference=0/0b, accounting=10053032/9.5mb]","bytes_wanted":7201130054,"bytes_limit":7103712460,"durability":"TRANSIENT"},"status":429}

展开
收起
哈喽!小陈 2022-08-15 15:14:00 1321 0
1 条回答
写回答
取消 提交回答
  • 看提示是堆内存不够,每个批次小点写入试试 。 parent字段,占的内存高了 indices.breaker.fielddata.limit,indices.breaker.request.limit,indices.beeaker.total.limit ,这3个参数做了调整 PUT /_cluster/settings

    {
      "persistent": {
        "indices.breaker.fielddata.limit": "60%"
      }
    } 
    PUT /_cluster/settings
    {
      "persistent": {
        "indices.breaker.request.limit": "60%"
      }
    } 
    PUT /_cluster/settings
    {
      "persistent": {
        "indices.breaker.total.limit": "95%"
      }
    }
    
    

    掉了id排序,然后加大了刚刚发的参数,就行了。此答案整理自钉钉群“Elasticsearch中文技术社区”

    2022-08-15 15:48:07
    赞同 展开评论 打赏

阿里云检索分析服务Elasticsearch版兼容开源ELK功能,免运维全托管,提升企业数据检索与运维分析能力。

热门讨论

热门文章

相关电子书

更多
阿里云Elasticsearch 2.0发布 立即下载
开源与云:Elasticsearch应用剖析 立即下载
阿里云数据智能-Elasticsearch分享 立即下载