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-storm

Operations Guides

RabbitMQ connection storm: reconnect loops, FD pressure, and CPU spent on handshakes

A connection storm happens when many clients open connections to RabbitMQ at the same time, or when a smaller set of clients reconnect in a tight loop. The broker tolerates thousands of idle connections far better than it tolerates creating them. Connection setup is expensive: TCP handling, TLS handshake, AMQP negotiation, authentication, a new Erlang process per connection, plus one process per channel the client opens.

The symptom pattern is distinct. churn_rates.connection_created spikes far above baseline. File descriptor and socket usage climb fast. The Erlang run queue rises because scheduler time goes to handshakes instead of message routing and heartbeats. In the worst case, healthy connections start timing out because the VM cannot service them, those clients reconnect, and the storm feeds itself.

The steps below assume RabbitMQ 3.13+ with the management plugin available. For the broader signal model, see How RabbitMQ actually works in production.

What this means

Every AMQP connection costs the broker:

  • One file descriptor and one socket. FD exhaustion is a cliff edge: new connections are refused, and queue file operations can fail.
  • One Erlang process per connection, one per channel. Process table exhaustion crashes the node outright.
  • Scheduler CPU. TLS termination, AMQP negotiation, and authentication all run on the Erlang schedulers. A burst of simultaneous handshakes can saturate them.
  • Memory per connection. Kilobytes per idle connection process, more with buffers and channels.

The dangerous property of a storm is positive feedback. As scheduler load rises, heartbeat processing is delayed. Heartbeat timeouts kill existing connections. Those clients reconnect, adding more handshakes. A sustained run queue above the core count delays everything including heartbeats, and in clusters it can trigger false network partition detection.

flowchart TD
  A[Trigger: crash loop, deploy, LB failover, broker restart] --> B[Mass reconnect attempts]
  B --> C[Handshake CPU: TLS, AMQP negotiation, auth]
  B --> D[FD, socket, and process count climb]
  C --> E[Run queue rises]
  E --> F[Heartbeats delayed]
  F --> G[Existing connections time out]
  G --> B
  D --> H[New connections refused at FD or socket limit]
  E --> I[False partition detection in clusters]

Common causes

CauseWhat it looks likeFirst thing to check
Client crash loop without backoffconnection_created rate sustained high; connection lifetimes of seconds; one peer_host dominatingrabbitmqctl list_connections peer_host and count by source
Broker restart or failoverNear-vertical connection count increase right after the event; all fleets reconnect at onceNode uptime field; correlate with restart or LB failover time
Load balancer failover or health checksChurn from LB addresses; periodic connection cyclingWhether peer_host values are LB IPs; LB health check interval and method
Authentication failure with immediate retryHigh churn plus very short-lived connections; auth errors in the loggrep "login refused" /var/log/rabbitmq/rabbit@<hostname>.log
Deployment of a client fleetExpected churn, bounded in time, resolves on its ownDeployment window correlation; churn should decay
Slow or unreachable auth backend (LDAP, HTTP)New connections hang on auth; connection pileup with healthy-looking brokerAuth backend latency; log timestamps between connect and auth result

Quick checks

All read-only and safe during an incident.

# 1. Connection churn rate (cumulative counters; sample twice, ~30s apart)
curl -s -u guest:guest http://localhost:15672/api/overview | \
  jq '.churn_rates | {connection_created, connection_closed, channel_created, channel_closed}'

# 2. Object totals: connections and channels now vs. baseline
curl -s -u guest:guest http://localhost:15672/api/overview | jq '.object_totals'

# 3. FD, socket, and process headroom
curl -s -u guest:guest http://localhost:15672/api/nodes | \
  jq '.[] | {name, fd_used, fd_total, sockets_used, sockets_total, proc_used, proc_total}'

# 4. Erlang run queue (CPU saturation proxy)
curl -s -u guest:guest http://localhost:15672/api/nodes | jq '.[] | {name, run_queue}'

# 5. Who is connecting: count connections per peer host
rabbitmqctl list_connections peer_host | sort | uniq -c | sort -rn | head -20

# 6. Connection states (blocked/flow are a different problem; here you want churn)
rabbitmqctl list_connections state | sort | uniq -c

# 7. Authentication failures feeding the loop
grep -c "login refused" /var/log/rabbitmq/rabbit@$(hostname).log

# 8. Node uptime: did the broker just restart and trigger a fleet-wide reconnect?
curl -s -u guest:guest http://localhost:15672/api/nodes | \
  jq '.[] | {name, uptime_seconds: (.uptime / 1000)}'

Two caveats. The churn and message-rate fields are cumulative counters; a single reading is meaningless, so take two samples and compute the delta per second. And /api/connections iteration is expensive on nodes with many connections; prefer rabbitmqctl list_connections peer_host over repeated full API dumps during the incident.

