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-crash-recovery-slow-startup

Operations Guides

MySQL stuck in InnoDB crash recovery: why startup hangs after an unclean shutdown

After an unclean shutdown, mysqld may look healthy: the process is running, port 3306 accepts connections, and SHOW GLOBAL STATUS LIKE 'Uptime' counts up. Yet applications time out, SELECT 1 hangs, and the error log prints InnoDB recovery messages. InnoDB is replaying the redo log to make data files consistent, rolling back incomplete transactions, merging the change buffer, and running purge. Until that finishes, queries are rejected.

Recovery time is proportional to unflushed work at crash time. A small redo log and clean transaction set recovers in seconds; gigabytes of redo, many dirty pages, or a long uncommitted transaction can take minutes or hours. Do not mistake the open TCP port for “MySQL is ready.” Do not restart because queries are slow, and do not confuse a single long recovery with a restart loop.

What this means

InnoDB is a write-ahead logging (WAL) engine. Committed changes go to the redo log first; dirty pages flush to tablespaces later. After a crash, the redo log may contain changes not yet in the data files. On startup, InnoDB automatically discovers tablespaces, applies the redo log, rolls back uncommitted transactions, merges the change buffer, and purges old row versions. See InnoDB recovery.

Redo log application runs during startup initialization, before the server accepts connections. Uptime counts from process start, so it increases while recovery runs. In MySQL 8.0+, the server accepts connections after redo application and rolls back incomplete transactions on a background thread; until that rollback completes, new connections may hit locking conflicts with recovered transactions. If a tablespace referenced by the redo log is missing, recovery terminates. If the redo log is corrupt or rollback cannot complete, recovery may hang indefinitely.

flowchart TD
    A[Unclean shutdown] --> B[Redo log holds unflushed changes]
    B --> C[mysqld starts; redo replay runs before serving connections]
    C --> D[InnoDB replays redo log]
    D --> E[Queries are not served until recovery completes]
    E --> F{Recovery complete?}
    F -->|Yes| G[Queries accepted]
    F -->|No| H[Wait, or use force recovery for extraction]

Common causes

CauseWhat it looks likeFirst thing to check
Large redo log after a write burstError log shows log scan progressing slowly through many records; recovery takes minutesRedo log capacity and checkpoint age before the crash
Long-running uncommitted transaction at crashError log shows “Rolling back trx id” for one transaction with little other progressINNODB_TRX history or error log for the transaction ID
Missing tablespace referenced in redoRecovery aborts with “cannot find tablespace”.ibd file exists and innodb_directories covers all paths
Corrupt redo log or data pageRepeated errors, assertion failures, or looped “Out of space in the redo log”Error log for stack traces and corruption messages
Restart loop misidentified as slow recoveryUptime resets every few minutes; error log repeats crash and recoveryProcess start time versus Uptime; systemd/kubelet restart events

Quick checks

Run these read-only checks before making changes.

# mysqld is up, but recovery may still be running
mysqladmin -u monitor -p status
-- Server uptime
SHOW GLOBAL STATUS LIKE 'Uptime';
# Current recovery phase; adjust path to match log_error
tail -f /var/log/mysql/error.log

The performance_schema.global_status table exists since MySQL 5.7; the Innodb_redo_log_* LSN status variables this query reads were added in MySQL 8.0.30.

-- MySQL 8.0.30+: estimate redo log replay scope
SELECT
  (SELECT VARIABLE_VALUE FROM performance_schema.global_status WHERE VARIABLE_NAME = 'Innodb_redo_log_current_lsn') -
  (SELECT VARIABLE_VALUE FROM performance_schema.global_status WHERE VARIABLE_NAME = 'Innodb_redo_log_checkpoint_lsn')
  AS checkpoint_age;
-- Redo log capacity
SHOW GLOBAL STATUS LIKE 'Innodb_redo_log_capacity_resized';
# Confirm whether queries execute or block
time mysql -u monitor -p -e "SELECT 1;"
# Compare process age to Uptime to detect a restart loop
ps -o pid,etime,cmd -p $(pgrep -x mysqld)
-- MySQL 8.0+: transactions rolling back after startup
SELECT COUNT(*) FROM information_schema.INNODB_TRX WHERE trx_state = 'ROLLING BACK';

