# How to change indexing\_pressure.memory.limit configuration

**URL:** <https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444>\
**Category:** Elasticsearch\
**Created:** [August 19, 2022, 8:17am UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444 "2022-08-19T08:17:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DesireWithin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/desirewithin/32/109865_2.png) [@DesireWithin](https://discuss.elastic.co/u/DesireWithin)\
**Post date:** [August 19, 2022, 8:17am UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444/1 "2022-08-19T08:17:44Z")

</div>

My es version is `7.17.5`, single node.  
I notice that my fluent-bit return following error log:

```auto
{"log":"{\"error\":{\"root_cause\":[{\"type\":\"es_rejected_execution_exception\",\"reason\":\"rejected execution of coordinating operation [coordinating_and_primary_bytes=836343170, replica_bytes=0, all_bytes=836343170, coordinating_operation_bytes=6029, max_coordinating_and_primary_bytes=836344217]\"}],\"type\":\"es_rejected_execution_exception\",\"reason\":\"rejected execution of coordinating operation [coordinating_and_primary_bytes=836343170, replica_bytes=0, all_bytes=836343170, coordinating_operation_bytes=6029, max_coordinating_and_primary_bytes=836344217]\"},\"status\":<mark>429</mark>}

```

I check the document, I notice that is es JVM heap memory is not enough.  
So I add a `heap.options` under `/etc/elasticsearch/jvm.options.d`

I'm just curious, how should I adjust `indexing_pressure.memory.limit`? Is it OK if I append

```auto
indexing_pressure.memory.limit: 15%

```

to `/etc/elasticsearch/elasticsearch.yml` ?  
I can't find any example document under [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/index-modules-indexing-pressure.html) and [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/settings.html)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 19, 2022, 12:56pm UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444/2 "2022-08-19T12:56:42Z")

</div>

What is the output of the [cluster stats API](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/cluster-stats.html)?

---

<div class="post-metadata">

**Author:** ![DesireWithin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/desirewithin/32/109865_2.png) [@DesireWithin](https://discuss.elastic.co/u/DesireWithin)\
**Post date:** [August 22, 2022, 1:06am UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444/3 "2022-08-22T01:06:46Z")

</div>

I don't know why you asking me the cluster stats? Is it relevant to how to configure ES?

```auto
{
  "_nodes" : {
    "total" : 1,
    "successful" : 1,
    "failed" : 0
  },
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "Umnt5shNTm6-Zr_6gKh18A",
  "timestamp" : 1661130294549,
  "status" : "yellow",
  "indices" : {
    "count" : 37,
    "shards" : {
      "total" : 40,
      "primaries" : 40,
      "replication" : 0.0,
      "index" : {
        "shards" : {
          "min" : 1,
          "max" : 2,
          "avg" : 1.0810810810810811
        },
        "primaries" : {
          "min" : 1,
          "max" : 2,
          "avg" : 1.0810810810810811
        },
        "replication" : {
          "min" : 0.0,
          "max" : 0.0,
          "avg" : 0.0
        }
      }
    },
    "docs" : {
      "count" : 16211134,
      "deleted" : 231090
    },
    "store" : {
      "size_in_bytes" : 11450187153,
      "total_data_set_size_in_bytes" : 11450187153,
      "reserved_in_bytes" : 0
    },
    "fielddata" : {
      "memory_size_in_bytes" : 0,
      "evictions" : 0
    },
    "query_cache" : {
      "memory_size_in_bytes" : 157864,
      "total_count" : 12482522,
      "hit_count" : 408721,
      "miss_count" : 12073801,
      "cache_size" : 21,
      "cache_count" : 9705,
      "evictions" : 9684
    },
    "completion" : {
      "size_in_bytes" : 0
    },
    "segments" : {
      "count" : 335,
      "memory_in_bytes" : 5773734,
      "terms_memory_in_bytes" : 4737312,
      "stored_fields_memory_in_bytes" : 198504,
      "term_vectors_memory_in_bytes" : 0,
      "norms_memory_in_bytes" : 648000,
      "points_memory_in_bytes" : 0,
      "doc_values_memory_in_bytes" : 189918,
      "index_writer_memory_in_bytes" : 194963450,
      "version_map_memory_in_bytes" : 15588,
      "fixed_bit_set_memory_in_bytes" : 26488,
      "max_unsafe_auto_id_timestamp" : 1660894468032,
      "file_sizes" : { }
    },
    "mappings" : {
      "field_types" : [
        {
          "name" : "boolean",
          "count" : 2,
          "index_count" : 2,
          "script_count" : 0
        },
        {
          "name" : "byte",
          "count" : 10,
          "index_count" : 3,
          "script_count" : 0
        },
        {
          "name" : "constant_keyword",
          "count" : 6,
          "index_count" : 2,
          "script_count" : 0
        },
        {
          "name" : "date",
          "count" : 89,
          "index_count" : 24,
          "script_count" : 0
        },
        {
          "name" : "float",
          "count" : 4,
          "index_count" : 2,
          "script_count" : 0
        },
        {
          "name" : "integer",
          "count" : 3,
          "index_count" : 2,
          "script_count" : 0
        },
        {
          "name" : "ip",
          "count" : 2,
          "index_count" : 2,
          "script_count" : 0
        },
        {
          "name" : "keyword",
          "count" : 771,
          "index_count" : 27,
          "script_count" : 0
        },
        {
          "name" : "long",
          "count" : 40,
          "index_count" : 13,
          "script_count" : 0
        },
        {
          "name" : "nested",
          "count" : 2,
          "index_count" : 2,
          "script_count" : 0
        },
        {
          "name" : "object",
          "count" : 250,
          "index_count" : 18,
          "script_count" : 0
        },
        {
          "name" : "text",
          "count" : 643,
          "index_count" : 28,
          "script_count" : 0
        },
        {
          "name" : "version",
          "count" : 2,
          "index_count" : 2,
          "script_count" : 0
        }
      ],
      "runtime_field_types" : []
    },
    "analysis" : {
      "char_filter_types" : [],
      "tokenizer_types" : [],
      "filter_types" : [],
      "analyzer_types" : [],
      "built_in_char_filters" : [],
      "built_in_tokenizers" : [],
      "built_in_filters" : [],
      "built_in_analyzers" : []
    },
    "versions" : [
      {
        "version" : "7.17.5",
        "index_count" : 37,
        "primary_shard_count" : 40,
        "total_primary_bytes" : 11450187153
      }
    ]
  },
  "nodes" : {
    "count" : {
      "total" : 1,
      "coordinating_only" : 0,
      "data" : 1,
      "data_cold" : 1,
      "data_content" : 1,
      "data_frozen" : 1,
      "data_hot" : 1,
      "data_warm" : 1,
      "ingest" : 1,
      "master" : 1,
      "ml" : 1,
      "remote_cluster_client" : 1,
      "transform" : 1,
      "voting_only" : 0
    },
    "versions" : [
      "7.17.5"
    ],
    "os" : {
      "available_processors" : 8,
      "allocated_processors" : 8,
      "names" : [
        {
          "name" : "Linux",
          "count" : 1
        }
      ],
      "pretty_names" : [
        {
          "pretty_name" : "Ubuntu 20.04.1 LTS",
          "count" : 1
        }
      ],
      "architectures" : [
        {
          "arch" : "amd64",
          "count" : 1
        }
      ],
      "mem" : {
        "total_in_bytes" : 16726659072,
        "free_in_bytes" : 981741568,
        "used_in_bytes" : 15744917504,
        "free_percent" : 6,
        "used_percent" : 94
      }
    },
    "process" : {
      "cpu" : {
        "percent" : 76
      },
      "open_file_descriptors" : {
        "min" : 1333,
        "max" : 1333,
        "avg" : 1333
      }
    },
    "jvm" : {
      "max_uptime_in_millis" : 235843619,
      "versions" : [
        {
          "version" : "18.0.1.1",
          "vm_name" : "OpenJDK 64-Bit Server VM",
          "vm_version" : "18.0.1.1+2-6",
          "vm_vendor" : "Oracle Corporation",
          "bundled_jdk" : true,
          "using_bundled_jdk" : true,
          "count" : 1
        }
      ],
      "mem" : {
        "heap_used_in_bytes" : 7349573120,
        "heap_max_in_bytes" : 10737418240
      },
      "threads" : 118
    },
    "fs" : {
      "total_in_bytes" : 615550517248,
      "free_in_bytes" : 592440262656,
      "available_in_bytes" : 566494212096
    },
    "plugins" : [],
    "network_types" : {
      "transport_types" : {
        "security4" : 1
      },
      "http_types" : {
        "security4" : 1
      }
    },
    "discovery_types" : {
      "zen" : 1
    },
    "packaging_types" : [
      {
        "flavor" : "default",
        "type" : "deb",
        "count" : 1
      }
    ],
    "ingest" : {
      "number_of_pipelines" : 1,
      "processor_stats" : {
        "gsub" : {
          "count" : 0,
          "failed" : 0,
          "current" : 0,
          "time_in_millis" : 0
        },
        "script" : {
          "count" : 0,
          "failed" : 0,
          "current" : 0,
          "time_in_millis" : 0
        }
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![DesireWithin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/desirewithin/32/109865_2.png) [@DesireWithin](https://discuss.elastic.co/u/DesireWithin)\
**Post date:** [August 26, 2022, 7:27am UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444/4 "2022-08-26T07:27:59Z")

</div>

Anybody konws?

---

<div class="post-metadata">

**Author:** ![DesireWithin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/desirewithin/32/109865_2.png) [@DesireWithin](https://discuss.elastic.co/u/DesireWithin)\
**Post date:** [August 31, 2022, 3:15am UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444/5 "2022-08-31T03:15:47Z")

</div>

Does anyone know about it? 😖  
I just want to know how to set es `indexing_pressure.memory.limit` configuration

---

<div class="post-metadata">

**Author:** ![cheshirecat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheshirecat/32/109532_2.png) [@cheshirecat](https://discuss.elastic.co/u/cheshirecat)\
**Post date:** [August 31, 2022, 5:56am UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444/6 "2022-08-31T05:56:22Z")

</div>

> [@DesireWithin](#):
>
> indexing\_pressure.memory.limit

[Docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-indexing-pressure.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 28, 2022, 5:57am UTC](https://discuss.elastic.co/t/how-to-change-indexing-pressure-memory-limit-configuration/312444/7 "2022-09-28T05:57:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