How to diagnose it

  1. Confirm churn, not just count. A stable connection count with high connection_created and connection_closed rates means a reconnect loop: connections open and close at equal rates and the totals look fine. A rising count with a high creation rate means a genuine flood or leak. This distinction decides the fix.
  2. Check headroom. From check 3: fd_used / fd_total and sockets_used / sockets_total above 0.8 mean you are near the cliff where new connections get refused. proc_used / proc_total above 0.8 means process-table risk. If all three ratios are comfortable, the storm is expensive but survivable and will likely resolve on its own.
  3. Check scheduler saturation. run_queue is aggregated across all schedulers, so compare it to the total core count. Sustained values above the core count mean every operation, including heartbeats, is delayed. This is the point where the storm starts damaging healthy connections.
  4. Find the source. Group connections by peer_host (check 5). In a reconnect loop, one host or one subnet dominates. If the top peer hosts are load balancer IPs, suspect LB health checks or an LB failover that moved all client traffic at once. If clients set connection names, rabbitmqctl list_connections peer_host user_provided_name identifies the offending application directly.
  5. Check for auth failures. A client with wrong credentials fails fast and retries fast, producing very high churn with very short connection lifetimes. The log pattern login refused at high rate from one source is the signature. Fixing the credential ends the storm.
  6. Rule out the normal cases. Rolling deployments cause bounded churn that decays within the deployment window. A broker restart causes a one-time thundering herd as every client reconnects; churn spikes and then falls. If churn is not decaying and uptime is not recent, you have a loop, not an event.
  7. In clusters, watch for the secondary effect. A saturated run queue delays inter-node heartbeats and can produce false partition detection. If a partition appears during the storm, treat the storm as the cause, not a network fault, until proven otherwise.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
churn_rates.connection_created (rate)Direct measure of the stormSustained rate above 3x rolling baseline
object_totals.connectionsDistinguishes balanced churn from a growing floodNear-vertical rise; or stable count hiding high churn
fd_used / fd_totalCliff edge: connection refusal and queue file failuresRatio above 0.8
sockets_used / sockets_totalSocket limit is typically lower than the FD limit; rejects new connections firstRatio above 0.8
proc_used / proc_totalProcess table exhaustion crashes the nodeRatio above 0.8
run_queueScheduler saturation; heartbeat delay riskSustained above total core count
Connection lifetime (log/API)Separates crash loops (seconds) from stable clientsMedian lifetime in seconds
Auth failure rate (log)Credential-driven retry stormsSustained login refused from one source
mem_usedEach connection and channel costs memoryRising with connection count

Fixes

Stop the offending client

If one peer_host or deployment dominates, the fastest relief is to stop it at the source: scale the crash-looping deployment to zero, or block it at the network layer (firewall, security group, LB rule) while you fix the application. This is disruptive to that client only, and it is what actually ends the loop. Restarting the broker does not help: the clients will reconnect to the restarted node and re-trigger the herd.

Fix authentication failures

If the loop is credential-driven, correct the credential in the client and redeploy. The storm stops as soon as connections start succeeding.

Let a bounded storm burn out

If the trigger was a broker restart or LB failover, FD and socket headroom is comfortable, and churn is decaying, do nothing aggressive. Adding capacity or rate-limiting new connections mid-herd can make recovery slower and harder to reason about. Watch fd_used, sockets_used, and run_queue until they settle.

Raise limits only as headroom, not as the fix

If storms are recurring and legitimate (large fleets, real failover events), raise the OS FD limit and the Erlang process and port limits together; raising one without the others has no effect. This buys capacity for the thundering herd but does nothing for a true reconnect loop, which will consume any limit eventually.

Prevention

  • Client-side backoff with jitter. Every client library reconnect path must use exponential backoff, and retries must be jittered so a fleet does not reconnect in lockstep after a broker restart. A retry loop with fixed sub-second delays is a storm generator. This is the single highest-value fix.
  • Provision FDs for the herd. Size the FD limit for reconnection events, not steady state: expected peak concurrent connections with margin for the post-restart overlap window where old and new connections coexist briefly.
  • Watch LB health checks. Health checks that open test connections add churn continuously. Tune check intervals, prefer lightweight checks, and confirm whether your LB health check completes an AMQP handshake or just opens TCP.
  • Plan rolling restarts. Restart nodes one at a time and let the herd from each node settle before proceeding. Suppress resource alerts for a short warm-up window after each restart so the expected churn does not page anyone.
  • Alert on the churn rate itself. A baseline-relative alert on connection_created rate (sustained above 3x baseline, outside deployment windows) catches loops in minutes instead of at FD exhaustion.
  • Separate connection-count alerts from churn alerts. A stable count with violent churn underneath is the case count-based alerts always miss.

How Netdata helps

  • Netdata collects the RabbitMQ overview counters, including churn_rates.connection_created and connection_closed, and computes per-second rates automatically, so you see the storm as a rate spike rather than having to diff cumulative counters by hand.
  • Per-node fd_used, sockets_used, and proc_used against their limits are charted together, which makes the “which limit hits first” question answerable at a glance during the incident.
  • The Erlang run_queue chart next to connection churn shows the causal link in this failure mode: handshake load driving scheduler saturation.
  • Correlating churn with node uptime on the same dashboard separates a post-restart thundering herd (uptime low, churn decaying) from a true reconnect loop (uptime high, churn sustained), which is the central diagnostic fork in this article.
  • Anomaly detection on the churn rate flags the early phase of a loop, before FD or socket ratios reach alert thresholds.