Why OpenCTI backlogs grow and when to act on them
A growing RabbitMQ queue means the write path is slower than the input path. Connectors are importing data, and each import becomes a set of asynchronous write messages in RabbitMQ. OpenCTI's Python workers consume those messages and apply the writes to the knowledge graph. The connectors are doing their job, so the backlog is not a connector fault. It shows that the workers, and the stores they write to, cannot keep pace with what arrives. Before changing anything, confirm where the time goes by checking whether the queue depth is rising because input has spiked or because processing has slowed.
A backlog is usually normal after a large import, a bulk feed load or a connector run that replays a long history. In that case the queue climbs during the import and then drains steadily once input stops. A backlog is a fault when it does not drain over time, when it keeps growing while connectors are idle, or when the knowledge graph stays behind for hours after the input has ended. Those patterns point to a worker that has stopped, a dependency that is rejecting writes, or a message that is failing and being retried. The exact thresholds for queue depth, drain time and lag must be set from your own monitoring, using a baseline taken during normal operation.
Decide what you will do at each stage before the queue is large. Record the baseline queue depth and drain rate for your normal workload, then set alerts that fire on a queue that is not draining, not only on a queue that is large. The deployment overview describes the platform, workers and dependencies that make up this path, so check each of them when the queue stops draining, and avoid adding workers as a first response until you know which dependency is the limit. Confirm with your platform team how your RabbitMQ and Elasticsearch are monitored and who can act on each alert.
How connectors, RabbitMQ, workers and Elasticsearch form the write path
The write path starts at connectors and the platform, which publish messages to RabbitMQ. Python workers consume those messages and write to Elasticsearch or OpenSearch, while Redis and the platform UI and GraphQL API sit alongside. Check the queue depth in RabbitMQ and the indexing throughput on the search cluster, because either one can become the limit. Adding workers only helps while the search cluster has headroom.
Messages flow from connectors through RabbitMQ to workers, then into the search cluster.
How workers and Elasticsearch share the write load
Adding workers only helps while the search cluster can absorb more concurrent writes. Each OpenCTI worker consumes RabbitMQ messages and writes the resulting knowledge into Elasticsearch or OpenSearch, so the queue drains at the rate the search tier accepts writes, not at the rate the workers could theoretically process. Worker count and search capacity have to be sized together. Maximizing one side on its own tends to move the bottleneck, and a larger worker pool can push the search cluster into rejected writes that then reappear as errors and retries in the queues.
The documented sizing gives a starting relationship: at least one platform node for every 3 workers, with the platform itself at 2 cores and at least 8 GB RAM, and Elasticsearch or OpenSearch at 2 cores, 8 GB RAM and 16 GB SSD as the baseline in the OpenCTI deployment overview. Treat these as minimums, not targets. The same overview lists Redis 7.1 or later, RabbitMQ 3.11 or later and an S3-compatible store among the dependencies. Confirm that your RabbitMQ version meets the 3.11 minimum before tuning, because queue behavior on older brokers is a different problem. Confirm the exact Elasticsearch or OpenSearch version against the same page, since the minimum differs between the two engines.
Before you change the worker count, measure three things over a period of normal and peak ingestion: the queue drain rate in RabbitMQ, the search cluster indexing latency, and the number of rejected write requests on the search tier. If the queue is shrinking while indexing latency stays flat and no writes are rejected, more workers may help. If latency climbs or rejections appear as workers increase, the search cluster is the constraint, and the fix is more search capacity or fewer concurrent writers. Record these numbers before each change so you can tell whether a change helped.
Levers for balancing worker count against search throughput
This table compares the five main levers for a growing OpenCTI queue, what each one changes, when it fits and the main risk it carries. Read it as a sequence: most backlogs are better handled by reducing inbound volume or confirming the search cluster has headroom before adding more consumers.
| Lever | What it changes | When it fits | Main risk |
|---|---|---|---|
| Add platform workers | Adds consumers that drain RabbitMQ queues and send writes to Elasticsearch or OpenSearch faster | Queues grow steadily while the search cluster has spare indexing capacity and CPU and memory are not saturated | Extra workers push more concurrent writes into the search cluster, which can increase bulk rejections, lock contention and errors |
| Add or resize platform nodes | Adds CPU and memory to host the workers and platform processes, or separates background managers from user-facing nodes | Nodes show sustained high CPU or memory pressure, or the worker-to-node ratio falls below the documented guidance | Each node adds cost and operational work, and a poorly planned split can leave some background tasks unattended |
| Scale the Elasticsearch or OpenSearch cluster | Increases indexing and search capacity through more nodes, more memory or faster storage | Search write latency or rejections are the bottleneck, and the cluster is near its limits on heap, disk or threads | Resharding, rebalancing and disk changes can cause temporary slowdowns, and scaling only the search tier leaves other dependencies as bottlenecks |
| Reduce connector import volume or schedule large imports off-hours | Lowers the number of messages entering the queues at peak times, so workers can keep pace | Large external feeds or bulk file imports arrive during working hours and cause sustained backlog spikes | Delayed intelligence may miss operational windows, and some feeds need careful scheduling to avoid gaps or duplicates |
| Pause a connector | Stops new messages from one connector while the queue drains and the platform recovers | A single connector floods the queue, produces repeated errors, or targets an unavailable upstream source | Paused feeds stop updating, and resuming without checking state may replay or skip data, so confirm the connector's state before restarting |
When adding workers makes the backlog worse
Adding workers only helps when the bottleneck sits in the worker pool itself. In many OpenCTI backlogs the limit lies in Elasticsearch, Redis, the database or a single bad message, so extra workers mostly add concurrent load and lock contention. The cards below describe four patterns to rule out before you scale the worker count.
Search cluster already saturated
Workers write through Elasticsearch or OpenSearch, so when the search cluster is already slow to index, each added worker simply queues more bulk requests against the same nodes. Look for rising indexing latency, rejected bulk requests and high CPU or disk I/O on the search nodes while the RabbitMQ queue keeps growing. Check the search cluster's own metrics before changing the worker count. If the cluster is the limit, scaling it or reducing ingestion load is the fix, not more workers.
Shared Redis or database constraint
Redis and the platform's database-backed state are shared by every worker and the platform nodes. When one of them is the constraint, throughput flattens no matter how many workers consume messages, and connection counts climb with each new worker. Watch Redis memory and latency, and connection counts on each dependency as worker count rises. A flat message rate with climbing dependency latency points here, and the fix is capacity or connection tuning on the shared service.
Workers competing for the same locks
Ingestion writes often touch the same entities, such as a shared author, malware or intrusion set, so several workers can wait on one another's locks. Adding workers then increases lock waits and timeouts without raising throughput. Look for locking timeout errors in the worker logs and repeated retries against the same entity identifiers. Reducing the number of workers handling a given connector or stream, and spreading work across different data sources, usually helps more than adding capacity.
Poisoned or oversized message
A single malformed or very large bundle can fail or stall repeatedly, and every worker that picks it up retries the same work. The queue then stops moving at the same point regardless of how many workers run. Check the worker logs for the same error repeating on one message and look for a bundle far larger than the rest of the batch. Isolating or purging that message is the correct action, and adding workers will not clear it.
Diagnosing a backlog before you clear anything
This sequence establishes whether the backlog is slow throughput, a repeating failure, or a stalled queue, so that the fix you choose targets the actual cause. Each check narrows the next one and ends with a written finding.
Confirm which queues are growing
Start by listing every RabbitMQ queue that holds OpenCTI messages and recording its depth at two points in time, a known interval apart. Compare the ingress rate (messages published) with the drain rate (messages acknowledged). If the drain rate is zero, the consumers are stalled or disconnected, so move to the log check with that suspicion. If the drain rate is positive but lower than ingress, the problem is throughput, and the later steps determine what limits it. Done when you can state, per queue, whether depth is flat, growing slowly or growing with no drain.
Check worker logs for repeated errors
Read the logs of the Python workers that consume the affected queues and look for the same error recurring against the same message or entity. A message that fails, is requeued and fails again blocks progress for everything behind it in a way that looks like slowness. If the errors repeat on one message, treat the backlog as a stuck message and keep it for the root-cause work in the ingestion troubleshooting guide. If the errors are varied and workers are simply busy, the issue is capacity, so continue. Done when you have either one repeating failure signature or a clear picture that no single message is blocking the queue.
Check search cluster health and write rejections
Check the health status of the Elasticsearch or OpenSearch cluster and look for rejected bulk writes, write blocks and disk watermark warnings. Workers write asynchronously into the search layer, so a cluster that rejects writes or slows under load will cap drain rate no matter how many workers you run. If the cluster is unhealthy or blocking writes, resolve that first, because adding workers will only add more rejected requests. If the cluster accepts writes with headroom, the bottleneck lies elsewhere. Done when you know whether the search layer is the limiting factor.
Check Redis and RabbitMQ resource pressure
Review memory, CPU, connection counts and disk alarms on RabbitMQ and Redis for the same time window. A RabbitMQ node that raises a memory or disk alarm can pause publishers and slow consumers, and Redis under memory pressure can slow the platform's coordination. Note whether the pressure coincides with the growth you measured in the first step. If resources are saturated, the fix is on the infrastructure side. If they are comfortable, the constraint is probably in workers or search. Done when you have recorded resource state alongside the queue trend.
Identify the connector producing the messages
Work out which connector or internal process published the messages that make up the backlog. Compare message volume per source over the growth window, and check whether a single connector sent a large batch, such as a full import or a re-import of an external feed. A large single source usually explains the depth, and it tells you whether the backlog will clear on its own or needs intervention at the connector. If several sources contribute evenly, the cause is general load rather than one bulk job. Done when you can name the dominant source or confirm that no source dominates.
Decide between throughput and a stuck message
Bring the findings together and classify the backlog. It is a throughput problem when drain is positive, errors are varied, search accepts writes and resources have headroom, and the depth will eventually fall at the current rate. It is a stuck message when drain is zero or one failure repeats against the same item. Write down the classification and the evidence for it before changing any setting. Only a throughput finding justifies a discussion of worker count, and that discussion depends on the search cluster's capacity. Done when the classification is recorded with the supporting checks.
Resetting a connector's state or queue by situation
A connector that runs without errors but keeps sending work it already delivered has usually lost track of where its source import stopped. Its progress marker sits with the connector's state in the platform, while messages it has queued but not yet delivered to workers sit in its RabbitMQ queue. A reset makes the connector start again from its configured beginning, so the platform will receive a second copy of anything the source still offers.
- Confirm the cause first: Check whether the source reports a last-seen position or timestamp, and whether the connector is resetting to a point the source ignores. A source that replays its full history will refill the platform after any reset.
- What a reset discards: Connector progress markers and unsent messages in its queue. Objects already written to the platform are not removed by a connector state reset.
- What must be re-imported: Only data the connector would otherwise skip. For file or export sources, plan a deliberate reload instead of letting the connector replay everything.
- Order of operations: Pause the connector, let workers drain what is already queued, reset the connector state, then resume and watch the first run closely.
- Expected load: Replayed imports add indexing and worker load. Schedule the reset outside peak analyst hours.
Confirm the exact reset steps for your OpenCTI version in the product documentation, and test the procedure on a non-production copy before running it in production.
Some backlogs will not drain because the same messages fail every time they are processed. Typical causes include malformed indicators, references to objects that do not exist yet, or data that breaks a schema rule. Workers keep retrying these messages, so the queue stays full while the platform receives little or nothing from that connector. Clearing the queue removes the failing messages, but it also removes any valid work mixed in with them.
- Find the failing messages: Read the worker logs for repeated errors with the same message content, and sample a few messages from the queue before changing anything.
- Fix the cause in the source or mapping: Correct the data or the connector configuration so the next import does not generate the same failures.
- Preserve evidence: Export a sample of the queue contents for diagnosis, since a purge is not reversible.
- Order of operations: Pause the connector, export the sample, purge the queue for that connector, reset its state if the source will be re-read, fix the cause, then resume with a small test import.
- Re-import selectively: Platform objects written successfully remain in place. Only the source records that failed need reprocessing after the fix.
RabbitMQ queues persist messages across restarts, so restarting workers will not clear a poison message. Confirm how your RabbitMQ setup handles purges and any dead-letter configuration in your own environment before you act.
Sometimes the backlog is valid work that the current capacity cannot process fast enough. In this case a reset is usually the wrong tool, because it discards work that should eventually be written. Adding workers also does not guarantee progress. OpenCTI's documented sizing recommends at least one platform node for every three workers, and workers that push faster than Elasticsearch can index will mostly add contention and slow searches for analysts.
- Measure before changing anything: Compare queue depth over time with the indexing rate and Elasticsearch health, including cluster status and disk headroom.
- Find the bottleneck: If Elasticsearch or OpenSearch is saturated, more workers will not help. If workers are idle while the queue grows, the limit is elsewhere.
- Throttle instead of purging: Pause the largest import, or stagger connectors so they do not all feed the queue at once.
- Order of operations: Pause the high-volume connector, let the queue drain at the current rate, adjust workers only if the search tier has headroom, then resume in controlled steps.
- Keep the data: Nothing needs to be re-imported, because the queued messages are still valid and will be processed.
Ask the platform team to confirm the worker-to-platform ratio and the search tier sizing for your deployment, and check the product documentation for the supported way to throttle connectors on your version.
Security and data-safety rules when purging queues
A purge is irreversible for the messages it removes, and those messages can hold intelligence that OpenCTI has not written yet. The four rules below set who may purge, what must be captured first, how sensitive queue content is handled, and how each change is recorded.
Capture before any purge
A purged message cannot be recovered from RabbitMQ, so check whether queued messages hold intelligence that has not reached the knowledge base. Before purging, inventory the queue depth and the connector or worker that produced the messages, then export or re-ingest what must survive. Confirm with your team that the source data can be re-imported from its origin, since some connectors only publish once and will not resend on their own.
Deployment overviewLimit RabbitMQ management access
The RabbitMQ management interface can delete queues and purge messages, so treat its credentials as privileged. Restrict the management port to named operator networks, avoid sharing the default administrator account, and rotate credentials when operators change. Confirm which accounts can reach the management UI and which can call the HTTP API, because both paths allow the same destructive actions.
Handle queue content as sensitive data
Queued messages carry the same indicators, observables and TLP markings as the intelligence they describe. Logs, screenshots, exports and support tickets that include message bodies should follow the same access and retention rules as the platform data. Ask whether your logging pipeline captures payloads and whether exported bundles are stored in an approved location.
Replication and durability of messages
RabbitMQ quorum queues are durable, replicated queues based on the Raft consensus algorithm, so messages survive a node loss when a quorum of replicas remains. Classic queue mirroring was removed starting with RabbitMQ 4.0, so older mirrored configurations need migration before they can be trusted. Check the queue type in use before deciding whether a node failure, rather than a purge, is the real risk.
Quorum queues docsRecord every change
Each purge, queue deletion, connector state reset or worker change should be written to a change log with the time, operator, queue name, message count and reason. Pair that record with OpenCTI audit logs where the Enterprise Edition provides them, so you can show what was removed and who approved it. Ask your change board whether purges need a second approver for production queues.
What to confirm for your OpenCTI and RabbitMQ versions
Before you change anything in a backlog, confirm which OpenCTI release line you run. Regular releases use the x.YYMMDD.z format, while LTS releases use x.YYMMDD.z-lts.n and need a specific LTS license key. The queue reset steps, worker tuning options and configuration keys can differ between these lines and between point releases, so check the OpenCTI documentation for your exact version before you run a reset. The OpenCTI product life cycle page explains how each line is supported and how long it receives fixes.
Next, record your RabbitMQ version and its support status. RabbitMQ 4.2 community support ended on July 31, 2026, and 4.3.6, released on September 16, 2026, has community support until January 31, 2027. Commercial support dates beyond those points apply only with a valid commercial support license, and the lifecycle details are published on the Broadcom support portal. If your broker is on a line that has lost community support, confirm with your broker vendor or support provider whether a fix for a queue or memory problem is available before you plan a version change alongside a backlog fix. The RabbitMQ release information page lists the current dates.
Finally, confirm the Elasticsearch or OpenSearch version and the other dependency versions in your deployment, since slow indexing can look like a worker problem. The OpenCTI deployment overview lists the supported minimums, and your search cluster's own release notes show what changed in indexing behavior. Write the confirmed versions into your runbook with the date you checked them, so the next engineer can see which assumptions a reset or tuning change was based on.
Questions teams ask before fixing an OpenCTI backlog
Can an OpenCTI worker backlog be cleared without losing data?
Usually yes, if the cause is understood before anything is purged. A backlog is a set of queued messages waiting for workers, which are Python processes that consume RabbitMQ messages for asynchronous writes. Clearing the queue by deleting messages discards the pending writes, so the intelligence in those messages never reaches the platform. The safer path is to find why workers stopped keeping up, fix that, let the queue drain, and only then reset a connector's state or queue if its messages are stale or corrupt. Take a backup before any purge, and confirm with your team which messages can be replayed from the source connector. The exact recovery steps depend on your version and deployment, so confirm them against the OpenCTI deployment overview before acting.
How long does diagnosing and recovering a backlog usually take?
No general duration is supplied for this work, so the answer depends on what you find. Diagnosis time is driven by how many components you must inspect: platform nodes, workers, RabbitMQ, the Elasticsearch or OpenSearch cluster, Redis and each connector. Recovery time depends on the size of the backlog, the throughput your search cluster can sustain, and whether a change window is available for restarts or reconfiguration. Ask any partner for a phased plan that separates diagnosis, a documented fix, drain monitoring and a retest, and ask them to state which items depend on your environment. A quote should reflect those phases instead of a single lump estimate.
What does the internal team need to provide for this work?
The work needs read access to platform and worker logs, access to the RabbitMQ management interface, metrics from the Elasticsearch or OpenSearch cluster, and a change window for restarts and configuration changes. Access to the Redis and object storage dependencies helps when the backlog is linked to locking or file handling. Someone who owns each connector should be available, because connector state and source feeds decide what can be replayed. Ask your team to confirm who can approve a purge, since that decision can remove data permanently. Without these inputs, the diagnosis will rely on guesses about the cause.
Can our own team fix an OpenCTI backlog without a partner?
Yes, if you have people who understand OpenCTI's architecture and can read RabbitMQ and search cluster metrics. Your team needs to tell apart a slow search cluster, too few workers, a single connector flooding the queue and a stuck message. Adding workers can make things worse when Elasticsearch is already the bottleneck, because more writers compete for the same indexing capacity. A partner adds value when your team lacks this experience, when the issue recurs, or when a test environment is needed to try fixes safely. Decide based on who on your side can own the change and the rollback.
What should a partner quote for an OpenCTI backlog engagement include?
A written quote should follow from a written scope and list each deliverable and phase. Ask it to name the components reviewed, including the platform, workers, RabbitMQ, the search cluster, Redis and each connector. It should state whether a test environment is included or needs to be provided, how many connectors are covered, and what the change window requires. Ask for the backup and rollback steps, the monitoring thresholds to be configured, the handover notes and any follow-up support. DeployOpen does not publish a price list, and a quote follows from the agreed scope. Cost rises with cluster size, the number of connectors, the number of environments and the lack of a test environment, since each of these adds diagnosis and verification work.
How do we prevent OpenCTI queues from growing again?
Prevention depends on watching the signals that come before a backlog: queue depth in RabbitMQ, worker errors, the indexing rate and free disk on the search cluster. Set alerts on sustained queue growth rather than single spikes, because a short burst from an import is normal. Enable platform and worker metrics and ship logs so you can see which connector is responsible. Review connector schedules before adding new feeds, and size workers and the search cluster together. Monitoring prevents surprises, but it does not remove the need for capacity planning, and any alert thresholds should be tuned against your own baseline.
Does the Enterprise Edition change how worker backlogs are handled?
Licensing does not change the queue mechanics described here, but the Enterprise Edition adds features that can help you monitor activity. Its documented features include activity monitoring and audit logs, which help you trace who changed configuration during an incident. Confirm with Filigran which edition and license terms apply to your deployment before relying on any feature. Do not assume that a feature in one edition is available in another, and check the OpenCTI Enterprise Edition documentation for the current list.
Limits of queue tuning and what to confirm
Adding workers or raising concurrency only helps when the rest of the pipeline can absorb the extra writes. The cards below cover the places where a backlog fix depends on something outside the queue, and who holds the answer for each.
Undersized search cluster
Workers that write faster than Elasticsearch or OpenSearch can index will move the bottleneck, not remove it. Extra workers then add bulk requests that wait on the same indexing capacity, and the queue keeps growing. Check the search cluster's CPU, heap, indexing rejections and disk headroom before changing worker counts. The OpenCTI deployment overview lists the documented minimum search node sizing, which is a floor rather than a throughput target. Confirm the throughput your data volume needs with your search cluster vendor or your implementation partner.
Deployment overviewReset steps change by release
The procedure for clearing a connector's state, its queue or its RabbitMQ bindings can differ between OpenCTI releases, and a step that works on one line may corrupt another. Before deleting queues or connector state, read the documentation for the exact release you run, including its version format, which is x.YYMMDD.z for regular releases and x.YYMMDD.z-lts.n for LTS. Confirm the procedure against a copy of the environment first.
Product life cycle docsSingle node versus clustered behavior
A single-node test may drain a backlog that stalls in a clustered deployment, because worker placement, shared Redis and RabbitMQ connections, and which nodes run background managers all change the picture. Compare queue depth per node, not only the total, and confirm which node runs the managers before reading the numbers as a platform-wide result. Ask your partner to reproduce the backlog in a cluster-shaped test environment before you promise a recovery time.
RabbitMQ version and support status
RabbitMQ community support ends on a fixed date for each release line, and a queue behavior fix may only land in a supported line. Check which RabbitMQ version your OpenCTI dependency runs and whether it is still in community support or needs a commercial support license. Confirm the RabbitMQ version compatibility with the OpenCTI release you run, since the platform requires RabbitMQ 3.11 or later.
- Latest RabbitMQ release
- 4.3.6
Enterprise features that change ingestion
Some Enterprise Edition capabilities, such as playbooks, full-text document indexing and organization-based data segregation, add processing or indexing work to the same pipeline. A backlog measured on Community settings may not match one on Enterprise settings. Confirm with Filigran or your partner which Enterprise features are enabled in your license and how each one affects write volume before you size workers.
Enterprise Edition docsHow DeployOpen works on this
DeployOpen starts by measuring where OpenCTI ingestion work waits, then agrees a written scope before any change to workers, RabbitMQ or Elasticsearch. The work is delivered inside your own infrastructure, with each change tested, documented and handed to your operators.
How we scope
- Review queue depth, worker counts, Elasticsearch health and connector behavior in your current OpenCTI deployment.
- Agree in writing which queues, connectors and nodes are in scope and which recovery actions are excluded.
- Confirm with your team which data can be re-imported and which must never be reset, before any state is cleared.
How we build
- Adjust worker counts and connector settings in steps, measuring Elasticsearch throughput after each change.
- Test any connector state or queue reset in a non-production copy of your OpenCTI platform first.
- Document each configuration key changed, its previous value and the reason for the change.
How we hand over
- Deliver a runbook covering queue checks, safe reset steps and the conditions that call for escalation.
- Walk your platform and operations staff through the monitoring signals to watch after recovery.
- Provide a retest of queue behavior under normal ingestion load so your team can confirm the fix holds.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer if your OpenCTI platform needs continued attention.
- Ask for a written quote based on the agreed scope, which is the basis for any cost discussion.

