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-too-many-connections

Operations Guides

MySQL ERROR 1040 (HY000): Too many connections - causes and fixes

Once Threads_connected reaches max_connections, MySQL returns ERROR 1040 (HY000) to every new connection attempt before authentication. The server is not down; it is full.

This error is usually a symptom. Connections may be leaking from the application, a cache stampede may have flooded the pool, or slow queries may be holding slots open longer than expected. MySQL reserves one extra connection for users with CONNECTION_ADMIN (or the deprecated SUPER privilege). If that slot is free, an operator can still connect. If an app user has taken it, you may need to restart.

Distinguishing a connection leak from genuine overload is the first decision. High Threads_connected with low Threads_running means idle connections are piling up. High Threads_connected with high Threads_running means active queries are stacking up because they cannot finish. The fix depends on the pattern.

flowchart TD
    A[ERROR 1040 received] --> B{Threads_running low?}
    B -->|Yes| C[Idle connection leak]
    B -->|No| D{Threads_running high?}
    D -->|Yes| E[Active overload or lock cascade]
    D -->|No| F[Transient connection storm]

What this means

MySQL limits concurrent connections with the max_connections system variable. The status variable Connection_errors_max_connections increments for each refusal.

Even at the limit, mysqld permits max_connections + 1 connections. The extra slot is reserved for accounts holding CONNECTION_ADMIN (or the deprecated SUPER privilege). Do not grant this privilege to application users. Each connection consumes memory for thread stack, sort buffers, join buffers, and net buffers. Raising max_connections without adding RAM trades refusals for OOM risk.

Common causes

CauseWhat it looks likeFirst thing to check
Connection leakThreads_connected near limit, Threads_running low, many Sleep states in SHOW PROCESSLISTSHOW PROCESSLIST for connections with high Time in Sleep
Connection pool oversizingSudden spike after deployment; pool max multiplied by instance count exceeds max_connectionsApplication pool configuration against SHOW VARIABLES LIKE 'max_connections'
Slow query or lock cascadeThreads_running high; queries stuck in active statesSHOW PROCESSLIST for long-running active queries; INNODB_TRX for old transactions
Idle connection accumulationMany Sleep connections with high Time values; wait_timeout set too highSHOW VARIABLES LIKE 'wait_timeout' and processlist Time values
Application retry stormBrief spike in Connection_errors_max_connections and Aborted_connectsApplication logs for retry loops after a transient error

Quick checks

-- Check connection saturation ratio
SELECT
  (SELECT VARIABLE_VALUE FROM performance_schema.global_status WHERE VARIABLE_NAME = 'Threads_connected') AS connected,
  (SELECT VARIABLE_VALUE FROM performance_schema.global_variables WHERE VARIABLE_NAME = 'max_connections') AS max_conn;

-- Check active execution concurrency
SHOW GLOBAL STATUS LIKE 'Threads_running';

-- Check if connections are being refused
SHOW GLOBAL STATUS LIKE 'Connection_errors_max_connections';

-- See current connections and states
SHOW PROCESSLIST;

-- Find long-running transactions
SELECT trx_mysql_thread_id, trx_started,
       TIMESTAMPDIFF(SECOND, trx_started, NOW()) AS age_seconds
FROM information_schema.INNODB_TRX
ORDER BY trx_started ASC;

-- Check high-water mark since restart
SHOW GLOBAL STATUS LIKE 'Max_used_connections';

How to diagnose it

  1. Confirm saturation. If Threads_connected / max_connections is greater than 0.95 and Connection_errors_max_connections is increasing, the server is actively refusing connections.
  2. Classify the pattern. If Threads_running is a small fraction of Threads_connected, you have an idle connection leak. If both are high, active work is piling up.
  3. Inspect SHOW PROCESSLIST. Many Sleep entries with high Time point to leaked or idle connections. Active queries with high Time point to slow execution or blocking.
  4. Check for lock contention. Query information_schema.INNODB_TRX and performance_schema.data_lock_waits (MySQL 8.0+) to find blocking transactions. A metadata lock cascade from pending DDL can also fill the pool; check performance_schema.metadata_locks if available.
  5. Correlate with changes. Look for recent deployments that changed pool sizes, upstream cache clears that caused stampedes, or new batch jobs.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Threads_connected / max_connectionsMeasures slot saturationGreater than 0.80 sustained; page at greater than 0.95
Connection_errors_max_connectionsCounts direct refusalsAny nonzero rate in production
Threads_runningDistinguishes leak from overloadLow with high Threads_connected indicates leak; high indicates overload
Max_used_connectionsHistorical peak for capacity planningGreater than 0.70 of max_connections trending upward
Aborted_connectsPrecursor or companion to saturationRate increasing suddenly

Fixes

Idle connection leak or excessive Sleep states

Lower wait_timeout to close idle connections faster. This is dynamic but applies only to new sessions:

SET GLOBAL wait_timeout = 300;

Existing idle connections retain the old session value and may not close immediately. Kill them to free slots now:

KILL <id>;

Warning: This terminates the session and rolls back any open transaction.

Tradeoff: Applications that rely on long-lived idle connections may see errors when reusing a dead connection. Fix the application to close connections or validate them on checkout.

Slow queries or lock cascades

Kill the offending query or transaction:

KILL <id>;

Warning: Rolling back a large transaction can be expensive and I/O intensive. If a metadata lock cascade is the cause, killing the blocking transaction or pending DDL unblocks the queue.

Connection pool oversizing

Reduce the per-application-instance pool maximum. Ensure that (pool_max_size * application_instances) stays well below max_connections, leaving at least 20% headroom for spikes and admin access. Aggregate pool limits if many services share one MySQL instance. Connection poolers such as ProxySQL can multiplex many client connections into fewer server connections.

Emergency: temporarily raise the limit

If you need immediate breathing room and have the memory:

SET GLOBAL max_connections = <new_higher_value>;

Warning: You need SYSTEM_VARIABLES_ADMIN (or SUPER) to change this. The change is lost on restart; update my.cnf to persist it. Each connection uses memory. Raising the limit without raising RAM risks OOM.

Prevention

  • Size pools with headroom. Aggregate all application pool maxima and keep the total under 80% of max_connections.
  • Set wait_timeout appropriately. The default of 8 hours retains idle connections indefinitely for many workloads. For stateless apps, 300-600 seconds is usually sufficient.
  • Reserve the admin slot. Never grant CONNECTION_ADMIN or SUPER to application users. Audit grants regularly.
  • Monitor the ratio, not the absolute count. Alert on Threads_connected / max_connections greater than 0.80 and on any Connection_errors_max_connections increment.
  • Audit long transactions. Connections with open transactions hold metadata locks and prevent purge. Monitor INNODB_TRX for transactions older than a few minutes.

How Netdata helps

Netdata correlates Threads_connected, Threads_running, and Connection_errors_max_connections on one chart to reveal whether the issue is a leak or overload. It alerts on connection saturation ratio and refusal rate without manual status queries. It tracks Max_used_connections trends to expose capacity planning issues before the cliff. InnoDB transaction age and lock wait metrics appear alongside connection data to speed root-cause analysis.

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.