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 / haproxy / haproxy-tls-handshake-storm

Operations Guides

HAProxy TLS handshake storm: new-connection floods that saturate the event loop

Traffic looks normal at the TCP layer. Connections are arriving, the frontend is accepting them, but latency is climbing, some clients time out before ever sending a request, and backend servers look healthy. When you check show info, Idle_pct is near zero and SslFrontendKeyRate is far above anything you have tested. You are in a TLS handshake storm: HAProxy is burning every CPU cycle on cryptographic handshake work and the event loop has nothing left for the rest of the pipeline.

This failure mode is deceptive because HAProxy does not crash, does not reject connections at the socket level, and does not log a specific error. It simply cannot complete handshakes fast enough. Existing keep-alive connections often continue working while every new connection stalls, which makes the symptom look like an intermittent client-side or network problem.

The signal set is small and well-defined, and one of the most common root causes (a broken or undersized session cache forcing full handshakes for every client) can be fixed without adding any hardware.

What this means

TLS handshakes are the most CPU-intensive operation HAProxy performs. A full handshake with modern key exchange (ECDHE) costs orders of magnitude more CPU than proxying an already-established connection. Session resumption (session IDs or tickets) lets a returning client skip most of that cost. When a flood of new, unique connections arrives, or when resumption silently stops working, every connection pays the full price.

Because HAProxy is event-driven, handshake CPU work competes directly with everything else the loop does: accepting connections, parsing requests, connecting to backends, and forwarding responses. When the loop saturates, the failure propagates in a specific order:

flowchart TD
  A[Surge of new TLS connections] --> B[SslFrontendKeyRate spikes]
  C[Session cache broken or too small] --> B
  B --> D[Event loop CPU saturated: Idle_pct near 0]
  D --> E[accept and backend connects starved]
  E --> F[ctime spikes, kernel accept queue overflows]
  D --> G[New handshakes stall and time out]
  G --> H[req_rate falls, clients retry, more handshakes]
  H --> B

Note the feedback loop: clients whose handshakes time out retry, generating yet more full handshakes. Storms sustain themselves until the incoming rate drops or you restore cheap resumption.

Two caveats before you trust the signals:

  • Busy-polling: if busy-polling is enabled, Idle_pct stays near zero by design and is meaningless. Use show activity run-queue depth or system CPU instead.
  • Reloads: the in-process session cache is invalidated on every reload, so SslFrontendKeyRate spikes briefly after each one. Do not confuse a post-reload warmup with a storm.

Common causes

CauseWhat it looks likeFirst thing to check
Session cache broken or too smallKey rate high relative to session rate, cache hit rate near zero, storm appears without any traffic anomalySslCacheLookups vs SslCacheMisses in show info
Surge of new unique clients (launch, marketing event, failover of clients from another region)Session rate spikes along with key rate; cache hit rate normal but volume exceeds tested capacityFrontend rate and SessRate vs baseline
Renegotiation or handshake-phase DDoSConnRate far above SessRate, many connections that never send a request, source concentration in stick tablesConnRate vs SessRate gap; show sess client distribution
Ticket key rotation or reload invalidating resumptionStorm starts exactly at a reload or deploy; hit rate collapses then recoversCorrelate storm start with reload events; Uptime_sec
Client behavior change (keep-alive disabled, short connections, new client library)Session rate up, request rate flat, reuse ratio (req_rate / rate) drops toward 1Compare req_rate vs rate trend over days
Insufficient threads for the TLS loadOne thread saturated while others idle; total CPU has headroomshow activity per-thread counters

Quick checks

All of these are read-only against the runtime socket.

# 1. Handshake rate and event loop headroom: the two defining signals
echo "show info" | socat unix-connect:/var/run/haproxy.sock stdio | \
  grep -E "^(SslFrontendKeyRate|SslRate|Idle_pct|CurrConns|ConnRate|SessRate):"

# 2. Session cache effectiveness (hit rate = (Lookups - Misses) / Lookups)
echo "show info" | socat unix-connect:/var/run/haproxy.sock stdio | \
  grep -E "^Ssl(Cache|FrontendSessionReuse)"

# 3. Is the loop starving backend connects? (ctime is a rolling 1024-sample average)
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 == "BACKEND" {print $1": ctime="$60"ms rtime="$61"ms"}'

