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 / mysql / mysql-aborted-connections

Operations Guides

MySQL Aborted Connections: Causes And Fixes

You notice Aborted_connects or Aborted_clients climbing on a production MySQL instance. Because these are cumulative counters, a steady upward slope means something is actively failing or dropping connections. In a busy system, a rising Aborted_connects rate can trigger host blocking via max_connect_errors, suddenly preventing legitimate clients from connecting. A rising Aborted_clients rate usually shows up as application-side exceptions about closed connections, forcing retries that can cascade into connection exhaustion. The two counters track completely different failure modes: Aborted_connects counts connection attempts that never finished authentication; Aborted_clients counts connections that authenticated but then died unexpectedly. Treating them as the same metric leads to wrong fixes. Restarting the network stack will not fix a credential rotation bug, and increasing max_connections will not fix a client killed by wait_timeout.

The counters are usually quiet. A burst correlates with deployments, credential changes, firewall changes, or new monitoring scripts. Move from “the counter is high” to “the counter is rising at an abnormal rate,” then isolate the client or network path.

What this means

MySQL tracks connection failures with two global status counters. Aborted_connects increments when a client initiates a TCP connection but the handshake or authentication does not complete. Causes include bad passwords, SSL handshake failures, connect_timeout expiration, or a host blocked after max_connect_errors consecutive failures. Aborted_clients increments when a client successfully connects but then disconnects without closing the connection properly. Causes include network drops, client application crashes, wait_timeout or interactive_timeout killing an idle connection the client still expects to use, or a query exceeding max_allowed_packet and causing the server to drop the connection.

Both counters are cumulative since server start. Alert on the rate of change, not the absolute value. A common heuristic is to flag when the rate exceeds three times the one-hour rolling baseline. The server also writes [Note] Aborted connection N to db: '...' user: '...' to the error log when log_error_verbosity is set to 3 or higher, giving per-connection detail that aggregate counters lack. Paging on a static cumulative threshold is a mistake: a server up for a year can show a high total with a perfectly healthy current rate.

flowchart TD
    A[Aborted counters climbing] --> B{Which counter rises?}
    B -->|Aborted_connects| C[Check error log for Access denied]
    B -->|Aborted_clients| D[Check error log for Aborted connection]
    C --> E[Query performance_schema.host_cache]
    D --> F[Check wait_timeout and max_allowed_packet]
    E --> G{Host blocked?} -->|Yes| H[TRUNCATE TABLE performance_schema.host_cache]
    F --> I{Network drops?} -->|Yes| J[Review OS network stats]

Common causes

CauseWhat it looks likeFirst thing to check
Brute force or credential rotationAborted_connects spikes; error log shows “Access denied”performance_schema.host_cache for per-source IP errors
Host blocked by max_connect_errorsAborted_connects rises; one IP dominates; legitimate clients from same NAT rejectedperformance_schema.host_cache BLOCKED flag
Client timeout mismatchAborted_clients rises steadily; pool errors about stale connectionswait_timeout vs. application connection pool idle timeout
max_allowed_packet exceededAborted_clients spikes during large queries or bulk loadsmax_allowed_packet on server and client
Network instabilityBoth counters may rise; errors correlate with deployment or infrastructure changeError log for Aborted connection notes; client-side TCP retransmits
Misconfigured health checkAborted_connects baseline noise; load balancer IP in host_cacheHealth check endpoint auth configuration

Quick checks

-- Check current counter values and rates
SHOW GLOBAL STATUS LIKE 'Aborted%';
SHOW GLOBAL STATUS LIKE 'Connection_errors%';
-- Check per-host connection errors and blocked hosts
SELECT IP, HOST, SUM_CONNECT_ERRORS, COUNT_PROXY_USER_ERRORS,
       FIRST_ERROR_SEEN, LAST_ERROR_SEEN
