The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / activemq / activemq-dlq-growing ▌

Operations Guides

ActiveMQ.DLQ growing: dead letter queue accumulation and poison messages

The queue named ActiveMQ.DLQ is growing and nobody is consuming from it. That is the default dead letter queue: it has no consumers, no TTL, and no automatic cleanup, so every message that lands there stays there forever.

Every message in the DLQ is two problems at once. It is a failed business transaction that some consumer gave up on after exhausting redeliveries. And it is a storage leak: DLQ messages are never acknowledged, and in KahaDB a single unacknowledged message pins its entire journal file. A DLQ that grows quietly for weeks is a common root cause behind store exhaustion, which eventually halts persistent messaging on the whole broker.

This article covers how to tell what is feeding the DLQ, how to drain it safely, and how to stop it from silently filling your store again.

What this means

ActiveMQ Classic routes a message to the dead letter queue when delivery has definitively failed. By default there is a single shared DLQ named ActiveMQ.DLQ for all destinations (SharedDeadLetterStrategy). Messages arrive there through two main paths:

  1. Redelivery exhaustion. A consumer receives a message, fails to process it, and rolls back or nacks. The client redelivers up to RedeliveryPolicy.maximumRedeliveries (default: 6, enforced client-side). After the last attempt, the client sends a poison ack and the broker moves the message to the DLQ.
  2. Expiration. Messages whose TTL passes before consumption are routed to the DLQ by default (processExpired="true" on the dead letter strategy). If your producers set TTL and consumers lag, expired messages feed the DLQ continuously without any consumer error at all.

Two details make DLQ growth dangerous rather than merely untidy:

  • DLQ messages never expire by default. There is no TTL, no size cap, no cleanup job. Accumulation is permanent until an operator acts.
  • Dequeue counts lie. Messages moved to the DLQ are counted as dequeued from the source queue. Your dequeue rate can look perfectly healthy while the broker is actually discarding messages into the DLQ.
flowchart LR
  P[Producer] --> Q[Source queue]
  Q --> C[Consumer]
  C -->|processing fails| R[Redelivery, up to 6 attempts]
  R -->|poison ack| D[ActiveMQ.DLQ]
  Q -->|TTL expires, processExpired=true| D
  D -->|no TTL, never acked| J[KahaDB journal files pinned]
  J -->|files accumulate| S[Store usage climbs to 100%]

If you run ActiveMQ Artemis instead of Classic, the model is different: Artemis uses a dead letter address configured per address in broker.xml, defaults to 10 delivery attempts, and discards undeliverable messages entirely if no dead letter address is configured. The rest of this article is Classic-specific.

Common causes

CauseWhat it looks likeFirst thing to check
Poison message (malformed payload, schema mismatch, deserialization failure)DLQ grows in bursts tied to specific message types; same exception repeated in DLQ message propertiesBrowse DLQ messages and read the failure cause and JMSDestination property
Consumer bug after a deployDLQ growth starts at deploy time; dequeue rate on the source queue looks normal (it is DLQ transfers)Correlate DLQ EnqueueCount growth with the last deployment timestamp
Downstream dependency failure (database, API)Redelivery rate rises first, then DLQ grows; consumers connected but processing failsRedelivery rate on source queues, consumer application error logs
Expired messages routed to DLQDLQ grows with no consumer errors; producers set TTL; consumers lag past TTLExpiredCount on source queues; check if processExpired was left at default
Redelivery policy too aggressiveTransient failures (brief downstream blips) permanently lose messages after 6 retriesClient-side RedeliveryPolicy configuration
DLQ itself memory-limitedDead-lettering fails; messages may be discarded entirely; DLQ MemoryPercentUsage at 100Per-destination memory usage on ActiveMQ.DLQ

Quick checks

All read-only. These use the Jolokia JMX bridge on the web console port; adjust credentials and broker name for your environment.

# DLQ depth: the primary signal
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=ActiveMQ.DLQ/QueueSize'

# DLQ enqueue count (cumulative): take two readings to get the growth rate
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=ActiveMQ.DLQ/EnqueueCount'

# Store usage: how close the accumulation is to halting persistent messaging
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost/StorePercentUsage'

# Journal file count: DLQ messages pin these
ls /opt/activemq/data/kahadb/db-*.log | wc -l

