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 / nats / nats-consumer-max-ack-pending ▌

Operations Guides

NATS consumer stalled at MaxAckPending: delivery stops until messages are acked

Your JetStream consumer was processing messages fine, and then deliveries just stopped. No error on the client. No error in the server log. The stream keeps growing, CPU and memory are normal, and the consumer application is still connected. Everything is green except the one thing that matters: no messages are moving.

This is the most common cause of “JetStream consumer stopped receiving messages,” and it is silent by design. When a consumer’s count of delivered-but-unacknowledged messages (num_ack_pending) reaches its configured MaxAckPending limit, the server stops delivering new messages to that consumer. No error is raised, no advisory is emitted. Delivery pauses until pending messages are acknowledged, negatively acknowledged, or expire past AckWait.

The default MaxAckPending is 1000 for consumers with an explicit ack policy, so this limit is in play even if you never set it. This guide covers how to confirm the stall, the root causes, and the alert that catches it before the stream backs up.

What this means

Every JetStream consumer with an ack policy maintains a pool of in-flight messages: messages the server has delivered but the client has not yet acknowledged. MaxAckPending is the cap on that pool. It bounds how much unacked state the server tracks and how much redelivery work can pile up behind a slow client.

When the pool is full, the server holds back further deliveries. Messages that would have been delivered stay in the stream and show up as num_pending on the consumer:

flowchart TD
  P[Producer publishes] --> S[Stream stores messages]
  S -->|deliver while num_ack_pending less than MaxAckPending| C[Consumer]
  C -->|ack, nak, or AckWait expiry| A[Pool slot freed]
  A --> S
  C -->|processing stalls| F[num_ack_pending equals MaxAckPending]
  F -->|server stops delivering, no error raised| X[Consumer idle, stream num_pending grows]

Two properties make this failure mode nasty:

  • It is silent. The server does not tell the consumer it has been paused. Client libraries see a healthy connection and simply receive nothing. There is no server log line that says “consumer X stalled.”
  • It is shared in queue groups. If the consumer has a deliver group (queue group), MaxAckPending is shared across all members. Adding more subscriber instances does not raise the ceiling; the group as a whole can hold at most MaxAckPending unacked messages.

For push consumers, MaxAckPending is effectively the only form of flow control. Pull consumers request messages explicitly, so they do not stall the same way, but they still track pending acks against the same configured limit. See the consumer concepts in the NATS documentation for the full field semantics.

Common causes

CauseWhat it looks likeFirst thing to check
Consumer not acking (bug, crash mid-processing, hung handler)num_ack_pending pinned at MaxAckPending, num_redelivered flat, application alive but silentIs the application processing? Thread dump, handler logs, recent deploys
Processing time exceeds AckWaitnum_redelivered climbing steadily, same messages processed more than once, duplicates downstreamCompare p99 handler latency to AckWait
MaxAckPending too low for real processing latencyConsumer makes progress but throughput is capped; num_ack_pending oscillates at the limitCompute required in-flight depth: message rate x processing time
Queue group sharing the poolStall appeared after adding load, all group members idle togetherCheck deliver_group on the consumer; the limit is group-wide

The first two are application problems the limit is correctly exposing. The third is a sizing problem. The fourth is the one that surprises teams who scale out expecting more in-flight capacity.

Quick checks

All of these are read-only. Substitute your stream and consumer names.

# Check ack-pending state for the consumer (the direct confirmation)
nats consumer info STREAM CONSUMER --json | jq '{
  ack_pending: .num_ack_pending,
  pending: .num_pending,
  redelivered: .num_redelivered,
  max_ack_pending: .config.max_ack_pending,
  ack_wait: .config.ack_wait,
  deliver_group: .config.deliver_group
}'

What you are looking for: num_ack_pending exactly equal to max_ack_pending. That is the stalled state. If max_ack_pending is absent from .config in the output, the consumer is on the server default of 1000.

# Same data via the HTTP monitoring endpoint (no CLI needed)
curl -s 'http://localhost:8222/jsz?consumers=true' | \
  jq '.account_details[].streams[].consumer[] | {name, num_pending, num_ack_pending, num_redelivered}'

