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

Operations Guides

ActiveMQ reconnection storm: transport accept spikes and CPU on handshakes

The broker is up. Queues are draining. But the accept rate on the OpenWire connector is running at ten times baseline, JVM thread count and open file descriptors are climbing in a sawtooth, and CPU is pinned even though message throughput is flat or down. Clients are connecting, disconnecting, and reconnecting in a tight loop, and every one of those connections costs the broker real work: a TCP accept, an optional TLS handshake, wire-format negotiation, and a new transport thread.

This is a reconnection storm. Connection setup is one of the most expensive things ActiveMQ Classic does per unit of useful work, and the broker has essentially no built-in defense against a client that reconnects aggressively. A single misbehaving application can degrade the broker for every other client.

The storm is highly visible once you know which signals to look at, and transport thread names carry the remote peer IP, so finding the noisy client is usually a five-minute job.

What this means

Under normal operation, client connections to ActiveMQ are long-lived. A JMS connection is established once and held for hours or days, so the accept rate on each transport connector hovers near zero most of the time. The working rule of thumb: a sustained accept rate more than 5x baseline is a reconnection storm; zero accepts for more than 30 seconds while the broker is up is a different problem (a hung connector).

During a storm, the connection count often looks deceptively normal. Fifty clients reconnecting every second still shows “about 50 connections” at any instant. What actually moves is the churn: accept rate, thread creation, FD allocation, and CPU spent on handshakes and wire-format negotiation. If TLS is in play, the CPU cost per connection is much higher, because every reconnect pays for a full handshake.

Storms have four common triggers, and they look different:

  1. A client crash loop with no backoff. The application connects, hits an error (auth failure, client ID conflict, a bug in its own startup), exits or resets the connection, and retries immediately.
  2. A load balancer failover or network flap that drops all client connections at once. Every client reconnects simultaneously.
  3. A deployment. Rolling restarts of a large consumer fleet produce a synchronized reconnect wave.
  4. The GC pause death spiral. A long GC pause exceeds wireFormat.maxInactivityDuration (default 30000 ms), clients time out en masse, reconnect simultaneously, and the reconnection load increases heap pressure, which lengthens the next GC pause. This variant is self-sustaining and is covered in depth in ActiveMQ GC pause death spiral.
flowchart TD
  A[Trigger: crash loop, LB failover, deploy, GC pause] --> B[Clients disconnect en masse]
  B --> C[All clients reconnect immediately, no backoff]
  C --> D[Accept rate spikes over 5x baseline]
  D --> E[CPU burns on TCP/TLS handshake and wire-format negotiation]
  D --> F[Transport threads and FDs climb]
  E --> G[Message dispatch slows for healthy clients]
  F --> G
  G --> H{Broker resource pressure}
  H -->|heap or GC pressure| I[Longer GC pauses trigger more timeouts]
  I --> B

Common causes

CauseWhat it looks likeFirst thing to check
Client crash loop without backoffVery high accept rate from one or a few peer IPs; connections live for secondsThread dump or connection list: which remote IPs dominate?
Older Spring JMS reconnection behaviorSteady aggressive reconnect loop from app servers; no exponential delay between attemptsClient library and connection factory configuration on the offending host
LB failover or network flapOne sharp drop in connection count, then a synchronized reconnect wave across many IPsConnection count timeline: did all clients drop at the same second?
Deployment / rolling restartReconnect wave aligned with deploy window; subsides on its ownCorrelate accept spike with deploy timestamps
GC pause death spiralSawtooth connection count; each drop lines up with a long GC pauseGC logs and java.lang:type=GarbageCollector collection times
Broker-side disconnect (InactivityIOException)Clients cycling after “Channel was inactive for too long” in broker logsBroker log for inactivity timeouts; see the related guide

Quick checks

All of these are read-only. Paths and ports assume the common defaults (OpenWire on 61616, Jolokia on 8161); adjust for your install.

# 1. Count established connections on the OpenWire port
ss -tn state established '( dport = :61616 or sport = :61616 )' | wc -l

# 2. Sample inbound connection setup a few times over 30-60s during the storm
ss -tn state syn-recv '( sport = :61616 )' | wc -l

# 3. Current connection count via JMX/Jolokia
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/org.apache.activemq:type=Broker,brokerName=localhost/CurrentConnectionsCount'