# Actual disk usage of the store (StorePercentUsage is against the configured limit, not the disk)
du -sh /opt/activemq/data/kahadb/
df -h /opt/activemq/data/

# Expired message counts on application queues (silent DLQ feeder)
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost,destinationType=Queue,destinationName=*/ExpiredCount'

A note on browsing: the JMX browse() operation or the web console’s message view lets you inspect DLQ message properties, which is where the diagnosis lives. Queue browsing is expensive on deep queues and can spike broker memory and CPU. If the DLQ already holds millions of messages, browse a page at a time via the web console rather than a full JMX browse.

How to diagnose it

  1. Confirm the growth rate, not just the depth. Take two readings of the DLQ EnqueueCount a few minutes apart. A stable count of 5,000 is a backlog to triage; a rate of 10 messages/minute is an active processing failure happening right now.

  2. Inspect DLQ message properties. Browse a sample of DLQ messages and read JMSDestination to see which source queue or topic produced them. DLQ messages also carry the exception information describing why delivery failed (the broker attaches the delivery failure cause as a message property; the exact property name is dlqDeliveryFailureCause in current Classic versions, set by the broker when the message is moved, so it is present regardless of the producer’s client version). Group the failures by source destination and by exception. Usually one or two queues and one dominant error explain almost all of the depth.

  3. Separate the two feeders: redelivery vs expiry. If the failing messages show repeated processing exceptions, it is a poison message or consumer bug. If they show no consumer error and the source queues have rising ExpiredCount, the feeder is TTL expiry. Check whether producers set timeToLive and whether the dead letter strategy was left at the default processExpired="true".

  4. Check the redelivery leading indicator on source queues. Redelivery happens before the DLQ. Look for messages with JMSXDeliveryCount > 1 on source queues, and watch whether dequeue rate on those queues is real consumption or DLQ transfers. If redelivery is rising and the DLQ has not grown yet, you are early: fix the consumer before the backlog moves.

  5. Check the health of the DLQ itself. If the DLQ’s per-destination MemoryPercentUsage has hit its limit, dead-lettering itself starts failing and messages may be discarded entirely. A DLQ that suddenly stops growing while source-queue failures continue is not good news.

  6. Quantify the storage damage. Compare DLQ depth and journal file count with StorePercentUsage and actual disk free. DLQ messages are never acknowledged, so every one of them pins its journal file against KahaDB GC. This is what turns a correctness problem into a capacity incident.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
DLQ QueueSize (JMX on ActiveMQ.DLQ)Every message is a failed transaction; also a permanent store residentAny non-zero depth; sustained growth
DLQ EnqueueCount rateDistinguishes an active failure from a legacy backlog>0 sustained; ratio of DLQ rate to application enqueue rate rising
Redelivery rate on source queuesLeading indicator; fires before DLQ growthAny sustained rate above the normal error baseline
ExpiredCount per destinationReveals the silent expiry-to-DLQ pathNon-zero on queues where expiry should not happen
StorePercentUsageDLQ accumulation ends here when it goes on long enough>70% and climbing
KahaDB journal file countDLQ messages pin journal files indefinitelyMonotonic growth over days
Disk free on the KahaDB partitionThe configured store limit can exceed the physical disk>80% used
Source-queue dequeue rate vs DLQ enqueue rateDLQ transfers count as dequeues; this ratio exposes fake “healthy” consumptionDequeue steady while DLQ grows

Fixes

Stop the active failure first

Consumer bug or poison message: fix or roll back the consumer. Redelivery is for transient failures; a message that fails deterministically will always end up in the DLQ after 6 attempts, and the retries in between are wasted work that delays everything behind it.

Downstream dependency: if consumers fail because a database or API is down, the DLQ growth stops when the dependency recovers, assuming the redelivery policy survives the outage duration. If outages outlast 6 redeliveries, tune the client RedeliveryPolicy (more attempts, backoff) so transient failures do not permanently shed messages.

Expiry feeding the DLQ: if expired messages should be discarded rather than dead-lettered, set processExpired="false" on the dead letter strategy for those destinations. Understand the tradeoff: with processExpired="false" expired messages are silently discarded with no DLQ entry and no advisory. That is the right choice for time-bound data (quotes, heartbeats) and the wrong choice for anything with business value.

