Loading

Index Queue Size

The write thread pool queue on a data node is backed up with pending indexing work. When the queue stays high, the node cannot keep pace with ingest and might reject writes or slow co-located searches.

Note

For a complete list of insights, refer to AutoOps insights.

Field Value
Component Elasticsearch
Severity Medium
Scope Node
Domains performance, indexing

You can customize these settings to adjust when AutoOps detects this event and presents the insight. Refer to AutoOps event settings for details.

The default customization settings are:

Setting Type Default
Write queue threshold Integer 1
Successive samplings to trigger Integer 1
Tip

Raising these thresholds reduces noise but delays detection. Lowering them triggers the insight sooner but can increase alerts during minor blips.

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

The affected node: es-data-01 and es-data-02 High search activity indices:logs-prod-000045 High indexing activity indices:logs-prod-000045

Note

AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.

Impact: This indicates that a data node (temporarily) does not have resources to process all indexing requests. This could result in rejected indexing operations and slower search operations. Queues are used to hold the pending requests that can’t be carried out immediately. If there are many index requests coming to the node that can’t be processed at the same time, the requests are sent to the queue. A high index queue might form due to a temporary surge of requests from client applications, but it is more often a symptom of index performance issues in the node. If the queue is high you should check slow logs to investigate the root causes.