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 / rabbitmq / rabbitmq-connection-blocked-blocking

Operations Guides

RabbitMQ connection blocked / blocking: publishers frozen by a resource alarm

Your publishers are hanging. No errors, no exceptions, no disconnections. Publish calls simply never return, and queue depth stops growing. When you check the management UI or rabbitmqctl list_connections, you see connections in state blocking or blocked instead of running.

This is not a network problem and not a client bug. RabbitMQ has raised a resource alarm (memory or disk) and has deliberately stopped reading from publisher connections across the entire cluster. It is a circuit breaker doing its job. The danger is that many client libraries hide this completely: from the application’s perspective, the publish call just hangs with no error, which sends operators chasing ghosts in the wrong place.

The distinction between the two states is narrow but useful:

  • blocking: a resource alarm is active, but this connection has not attempted to publish yet. It can still do everything except publish.
  • blocked: the connection attempted to publish while the alarm was active and is now frozen until the alarm clears.

Both states have the same root cause: a memory or disk alarm is active somewhere in the cluster. This article covers how to confirm that, how to find which alarm fired and why, and how to get publishers flowing again. For the alarm-specific deep dives, see the guides on the memory resource limit alarm and the disk free limit alarm.

What this means

RabbitMQ has two independent throttling mechanisms, and confusing them is the most common diagnostic mistake here:

  1. Credit-based flow control (per-connection): internal backpressure. A fast publisher is temporarily throttled when a downstream queue or the persistence layer cannot keep up. The connection shows state: flow. This is surgical, transient (it can toggle many times per second), and healthy. It is the broker saying “slow down a little” to one publisher.

  2. Resource alarms (cluster-wide): the emergency stop. When memory use crosses the high watermark (default 0.4 of RAM in RabbitMQ 3.x, raised to 0.6 in 4.x) on any node, or free disk drops below disk_free_limit (default 50MB) on any node, every publishing connection on every node is blocked. The connection shows blocking or blocked. Consumers are unaffected and keep draining.

Two properties of resource alarms catch operators off guard:

  • They are cluster-wide. One node firing a memory alarm freezes publishers on all nodes, including nodes with plenty of headroom. Alert text that says “node X memory high” undersells it: the actual event is “cluster publishing halted.”
  • They are cliff-edge. There is no gradual degradation. One second publishing works; the next, every publisher in the cluster is frozen. The only warning is the paging phase (queues writing messages to disk at the paging ratio, default 0.5 of the watermark) and the mem_used / mem_limit ratio approaching 1.0.

When a connection is blocked, the broker stops reading from that socket. The client’s TCP buffers fill, writes block, and the publish call hangs. Client libraries that support the connection.blocked / connection.unblocked protocol extension receive a notification, but many applications never register a handler for it, so the notification is silently dropped and the only visible symptom is the hang.

stateDiagram-v2
  running: running
  flow: flow (credit backpressure)
  blocking: blocking (alarm active, no publish attempted)
  blocked: blocked (publish attempted, frozen)
  running --> flow: downstream queue/disk slow
  flow --> running: downstream caught up
  running --> blocking: memory or disk alarm fires
  blocking --> blocked: app calls publish
  blocked --> running: ALL alarms clear
  blocking --> running: ALL alarms clear

Common causes

The state on the connection is a symptom. The cause is always an active alarm, and the alarm always has an underlying driver.

CauseWhat it looks likeFirst thing to check
Memory alarm from consumer backlogmem_alarm: true, queue messages_ready and messages_unacknowledged high and rising before the freezeGlobal unacked count; consumers per queue
Memory alarm from unacked accumulationmem_alarm: true, unacked count pinned at prefetch size per consumer, ack rate near zeroAck rate vs deliver rate
Disk alarm, genuinely low diskdisk_free_alarm: true, df -h on the data partition confirms little free spacedisk_free vs disk_free_limit in /api/nodes
Disk alarm from default 50MB limitdisk_free_alarm: true on a node with gigabytes freedisk_free_limit still at the default
Remote node in cluster fired the alarmLocal node shows normal memory and disk, but publishers everywhere are frozenmem_alarm and disk_free_alarm on every node, not just the local one
Watermark too low for workloadAlarm flaps near the threshold, blocked/unblocked cyclingmem_used / mem_limit hovering near 1.0