# Is the stream growing because of this consumer?
nats stream info STREAM --json | jq '{messages: .state.messages, bytes: .state.bytes, first_seq: .state.first_seq, last_seq: .state.last_seq}'

# Are messages timing out and being redelivered? Watch over 60 seconds.
nats consumer info STREAM CONSUMER --json | jq .num_redelivered
sleep 60
nats consumer info STREAM CONSUMER --json | jq .num_redelivered

# Is the consumer's client connection itself healthy?
curl -s 'http://localhost:8222/connz?sort=pending&limit=10' | \
  jq '.connections[] | {cid, name, ip, pending_bytes, subscriptions}'

# Aggregate JetStream pressure building behind the stall
curl -s http://localhost:8222/jsz | jq '{bytes, messages, storage, api_errors: .api.errors}'

/jsz?consumers=true returns substantially more data than the aggregate /jsz and is costlier on servers with many consumers. Use it for targeted diagnosis, not as a fast poll loop.

How to diagnose it

  1. Confirm the stall. num_ack_pending == max_ack_pending on the consumer, with num_pending growing. Both signals are required: if num_ack_pending is at the limit but num_pending is zero, the stream has simply caught up and nothing is waiting.

  2. Decide: ack timeout churn or a dead consumer. Watch num_redelivered over a minute. If it climbs, messages are being delivered, timing out past AckWait, and redelivered. The consumer is alive but too slow per message, or it acks after AckWait has already expired. If num_redelivered is flat while num_ack_pending sits at the limit, the client is holding messages it will never ack: a hung handler, a crash between delivery and ack where the connection stayed open, or a code path that swallows the message without acking.

  3. Check the application, not the server. This is the step teams skip. slow_consumers on the server will be zero for this failure: the server is not struggling to write to the client, it has deliberately stopped. Look at the consumer process: is the handler blocked on a database, an HTTP call, a lock? Recent deploys? GC death spiral or a dead downstream?

  4. Verify the queue group assumption. If the consumer has a deliver_group, all members share the MaxAckPending pool. Ten instances do not give you 10,000 in-flight slots; the group still has 1000 (or whatever is configured). If the stall started right after you scaled out, this is why.

  5. Check for an unacked pull delivery before trusting the numbers. A delivered pull-consumer message stays in num_ack_pending until the client acks or terminates it, the message is removed by retention, or delivery exceeds MaxDeliver. A pull consumer that exits without acking and never issues another request therefore leaves the counter above zero; maintainers closed issue #6093 as intended behavior, not a counter bug. Separately, servers older than 2.9.22 had a bug where push consumers could exceed MaxAckPending through redelivery logic, causing a permanent stall (issue #4112). If you are on anything older, upgrade.

  6. Check for caps above the consumer. If you raise MaxAckPending and the effective behavior does not change, look upward: account JetStream limits expose max_ack_pending, and stream consumer limits expose max_ack_pending; a value above either configured cap is rejected, and an unset value is reduced to the lower applicable cap.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
num_ack_pending / MaxAckPending ratioThe direct stall predictorGreater than 0.8 sustained; equal to 1.0 is stalled
num_pending growth rateBacklog accumulating behind the stalled consumerPositive growth sustained while the consumer should be draining
num_redelivered rateAck timeouts churning; separates slow processing from a dead consumerAny sustained positive rate
Stream messages / bytes growthStorage pressure building while retention cannot proceedSteady climb with static first_seq
/jsz storage vs limitsA stalled consumer on an interest- or workqueue-retention stream blocks cleanupStorage approaching 90% of reserved
/jsz api.errorsSecondary effect if storage fills and publishes get rejectedSustained positive rate

The ratio alert is the one that matters: warn above 0.8, page at 1.0. A consumer that habitually rides at 90% or more of its limit is one slow processing cycle away from stalling, and that high-water pattern deserves a ticket even without a full stall.

Fixes

Consumer is hung or crashed without acking

