Loading

Search queue size

The search thread pool queue on one or more nodes is backing up, so new searches wait behind work already in flight. That pattern usually means long-running or repeated expensive queries are occupying threads.

Note

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

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

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
Search queue threshold Integer 5
Consecutive samples above threshold 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.

AutoOps detected a high search thread pool queue on es-data-01 and es-data-02. New search requests on this node wait behind work already running, which usually means long-running or repeated expensive queries are holding threads. Indices with high search activity: logs-prod-000045 Indices with high indexing activity on the same node: logs-prod-000045 Check query logs on the affected node, tune or fix hot queries, and review capacity if the queue stays elevated.

Note

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

When the search thread pool queue builds up, your searches take longer to start because they wait behind requests already running. A sustained queue backlog can trigger search rejections and make dashboards and applications feel sluggish before hard failures appear. If the queue remains elevated, review query patterns on the affected node and consider scaling capacity. Your log threshold settings control which queries are recorded — tune the threshold to capture the queries most likely driving the backlog.