Drain the existing backlog

Before purging anything, export or inspect a sample. Every DLQ message is a bug report, and for many businesses the messages themselves have recoverable value (reprocessable orders, payments, events).

Options, in order of preference:

  1. Replay after the root cause is fixed. Move messages back to their source queue (the JMSDestination property tells you where each one came from) once the consumer can actually process them. Do this in controlled batches and watch consumer error rates; replaying into a still-broken consumer just re-runs the redelivery-to-DLQ cycle.
  2. Export to file for offline analysis, then purge. Keeps the evidence while releasing the store.
  3. Purge in place. Via JMX purge() on the DLQ destination or the web console. This discards the messages permanently. It also does not immediately reclaim disk: KahaDB journal cleanup runs periodically, and disk reclamation lags the purge. Do not purge before investigating unless store exhaustion is imminent.

Prevent recurrence with configuration

The default single shared DLQ mixing poison messages from every destination is operationally poor. A per-destination strategy isolates failures and lets you set TTLs:

<!-- activemq.xml: per-destination DLQ with expiry, expired source messages discarded -->
<destinationPolicy>
  <policyMap>
    <policyEntries>
      <policyEntry queue=">">
        <deadLetterStrategy>
          <individualDeadLetterStrategy
            queuePrefix="DLQ."
            useQueueForQueueMessages="true"
            processExpired="false"
            expiration="604800000"/>
        </deadLetterStrategy>
      </policyEntry>
    </policyEntries>
  </policyMap>
</destinationPolicy>

Key choices here:

  • IndividualDeadLetterStrategy gives each queue its own DLQ (DLQ.<name>), so a noisy low-priority queue stops contaminating the shared DLQ and you can monitor, alert, and drain per application.
  • expiration (supported since 5.12) sets a TTL in milliseconds on DLQ messages, so dead letters eventually self-clean instead of pinning journal files forever. One warning from the official documentation: do not apply DLQ expiration via a wildcard policy that also matches the DLQ destinations themselves, or expired DLQ messages get re-routed back into a DLQ and loop.
  • processNonPersistent defaults to false, meaning failed non-persistent messages are silently discarded and never reach the DLQ. If you assume every failure is dead-lettered, non-persistent traffic is the blind spot. Set it to true on the dead letter strategy if you need those failures captured.

Prevention

  • Alert on DLQ depth at any non-zero value, and page on growth rate. The DLQ is the most under-monitored destination on most brokers; treat it as a first-class signal, not a black hole.
  • Monitor the redelivery rate on application queues as the leading indicator. Redelivery rises before DLQ growth; catching it there saves the backlog.
  • Track ExpiredCount on queues where expiry should never happen, and decide explicitly per destination whether expired messages go to the DLQ or are discarded.
  • Set DLQ expiration and per-destination DLQs as shown above so no future accumulation is permanent.
  • Reconcile dequeue rates against DLQ enqueue rates in dashboards so “healthy consumption” cannot actually be silent dead-lettering.
  • Build a DLQ consumer process that logs, categorizes, and raises alerts on new dead letters, even if it does not auto-replay. Automation that reads the failure cause beats an operator browsing the web console at 3 a.m.
  • Include the DLQ in store capacity planning. DLQ growth is a leading indicator for KahaDB journal accumulation and store exhaustion; trend it alongside journal file count and disk free.

How Netdata helps

  • Per-destination queue depth including ActiveMQ.DLQ collected every second via JMX, so DLQ growth shows up as it starts rather than at the next store-full alert.
  • Enqueue/dequeue rate correlation per queue, which exposes the classic DLQ blind spot: dequeue rate looking healthy while the dequeues are actually DLQ transfers.
  • ExpiredCount trending per destination, separating the expiry feeder from the poison-message feeder without manual JMX queries.
  • Store usage, disk free, and KahaDB journal file count on one dashboard, so you can see the DLQ-to-journal-pinning-to-store-exhaustion chain as one narrative instead of three unrelated alerts.
  • Redelivery and inflight signals alongside DLQ depth, letting you catch the poison-message pattern at the redelivery stage, before the backlog moves to the DLQ and starts pinning journal files.