Fix the application. The limit is doing its job; the consumer is the fault. Restart the stuck process if it is genuinely wedged, then find out why: blocked handler, deadlock, hung downstream. If the consumer code has a path where it returns early without acking or naking (an error branch, a filter that drops messages), that path leaks pool slots until the consumer stalls. Audit the handler so every received message ends in exactly one of ack, nak, or term.

If the consumer is genuinely dead and the stream is under storage pressure, deleting the consumer makes its pending messages eligible for retention cleanup on interest- or workqueue-retention streams. Understand the data-loss implication before doing that on a stream whose messages you still need.

Processing time exceeds AckWait

Either make processing faster or raise AckWait so it comfortably exceeds p99 handler latency, including GC pauses and downstream call timeouts. Redelivery is not free: each redelivered message consumes a pool slot again, so chronic ack-timeout churn keeps num_ack_pending pinned near the limit and effectively halves throughput. MaxAckPending and AckWait are editable on an existing consumer; you do not need to recreate it to tune these.

MaxAckPending too low for the workload

Size it from the throughput you need: required in-flight depth is roughly message rate multiplied by per-message processing time, per consumer (or per queue group, since the pool is shared). If you process 200 messages per second with 200 ms handlers, you need about 40 slots to keep the pipeline full; 1000 is generous. But at 5000 messages per second with 500 ms handlers, the default 1000 is your throughput ceiling and no application tuning gets you past it. Raise MaxAckPending to cover the depth with headroom. To disable the ceiling, set it to -1; 0 means “apply the applicable default or cap”, not unlimited.

There is no per-subject MaxAckPending; each consumer has one shared pool across all its filter subjects. If you need independent flow control per subject, that means separate consumers.

Queue group out of capacity

Because the pool is shared across the deliver group, scaling out members spreads work but does not raise in-flight depth. If the group collectively needs more in-flight messages, raise MaxAckPending on the consumer itself. If different instances need independent limits, they need independent consumers, which changes delivery semantics from queue-group load balancing to fan-out; make that choice deliberately.

Prevention

  • Alert on the ratio, not the absolute number. num_ack_pending / MaxAckPending > 0.8 warns while you still have runway; == MaxAckPending means you are already stalled. Absolute thresholds break the moment someone changes the configured limit.
  • Track num_redelivered as a rate. It distinguishes slow processing from dead consumers and catches AckWait misconfiguration before anyone notices the throughput ceiling.
  • Correlate consumer lag with stream growth. A consumer stalled at the limit on a limits-retention stream is a backlog problem; on an interest- or workqueue-retention stream it is also a storage-exhaustion fuse. Know which retention policy each stream uses before you decide how urgent a stall is.
  • Set AckWait from measured latency. Derive it from p99 handler latency with margin, and re-derive it when handler behavior changes. Do not leave it at a default you never measured against.
  • Test the failure mode. Kill a consumer mid-processing in staging, watch num_ack_pending climb to the limit, and confirm your alert fires before the stream backs up. Teams that only test the happy path discover this interaction during incidents.

How Netdata helps

  • Netdata’s NATS collector polls the server’s HTTP monitoring endpoints, so the aggregate effects of a stalled consumer show up directly: JetStream bytes, messages, and storage climbing while producers keep publishing, and api.errors if the backlog eventually fills storage and publishes start being rejected.
  • Correlating stream growth against server throughput (in_msgs vs out_msgs) distinguishes a consumer stall (publishes continue, deliveries drop) from a producer or routing failure (publishes drop too).
  • Server-level signals like slow_consumers and per-connection pending_bytes stay flat in a MaxAckPending stall, which is itself diagnostic: when the stream grows but the server shows no backpressure distress, the delivery pause is consumer ack state, not a slow connection.
  • Know the granularity limit: Netdata currently collects aggregate JetStream figures, not per-consumer num_ack_pending. The ratio alerting in this guide needs per-consumer polling (/jsz?consumers=true or the CLI) alongside Netdata’s server-level view; the two together cover both the fuse and the explosion.