# 4. Are new connections being dropped before HAProxy sees them?
nstat -az | grep -i listen

# 5. Per-thread skew (busy-polling or suspected hot thread)
echo "show activity" | socat unix-connect:/var/run/haproxy.sock stdio

# 6. What is holding sessions? Look for floods of handshaking connections
echo "show sess" | socat unix-connect:/var/run/haproxy.sock stdio | head -50

# 7. Process uptime, to rule out a post-reload cache warmup
echo "show info" | socat unix-connect:/var/run/haproxy.sock stdio | grep -E "^(Uptime_sec|Stopping):"

How to diagnose it

  1. Confirm CPU saturation is real and TLS-driven. Idle_pct below 20% means the loop is under stress; below 5% it is saturated and latency will spike. If busy-polling is on, skip Idle_pct entirely and check show activity run-queue depth. Correlate with SslFrontendKeyRate: if the key rate is at or above your tested per-core capacity, TLS is the consumer.

  2. Check the session cache first. Compute hit rate as (SslCacheLookups - SslCacheMisses) / SslCacheLookups. A low hit rate with high key rate means nearly every connection is paying for a full handshake. SslFrontendSessionReuse_pct tells the same story directly. If resumption is broken, fixing it restores capacity immediately, often without scaling anything.

  3. Rule out the reload artifact. If Uptime_sec is small or you reloaded recently, the in-process cache was just flushed and the key rate spike is warmup, not a storm. Shared ticket keys on disk mitigate this; a purely in-memory cache does not survive a reload.

  4. Characterize the incoming connections. Compare ConnRate with SessRate. A large gap means many connections never become sessions (handshakes abandoned, denials, or pre-accept losses). Check ListenOverflows/ListenDrops via nstat: when the loop is too busy to call accept(), the kernel silently drops SYNs and HAProxy sees nothing. If the gap is large, also inspect show sess for source-IP concentration to distinguish a flash crowd from an attack.

  5. Confirm the blast radius on existing traffic. Check backend ctime (spikes when the loop cannot service backend connects in time), req_rate (falling means successful traffic is degrading), and frontend 5xx. If rtime is normal and backends are healthy, the problem is entirely on the frontend TLS path, which is the signature of this pattern.

  6. Check for thread skew with nbthread > 1. Idle_pct is an average across threads. show activity reveals whether one thread is doing most of the handshake work while others idle, which changes the fix (distribution problem, not capacity problem).

  7. Decide: cache fix, rate shedding, or capacity. If hit rate is broken, fix resumption. If resumption is healthy and volume genuinely exceeds capacity, shed load or scale.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
SslFrontendKeyRate (show info)The defining metric: full handshakes per second, the dominant CPU costSustained above tested capacity, or high relative to SessRate
Idle_pct (show info)Event loop headroom specific to HAProxyBelow 20% stressed, below 5% saturated (invalid with busy-polling)
SslCacheLookups / SslCacheMisses (show info)Session resumption effectiveness; hit rate must be computed, there is no SslCacheHits fieldHit rate below ~50% under load
SslFrontendSessionReuse_pct (show info)Direct readout of resumption percentageDeclining trend, or collapse after a reload or config change
ConnRate vs SessRate (show info)Gap indicates connections lost or abandoned before session establishmentWidening gap during the storm
Backend ctime (CSV)Loop starvation leaks into backend connect latencySudden nonzero or rising ctime with healthy network
ListenOverflows / ListenDrops (kernel)SYNs dropped before HAProxy ever sees themIncrementing during connection bursts
req_rate (CSV, frontend)Confirms real user impact vs. a CPU-only phenomenonFalling while connection arrivals stay high
show activity run-queueSaturation signal that stays valid under busy-polling and reveals per-thread skewRun-queue rising, or one thread dominating

Fixes

Restore session resumption

If the cache hit rate is the problem, this is the highest-leverage fix and requires no new capacity.

  • Check tune.ssl.cachesize. If it is set too small, entries are evicted before clients return and every connection does a full handshake. Setting it to 0 disables the cache entirely, which guarantees this failure mode under new-connection load. The default value is 20000 entries unless overridden at build time.
  • Check tune.ssl.lifetime. A very short session lifetime invalidates entries before clients can reuse them.
  • Survive reloads. The in-process cache flushes on every reload. Storing ticket keys on disk (shared across processes) lets the new process honor tickets issued by the old one and avoids a full-handshake warmup spike after every config change.
  • Know the TLS 1.3 caveat. no-tls-tickets only affects TLS 1.2 and below; TLS 1.3 sends tickets regardless. Do not assume ticket suppression where it does not apply.
  • Be aware of version-specific resumption bugs. Session ID or ticket resumption has had version-specific regressions in the TLS code across HAProxy releases; if SslFrontendSessionReuse_pct collapses with no config change, check the changelog for your exact HAProxy and TLS library version.

