Skip to content

Commit 951e2b4

Browse files
committed
trying out markdown applies
1 parent 3769cd7 commit 951e2b4

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

troubleshoot/elasticsearch/rejected-requests.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ These stats are cumulative from node startup.
6767

6868
Indexing pressure rejections appear as an `EsRejectedExecutionException`, and indicate that they were rejected due to `combined_coordinating_and_primary`, `coordinating`, `primary`, or `replica`.
6969

70-
These errors are often related to [backlogged tasks](task-queue-backlog.md), [bulk index](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk) sizing, or the ingest target's [`refresh_interval` setting](elasticsearch://reference/elasticsearch/index-settings/index-modules.md)
71-
72-
¹ : Starting from versions 8.19+ and 9.1+, indexing to a semantic_text field can also cause 429 errors if the batch may otherwise incur an Out Of Memory (OOM) error.
70+
These errors are often related to [backlogged tasks](task-queue-backlog.md), [bulk index](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk) sizing, or the ingest target's [`refresh_interval` setting](elasticsearch://reference/elasticsearch/index-settings/index-modules.md).
71+
{applies_to}`stack: ga 9.1`Another cause of indexing pressure rejections might be the use of the [`semantic_text`](https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/semantic-text) field type, which can cause rejections when indexing large batches of documents if the batch may otherwise incur an Out Of Memory (OOM) error.
7372

7473
See [this video](https://www.youtube.com/watch?v=QuV8QqSfc0c) for a walkthrough of diagnosing indexing pressure rejections.
7574

@@ -80,10 +79,8 @@ See [this video](https://www.youtube.com/watch?v=QuV8QqSfc0c) for a walkthrough
8079

8180
If {{es}} regularly rejects requests and other tasks, your cluster likely has high CPU usage or high JVM memory pressure. For tips, see [High CPU usage](high-cpu-usage.md) and [High JVM memory pressure](high-jvm-memory-pressure.md).
8281

83-
**Fix for semantic_text field issues:**
84-
85-
When working with semantic_text fields in versions 8.19+ and 9.1+:
82+
{applies_to}`stack: ga 9.1`**Fix for semantic_text field issues:**
8683

8784
1. Reduce the batch size of documents in your indexing requests.
88-
2. If reducing batch size doesn't resolve the issue, then consider scaling up your machine resources.
89-
3. A last resort option is to adjust the `indexing_pressure.memory.coordinating.limit` cluster setting. The default value is 10% of the heap. Increasing this limit allows more memory to be used for coordinating operations before rejections occur. This adjustment should only be considered after exhausting other options, as setting this value too high may risk Out of Memory (OOM) errors in your cluster. A cluster restart is required for this change to take effect.
85+
2. If reducing batch size doesn't resolve the issue, then consider scaling up your machine resources.
86+
3. {applies_to}`serverless: unavailable`A last resort option is to adjust the `indexing_pressure.memory.coordinating.limit` cluster setting. The default value is 10% of the heap. Increasing this limit allows more memory to be used for coordinating operations before rejections occur.

0 commit comments

Comments
 (0)