How to diagnose it

  1. Confirm the symptom. mysqld is running, TCP port 3306 is open, but SELECT 1 hangs or errors. Uptime is low and climbing. Do not restart the server; a restart replays redo from the beginning.

  2. Read the error log from crash time forward. Look for “InnoDB: Starting crash recovery,” “Doing recovery,” “Rolling back trx id,” or “Applying log.” The log tells you whether InnoDB is making progress. Progress can be slow on large redo logs.

  3. Estimate recovery scope. On MySQL 8.0.30+, compute checkpoint age from the Quick checks and compare it to Innodb_redo_log_capacity_resized. A checkpoint age close to capacity means large replay. On earlier versions, parse SHOW ENGINE INNODB STATUS for “Log sequence number” and “Last checkpoint at.” There is no built-in ETA; divide the gap by your storage throughput to approximate minutes, not seconds.

  4. Identify long rollback work. If the error log shows one transaction rolling back for a long time, that transaction may have run for hours before the crash. Rollback of a large transaction can take longer than the original transaction. The safe options are to wait, or to start with innodb_force_recovery and drop the offending table. Killing mysqld does not speed this up.

  5. Distinguish a restart loop. Compare the mysqld process start time from ps with Uptime. If Uptime resets while the process is unchanged, MySQL is crashing and recovering in a loop. If the process is recreated, check systemd, Kubernetes, or your orchestrator for back-to-back restarts. Restart loops have different root causes: corrupt system tables, full disk, or invalid configuration.

  6. Handle stuck or corrupt recovery. If the error log shows no progress for a long period, repeated “Out of space in the redo log” messages (MySQL bug #107594), or corruption errors, use innodb_force_recovery. The scale runs from 1 to 6; levels 4 through 6 place InnoDB in read-only mode. Use these only to extract data with mysqldump or SELECT, not for normal writes. See Forcing InnoDB Recovery.

  7. Check tablespace discovery. Recovery must find every tablespace referenced in the redo log. If a file was moved, deleted, or stored outside datadir, recovery terminates. Verify that innodb_directories, datadir, innodb_data_home_dir, and innodb_undo_directory include the correct paths. Moving the data directory after a crash is not a supported relocation: tablespace discovery uses the paths recorded in the data dictionary, so a moved datadir can make recovery fail (MySQL Bug #76308).

Metrics and signals to monitor

SignalWhy it mattersWarning sign
UptimeDetects unexpected restartsSudden drop or repeated resets within an hour
Checkpoint age / redo log capacityScope of redo replay after crashGap > 50% of capacity before crash, or large absolute gap
Error log recovery phaseShows whether recovery is progressingSame phase and trx id stuck for many minutes
Questions rateConfirms the server is executing queriesNear zero after TCP is listening while connections exist
Threads_connectedMisleading during recoveryHigh value before Uptime stabilizes and queries return
INNODB_TRX rollback countReveals long rollback workTransactions in ROLLING BACK state persisting

Fixes

Wait for automatic recovery

If the error log shows steady progress, wait. Restarting mysqld aborts current recovery and restarts redo replay from the beginning, making the outage longer. Monitor the error log for “ready for connections.” Do not schedule backups or run FLUSH commands during recovery.

Start with innodb_force_recovery to extract data

If a runaway rollback blocks recovery, add innodb_force_recovery=3 to my.cnf, start, drop the offending table, then remove the setting and restart. This bypasses normal safety checks. Use it only to extract or remove the blocking object, not to resume production writes. Levels 4 through 6 make InnoDB read-only; plan for a full restore from backup afterward.

Restore missing tablespaces

If recovery terminates because a tablespace is missing, restore the missing .ibd file from backup or place it back in the path recorded in innodb_directories. Tablespace discovery must happen in the original location. If the tablespace is unimportant and has no foreign key relationships, you may be able to discard it after starting with innodb_force_recovery, but that risks data loss.

Break a restart loop

A restart loop is not a slow recovery. Identify the crash trigger from the error log just before each restart: disk full, assertion failure, corrupt data dictionary, or invalid system variable. Fix the underlying condition. Do not raise innodb_force_recovery above 3 unless you are extracting data.

Resize the redo log after recovery

If the root cause was an undersized redo log that repeatedly fills, plan a maintenance window to increase innodb_redo_log_capacity on MySQL 8.0.30+, or innodb_log_file_size and innodb_log_files_in_group on older versions. This does not speed up current recovery, but it reduces future replay size.

Never delete redo logs manually

Deleting #innodb_redo files or old ib_logfile* files to skip recovery causes data loss and can make the server unstartable. Remove redo logs only after a clean shutdown with innodb_fast_shutdown=0 or 1, and only when intentionally reinitializing the instance.

Prevention

  • Use clean shutdowns: mysqladmin shutdown, systemd graceful stops, or the SHUTDOWN SQL statement. Avoid kill -9 on mysqld.
  • Before planned maintenance, set innodb_fast_shutdown=0 to perform a full purge and change buffer merge. This shortens recovery on restart at the cost of a slower shutdown. The default of 1 defers that work.
  • Size the redo log for your write rate. On MySQL 8.0.30+, use innodb_redo_log_capacity. On earlier versions, use innodb_log_file_size and innodb_log_files_in_group. Monitor checkpoint age and keep peak usage below 75% of capacity.
  • Keep transactions short. Long uncommitted transactions block purge, locks, and create long rollback times after a crash.
  • Do not move the data directory after a crash. Ensure innodb_directories and related path variables cover all tablespaces, undo files, and external tables.
  • Monitor Uptime, error log recovery keywords, and process restart events to distinguish a long recovery from a restart loop.
  • Maintain tested backups. innodb_force_recovery is an extraction tool, not a repair tool; final recovery usually involves a restore.

How Netdata helps

  • Detects unexpected Uptime drops and restart-loop patterns.
  • Tracks Innodb_redo_log_current_lsn, Innodb_redo_log_checkpoint_lsn, and capacity on MySQL 8.0.30+, showing replay scope.
  • Monitors Questions rate and Threads_connected to expose when the server accepts TCP connections but does not execute queries.
  • Surfaces MySQL error log anomalies, including recovery phase keywords.
  • Correlates MySQL signals with OS metrics such as disk I/O, memory pressure, and OOM kills to identify the original cause of the unclean shutdown.
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.