【问题标题】:Elasticsearch High Mapped Buffer_PoolsElasticsearch 高映射 Buffer_Pools
【发布时间】:2019-04-11 10:45:51
【问题描述】:

我正在对 Elasticsearch 进行基准测试并观察到映射的缓冲池很高,当同时执行繁重的索引和搜索操作时它会继续增长。

"buffer_pools":
  {"mapped":{"count":1264,"used_in_bytes":114462548303,"total_capacity_in_bytes":114462548303},"direct":{"count":141,"used_in_bytes":539763989,"total_capacity_in_bytes":539763988}},"classes":{"current_loaded_count":11601,"total_loaded_count":11820,"total_unloaded_count":219}}

buffer_pools 上大约有 114GB。 Elasticsearch 运行在具有 32GB RAM(ES 堆为 16GB)、启用内存锁定的机器上。

请就 buffer_pools 上内存使用率高的原因提出建议。为什么它大大超过了 RAM?这是否意味着交换正在以某种方式发生?

【问题讨论】:

    标签: performance elasticsearch memory


    【解决方案1】:

    没有设置来控制这个值。

    您可以更改存储:https://www.elastic.co/guide/en/elasticsearch/reference/6.8/index-modules-store.html 以防止内存使用。

    【讨论】:

      猜你喜欢
      • 2012-07-11
      • 1970-01-01
      • 2019-09-27
      • 2019-05-18
      • 1970-01-01
      • 1970-01-01
      • 2020-04-09
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多