FROM performance_schema.host_cache
WHERE SUM_CONNECT_ERRORS > 0
ORDER BY SUM_CONNECT_ERRORS DESC;
-- Check server timeout and packet settings
SHOW GLOBAL VARIABLES LIKE 'connect_timeout';
SHOW GLOBAL VARIABLES LIKE 'wait_timeout';
SHOW GLOBAL VARIABLES LIKE 'interactive_timeout';
SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet';
# Check error log for recent aborted connection notes
grep -E "Aborted connection|Access denied" /var/log/mysql/error.log | tail -n 20
-- Check if any host is currently blocked
SELECT IP, HOST, SUM_CONNECT_ERRORS
FROM performance_schema.host_cache
WHERE SUM_CONNECT_ERRORS >= @@global.max_connect_errors;
-- Check current connection load against the limit
SHOW GLOBAL STATUS LIKE 'Threads_connected';
SHOW GLOBAL STATUS LIKE 'Threads_running';
SHOW GLOBAL STATUS LIKE 'Max_used_connections';
SHOW GLOBAL VARIABLES LIKE 'max_connections';

How to diagnose it

  1. Determine which counter is rising. Run SHOW GLOBAL STATUS LIKE 'Aborted%'; twice, 60 seconds apart. If Aborted_connects is increasing, the problem is in the handshake or authentication layer. If Aborted_clients is increasing, the problem is post-authentication disconnection.

  2. Read the error log. Look for [Note] Aborted connection lines, which indicate Aborted_clients, or Access denied for user lines, which indicate Aborted_connects. Note the source IP, user, and database.

  3. For Aborted_connects, query performance_schema.host_cache. High SUM_CONNECT_ERRORS from a single IP suggests a misconfigured client or an attack. If SUM_CONNECT_ERRORS meets or exceeds max_connect_errors, that host is blocked. In MySQL 8.0.23 and later, FLUSH HOSTS is deprecated; use TRUNCATE TABLE performance_schema.host_cache; to reset error counts and unblock hosts. This requires the DROP privilege.

  4. For Aborted_clients, compare wait_timeout and interactive_timeout against the application’s connection pool idle timeout. If MySQL kills idle connections faster than the pool recycles them, the pool will attempt to use dead connections and Aborted_clients will climb. Also check if large queries or bulk loads correlate with spikes. If so, verify that client and server max_allowed_packet values match and are large enough for the payload.

  5. Check Connection_errors_* counters. Connection_errors_max_connections indicates you are hitting the connection limit, which can cause aborts as clients retry. Connection_errors_accept may indicate OS-level network issues.

  6. Correlate with application deployments or infrastructure changes. A sudden step change after a release often points to a new connection string, a rotated password not deployed everywhere, or a changed load balancer health check.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Aborted_connects rateFailed handshakes waste CPU and can lock out legitimate clientsRate >3x rolling baseline sustained for 5 minutes
Aborted_clients rateDropped connections force application retries and inflate connection churnRate >3x rolling baseline sustained for 5 minutes
performance_schema.host_cache blocked countHosts blocked by max_connect_errors reject all new connections from that IPAny nonzero blocked host count
Connection_errors_max_connections rateConfirms connection exhaustion is contributing to abortsAny nonzero sustained rate
wait_timeout vs pool idle timeoutMismatches cause the server to kill connections the client still claimsClient errors about closed connections
max_allowed_packet server vs clientPacket size mismatch drops connections mid-queryAborted_clients spikes during large writes

Fixes

Authentication failures and blocked hosts

If performance_schema.host_cache shows a host blocked by max_connect_errors, reset the cache with TRUNCATE TABLE performance_schema.host_cache;. Then fix the underlying client. Do not simply raise max_connect_errors; that only delays lockout and makes brute-force attacks easier. If the source is a misconfigured health check, add credentials or switch to a TCP-only probe that does not initiate the MySQL handshake. If it is a credential rotation issue, identify the application instance with stale credentials and update it. On MySQL 8.4 or later, FLUSH HOSTS is invalid; the only supported reset is TRUNCATE TABLE performance_schema.host_cache;, which requires the DROP privilege on that table.