Quick checks

All read-only. Run these against any node in the cluster; remember the alarm may originate on a different node. The examples use guest:guest, which the management API only accepts from localhost by default.

# 1. Count connections by state
curl -s -u guest:guest http://localhost:15672/api/connections \
  | jq 'group_by(.state) | map({state: .[0].state, count: length})'

# Same via CLI (-q strips the banner and table headers)
rabbitmqctl -q list_connections state | sort | uniq -c

# 2. Check both alarm flags on every node
curl -s -u guest:guest http://localhost:15672/api/nodes \
  | jq '.[] | {name, mem_alarm, disk_free_alarm}'

# 3. Ask the alarm subsystem directly
rabbitmqctl eval 'rabbit_alarm:get_alarms().'

# 4. Memory headroom per node
curl -s -u guest:guest http://localhost:15672/api/nodes \
  | jq '.[] | {name, mem_used, mem_limit, ratio: (.mem_used / .mem_limit)}'

# 5. Disk headroom per node
curl -s -u guest:guest http://localhost:15672/api/nodes \
  | jq '.[] | {name, disk_free, disk_free_limit}'

# 6. Confirm publishing actually stopped (rates, not counters)
curl -s -u guest:guest http://localhost:15672/api/overview \
  | jq '{publish_rate: .message_stats.publish_details.rate, deliver_rate: .message_stats.deliver_get_details.rate, ack_rate: .message_stats.ack_details.rate}'

# 7. Find the queues holding memory
curl -s -u guest:guest 'http://localhost:15672/api/queues?sort=memory&sort_reverse=true' \
  | jq '.[:10][] | {name, messages_ready, messages_unacknowledged, consumers}'

Reading the results:

  • If check 1 shows blocked or blocking connections and check 2 shows an alarm flag true on any node, the diagnosis is confirmed. The connection state is a symptom; go after the alarm.
  • If check 6 shows publish rate at zero while deliver and ack rates are non-zero, that is the classic signature: publishers frozen, consumers still draining.
  • If check 1 shows flow instead, no alarm is active and you are looking at ordinary credit-based backpressure, a different and much less severe problem.

How to diagnose it

  1. Confirm the state. Count connections by state (check 1). A large population of blocked or blocking connections with stable total connection count is the fingerprint: clients are connected but frozen.

  2. Identify which alarm fired. Check mem_alarm and disk_free_alarm on every node (check 2), not just the node your clients connect to. The alarm propagates cluster-wide; the node that fired it may not be the node you are looking at.

  3. Rule out flow control. If connections show flow and no alarm flags are set, you are dealing with per-connection backpressure: a slow queue, slow disk, or saturated write path. That is a throughput problem, not an emergency stop.

  4. If memory alarm: find the driver. Look at global messages_ready and messages_unacknowledged. Rising unacked with consumers present and ack rate near zero means stuck consumers. Rising ready with zero consumers on deep queues means absent consumers. Use check 7 to find the queues contributing the most memory.

  5. If disk alarm: verify against the OS. Run df -h on the RabbitMQ data partition (typically /var/lib/rabbitmq). If the OS shows plenty of free space but the alarm is active, check disk_free_limit: if it is still the default 50MB, routine events like log rotation or a burst of persistent messages can trip it. See the guide on disk_free_limit at the default 50MB.

  6. Check the client side. If the application shows no error at all, verify whether the client library supports connection.blocked notifications and whether the application registered a handler. Without a handler, the freeze is invisible to the app. Also check for TCP-level hangs: a publisher blocked mid-write will sit in a socket write until the alarm clears.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