# 4. JVM thread count
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/java.lang:type=Threading/ThreadCount'

# 5. Open file descriptors vs limit
BROKER_PID=$(pgrep -f activemq)
echo "Open: $(ls /proc/$BROKER_PID/fd | wc -l)"
grep 'Max open files' /proc/$BROKER_PID/limits

# 6. Broker CPU
curl -s -u admin:admin \
  'http://localhost:8161/api/jolokia/read/java.lang:type=OperatingSystem/ProcessCpuLoad'

# 7. Who is connecting? Per-IP view of established connections (peer address column)
ss -tn state established '( sport = :61616 )' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -rn | head

# 8. Check for recent GC activity correlating with disconnects
jstat -gcutil $BROKER_PID 1000 10

A note on check 2: sport matches the broker-side local port, which is what you want for inbound client connections. During a real storm you will see a continuous stream of short-lived connections. If syn-recv stays empty but the established count churns, the loop is connect-then-disconnect at the application layer rather than a TCP-level flood, which points at client logic, not network.

How to diagnose it

  1. Confirm the storm, not just high connection count. Take two readings of accept-side activity 60 seconds apart (checks 1-3 above, plus TotalConnectionsCount deltas if exposed in your version). A stable connection count with high churn is the signature. Most teams monitor connection count but not connection create/destroy rate, which is exactly the blind spot a storm exploits.

  2. Identify the noisy peer. Capture a thread dump while the storm is running:

    # Capture three thread dumps 5s apart
    BROKER_PID=$(pgrep -f activemq)
    for i in 1 2 3; do jstack $BROKER_PID > /tmp/amq-threads-$i.txt; sleep 5; done
    grep -h 'ActiveMQ Transport' /tmp/amq-threads-*.txt | sort | uniq -c | sort -rn | head
    

    Transport thread names carry the remote peer address, so the IP dominating the dump is your noisy client. If one or two IPs account for most transport threads, you have a point problem. If the churn is spread evenly across your whole fleet, you have a systemic trigger (deploy, LB, GC).

  3. Classify the trigger. Line the accept-rate timeline up against deploy events, load balancer failover events, and GC pause timestamps. A storm that starts exactly at a full-GC pause and repeats on each subsequent pause is the death spiral variant, and fixing clients will not end it; you have to fix the heap pressure. A storm that starts when one application instance boots is a client bug.

  4. Check what the client is failing on. Look in the broker log for the reason connections drop: authentication failures, InvalidClientIDException (duplicate client ID, a classic cause of two instances fighting over one durable identity and bouncing each other), or InactivityIOException. The log line tells you whether the client is being kicked or is leaving on its own.

  5. Check the damage to broker resources. Compare thread count, FD usage, and CPU against your baselines. If FD usage is above 70% of the limit, the storm is approaching a hard failure where the broker starts rejecting connections for everyone, including healthy clients.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Transport accept rate (per connector)The storm detector itself; near zero at steady stateSustained rate >5x baseline
Connection create/destroy rateCatches churn that absolute connection count hidesHigh churn with stable connection count
CurrentConnectionsCountSawtooth pattern = GC-driven or flap-driven cyclingSudden synchronized drops followed by spikes
JVM ThreadCountOne transport thread per connection on the default TCP transport>2x baseline, or climbing faster than connections
OpenFileDescriptorCount vs MaxFileDescriptorCountEach connection is an FD; exhaustion rejects all new clients>70% of limit, or growth without message traffic
Broker ProcessCpuLoadHandshakes (especially TLS) and wire-format negotiation burn CPUHigh CPU with flat or falling enqueue/dequeue rates
GC pause duration/frequencyBoth a cause (death spiral) and an amplifierPauses approaching 30s, or rising after each storm wave
Broker log: auth failures, InvalidClientIDException, InactivityIOExceptionTells you why clients are being disconnectedRepeating disconnect reason from the same client IDs

Fixes

Fix the client backoff (the real fix)

The broker cannot fix this; the loop lives in the client. For clients using the failover transport, verify the reconnect parameters. The failover transport supports exponential backoff (useExponentialBackOff, on by default in current versions), initialReconnectDelay (default 10 ms), maxReconnectDelay (default 30000 ms), and reconnectDelayExponent (default 2.0). With defaults, repeated failures do back off, but only up to 30 seconds between attempts, and maxReconnectAttempts defaults to retrying forever, so a permanently failing client retries indefinitely.