Shed or cap the incoming load

When resumption is healthy and the volume itself exceeds capacity:

  • Rate-limit new SSL sessions. HAProxy supports a global SSL session rate limit (maxsslrate): SSL listeners stop accepting new connections when the limit is reached, which protects the loop for already-established sessions. This trades new-client failures for existing-client survival, which is usually the right trade during a storm.
  • Block abusive sources. If show sess or stick tables show source concentration, per-IP conn_rate limits via a stick table cut off handshake floods at the source. Watch table utilization: a full table silently stops tracking new sources.
  • Terminate TLS further upstream. CDN or cloud-LB termination absorbs geographically distributed handshake CPU before it reaches your HAProxy tier. This is an architecture change, not an incident fix, but it is the standard answer for recurring storms.

Add CPU capacity or fix distribution

  • Scale horizontally. More HAProxy instances behind the upstream LB is the cleanest capacity add; handshake cost scales with new-connection rate, not with total connections.
  • Use threads, not processes. If you are on a legacy nbproc deployment, modern guidance is nbthread with a single process. There are production reports of TLS performance regressions when migrating from multi-process to multi-threaded setups with very high thread counts, so load-test the target topology before relying on it during a storm.
  • Fix hot-thread skew. If show activity shows one thread doing most accepts, SO_REUSEPORT on listeners helps distribute new connections across threads.

What not to do first

Do not restart HAProxy. A restart (or reload) flushes the session cache and forces every connected client into a fresh full handshake, which makes the storm strictly worse. If the loop is saturated, a reload also risks losing visibility right when you need it.

Prevention

  • Load-test handshake capacity, not just throughput. Establish your measured SslFrontendKeyRate ceiling per core and alert when sustained rates approach it. Throughput tests with reused connections hide TLS costs completely.
  • Alert on the composite, not a single metric. Key rate above baseline AND (Idle_pct < 5% OR rising run-queue under busy-polling) AND degrading req_rate, persisting more than 2 minutes, with an Uptime_sec > 600 gate to suppress post-reload warmup.
  • Trend the cache hit rate. A gradual decline in SslFrontendSessionReuse_pct is a silent capacity leak. By the time Idle_pct drops, the margin is already gone.
  • Handle counter resets. All these counters reset on reload. Use Uptime_sec to gate rate alerts so a reload does not produce phantom drops or spikes.
  • Practice the reload path. Frequent reloads (dynamic service discovery) mean frequent cache flushes. If your deploy pipeline reloads HAProxy often, shared on-disk ticket keys are mandatory, not optional.

How Netdata helps

  • Netdata collects the HAProxy show info and stats CSV signals that define this pattern: SslFrontendKeyRate, Idle_pct, session rates, and per-backend ctime, at per-second granularity, so the storm onset and the feedback loop are visible as they develop.
  • Correlating key rate against Idle_pct on one dashboard separates TLS CPU saturation from connection-count saturation (scur/slim), which need different fixes.
  • Cache hit rate derived from SslCacheLookups/SslCacheMisses alongside the key rate shows instantly whether you are in a “fix resumption” incident or an “add capacity” incident.
  • Reload detection via Uptime_sec resets lets you distinguish a post-reload cache warmup spike from a genuine external storm.
  • Per-backend ctime trending next to frontend TLS metrics confirms when loop starvation starts leaking into backend connectivity.
  • Historical retention lets you baseline your tested handshake ceiling and alert on approach, before clients feel it.
The Netdata solution

HAProxy load balancer monitoring with Netdata

Netdata monitors HAProxy with per-second frontend, backend, and queue metrics plus ML-powered anomaly detection. Correlate maxconn saturation, queue buildup, health-check cascades, 5xx attribution, and file-descriptor exhaustion against the backend and host signals behind them, so you catch the incidents in these runbooks before they page anyone.