mem_alarm (per node)Direct cause of cluster-wide publisher blockingtrue on any node, sustained
disk_free_alarm (per node)Direct cause of cluster-wide publisher blockingtrue on any node, sustained
mem_used / mem_limitLeading indicator; alarm fires at 1.0Ratio > 0.7 sustained
disk_free / disk_free_limitRunway before disk alarm< 2.0, or < 3.0 with an absolute floor of 1GB
Connection state distributionTells you blocked vs flow vs runningAny blocked/blocking; >10% flow for 5+ minutes
Publish rate vs deliver_get ratePublish dropping to zero while deliver continues confirms alarm freezePublish = 0 with non-zero deliver
messages_unacknowledgedMost common driver of memory alarmsSustained growth; pinned at prefetch x consumers
messages_paged_outPaging is the early warning before the memory alarmNon-zero with active traffic

Fixes

Get publishing flowing again (memory alarm)

The alarm clears only when memory drops below the watermark. Consumers are not blocked, so the fastest recovery path is to let them drain:

  • Restore or fix consumers. If consumers are dead, redeploy them. If they are stuck on a downstream dependency, fix the dependency. Every acknowledged message frees memory.
  • Purge non-critical queues as emergency relief if consumers cannot be restored quickly. This is destructive: messages in the purged queue are gone. Confirm the queue is expendable first.
  • Do not restart the broker. A restart loses in-memory messages and the repopulation spike after restart often re-fires the alarm immediately, leaving you worse off.

Get publishing flowing again (disk alarm)

  • Free space on the data partition: rotate or remove old logs, remove Erlang crash dumps, move unrelated data off the partition.
  • Let consumers drain. Consumers keep working during a disk alarm, and draining persistent messages frees disk.
  • If disk_free_limit is the default 50MB and the disk is large, raise it deliberately, not just to clear the incident: set disk_free_limit.relative to 1.0 to 2.0 (1-2x RAM) or an absolute value of 2GB or more. Then treat the default as a misconfiguration to fix permanently, because it will fire again.

If the alarm flaps

There is no hysteresis: the alarm clears at the same threshold it fires at. If usage hovers at the watermark, connections oscillate between blocked and running, which is often worse for publishers than a clean stop. Fix the headroom problem (lower usage or raise the threshold with intent) rather than waiting it out.

Handle the application side

A client that hangs silently on publish is an operational liability even after the broker recovers:

  • Register connection.blocked / connection.unblocked handlers where the client library supports them, and surface them as application metrics or log events.
  • Add a client-side safeguard for indefinite blocks, such as a publish timeout or a blocked-connection timeout, so a frozen publisher fails fast and alerts instead of hanging a worker pool forever.

Prevention

  • Monitor the alarm inputs, not just the alarm. Alert on mem_used / mem_limit > 0.7 and on disk_free below 3x disk_free_limit (with a 1GB absolute floor). The alarm itself is the cliff edge; the ratios are the warning. See the monitoring checklist.
  • Watch paging as the early warning. messages_paged_out appearing under load means the broker is preparing for memory trouble 5-10 minutes before the alarm fires. See the guide on paging messages to disk.
  • Track unacked messages separately from ready messages. Unacked accumulation is the most common memory alarm driver and is invisible if you only watch total depth.
  • Fix the 50MB default on any production node before it fires for the first time.
  • Alert on the right text. A memory or disk alarm means “cluster publishing halted,” not “node X resource high.” Operators should know the blast radius from the alert alone.
  • Distinguish flow from blocked in dashboards and alerts. Alerting on flow the same way as blocked produces noise and trains people to ignore the state field.

How Netdata helps

  • Netdata collects the node-level alarm flags (mem_alarm, disk_free_alarm) alongside the ratios that predict them (mem_used vs mem_limit, disk_free vs disk_free_limit), so you can see the approach to the cliff, not just the fall.
  • Correlating the publish-rate drop against deliver and ack rates on the same dashboard confirms the alarm-freeze signature in seconds: publish at zero, consumers still draining.
  • Per-queue ready, unacknowledged, and paged-out counts sit next to the alarm state, which shortens the path from “publishers frozen” to “this queue’s consumers are stuck.”
  • Alerts on the resource ratios fire before the alarm, which is the only useful place to catch a cliff-edge event.