These defaults are the current failover transport reference values: useExponentialBackOff true, initialReconnectDelay 10 ms, maxReconnectDelay 30000 ms, reconnectDelayExponent 2.0, and maxReconnectAttempts -1 (retry forever; before 5.6 the retry-forever value was 0, so the option’s semantics changed at 5.6).

The trap: a client that fails during connection setup (auth failure, client ID conflict) may not be governed by the failover transport’s reconnect backoff at all, depending on the client stack. Some older Spring JMS versions reconnect aggressively with no backoff. If the offending client is Spring-based, check how the connection factory and listener container handle connection loss, and make sure reconnect attempts are delayed and capped. Also check for duplicate client IDs across instances: two instances with the same client ID will kick each other off the broker in an infinite loop.

Stop the bleeding at the broker

  • Throttle at the edge. If the noisy client is identifiable by IP and not business-critical, block it at the firewall or security group while you fix it. This is blunt but immediately restores capacity for healthy clients.
  • Enforce connection limits. The TCP transport connector supports maximumConnections to cap concurrent connections per connector (commonly 1000 in the Apache distribution default config). This protects the broker from unbounded connection growth, but it is a concurrent-connection cap, not a rate limit, so it will not slow a churn loop by itself. The Apache distribution’s default activemq.xml sets maximumConnections=1000 on each transport connector; when the option is unset the TCP transport itself imposes no cap.
  • Raise FD limits if you are close. If the storm is pushing FD usage toward the limit, the correct ceiling for a production broker is at least 65536, not the default 1024. This buys headroom but does not fix the loop.
  • Switch to NIO transport for high connection counts. The default tcp:// connector creates one transport thread per connection; nio:// uses a shared pool, decoupling thread count from connection count. This makes the broker far more tolerant of churn. It is a connector config change requiring a broker restart, so plan it.

If the trigger is the GC death spiral

Client-side fixes will not help because the disconnects are broker-induced. Follow the GC pause death spiral guide: reduce connection load where possible, address heap pressure, tune GC, and only then expect the reconnect waves to stop.

What not to do

Do not restart the broker as a first response. If the storm is client-driven, the reconnect wave will hit the broker the moment it comes back, now compounded with KahaDB recovery. Restart only if broker-side resources (threads, FDs, heap) are already exhausted and the broker is unresponsive, and only after you have identified and throttled the noisy client.

Prevention

  • Baseline accept rate and churn, not just connection count. Alert on sustained accept rate >5x baseline. This catches storms in the first minute instead of the first hour.
  • Make backoff mandatory in client standards. Any client template or shared library your teams use should set bounded reconnect attempts with exponential backoff and a sane maxReconnectDelay. Failover send timeouts (the timeout option) prevent producers from blocking forever during broker outages, which reduces panic-restart behavior upstream.
  • Unique client IDs per instance. Generate client IDs from hostname plus instance ID so two instances can never fight over one identity.
  • Stagger deploys. Rolling restarts of consumer fleets should be batched so the reconnect wave is spread over minutes, not seconds.
  • Size for churn, not just steady state. FD limits at 65536+, NIO transport where connection counts are high, and thread headroom above the 2x-baseline alert threshold.
  • Fix the GC root causes. A broker that never pauses for 30 seconds never triggers the death spiral variant.

How Netdata helps

  • Accept rate vs connection count, together. Netdata’s per-second collection makes the churn visible: you see the accept rate spike and the sawtooth in connections that per-minute polling smooths away.
  • Correlation across the failure chain. Thread count, FD usage, CPU, and JVM GC metrics are on the same dashboard as broker JMX metrics, so the jump from “accept spike” to “GC-driven or client-driven” is one glance instead of three tools.
  • Per-IP and per-process context. System-level socket and process metrics help confirm which remote peers and which local resources (threads, FDs) the storm is consuming.
  • ML anomaly detection on churn metrics. Accept rate and thread count have strong baselines; anomaly flags on these fire on the first wave of a storm rather than after a sustained threshold breach.
  • GC pause timelines. Overlaying JVM GC collection time with connection drops confirms or rules out the death spiral variant in seconds.