Tradeoff: TRUNCATE TABLE performance_schema.host_cache; unblocks all hosts immediately, but it also clears the error history, so you lose the forensic trail. Kill the offending client first if possible.

Client timeouts and connection pool churn

When Aborted_clients rises because wait_timeout is shorter than the connection pool’s idle timeout, align the two values. Either increase wait_timeout (risk: more idle connections consuming memory and leaving less headroom under max_connections) or decrease the pool’s idle timeout (risk: more connection setup overhead and thread cache thrashing). For connection pools that validate connections on checkout, enable a validation query like SELECT 1 so the pool discards stale connections before handing them to the application.

Tradeoff: Lower pool idle timeout reduces aborts but increases thread creation overhead. Ensure thread_cache_size is adequate if you reduce pool idle timeouts across many clients. In extreme cases, consider a connection pooler such as ProxySQL to absorb churn at the middleware layer rather than the server layer.

max_allowed_packet violations

If large queries or bulk loads are dropping, verify server and client max_allowed_packet. The mysql client uses --max_allowed_packet, and application connectors have equivalents. The server default is typically 64MB, but clients often default lower. Raise both to a matching value that accommodates your largest legitimate query. If only one side is raised, the other side will still abort the connection.

Tradeoff: Larger packet size allows bigger queries but increases memory usage per connection. Do not raise it indiscriminately without capping query size in the application. An application that sends 500MB queries should be fixed, not accommodated.

Network instability

If packet captures or infrastructure monitoring show retransmits, drops, or duplex mismatches, fix the network path. For Linux, check Ethernet duplex settings; a full/half duplex mismatch produces burst-pause patterns that manifest as intermittent MySQL disconnects. This is a documented edge case in the MySQL manual. If the instability is transient, you can mitigate by increasing net_read_timeout and net_write_timeout, but this only masks the problem.

Tradeoff: Network fixes are outside MySQL but are the only durable solution. Temporary timeout increases reduce aborts at the cost of longer hangs for legitimate queries when the network is degraded.

Prevention

Monitor the rate of both counters, not cumulative absolute values. Alert on a 3x deviation from a one-hour rolling baseline. Monitor performance_schema.host_cache to detect a host approaching max_connect_errors before it is blocked. Align application connection pool idle timeouts with MySQL wait_timeout; a mismatch of even a few seconds can produce a steady stream of aborted clients. Audit health checks and monitoring scripts to ensure they either authenticate correctly or use a TCP-only probe that does not increment Aborted_connects. After credential rotation, watch Aborted_connects for 15 minutes to catch missed instances. If you run MySQL Router, note that versions prior to 9.2 may generate significant connection churn due to frequent metadata cache reconnections. Upgrading to Router 9.2 or later defaults to persistent connections and will reduce baseline noise. Finally, ensure your error log is actively collected and rotated; aborted connection notes are often the fastest way to identify the user and host responsible for a spike.

How Netdata helps

  • Netdata surfaces Aborted_connects and Aborted_clients as time-series rates, so you see spikes without manual sampling.
  • The MySQL collector exposes Connection_errors_max_connections and other Connection_errors_* counters alongside the aborted counters, letting you correlate handshake failures with specific error conditions.
  • Per-second resolution lets you correlate a counter spike with an application deployment or credential rotation event.
  • Alerts can trigger on rate-of-change thresholds, such as 3x baseline, rather than static cumulative values, reducing false positives after server restarts.
The Netdata solution

MySQL monitoring with Netdata

Netdata monitors MySQL and MariaDB with per-second metrics and ML anomaly detection. Track connection usage, query throughput, slow queries, redo-log pressure, and replication lag alongside the host and storage signals that explain them.