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 / zfs / zfs-txg-sync-time-high ▌

Operations Guides

ZFS TXG sync time high: the most diagnostic write-path signal operators ignore

Applications are stalling on writes. zpool status -x says all pools are healthy. Disk latency looks mostly fine, or at least inconsistent with the severity of the application impact. The signal that explains what is actually happening sits in one file most operators never open: /proc/spl/kstat/zfs/<pool>/txgs, specifically the stime field, which records how long each transaction group took to commit to stable storage.

TXG sync time sits between “the application sees slow writes” and “a disk is slow” and explains the relationship between them. When sync time climbs, dirty data accumulates in the open TXG, ZFS starts throttling writers, and applications experience the periodic write freezes that are so often misattributed to hardware failure or application bugs.

What this means

ZFS batches writes into transaction groups (TXGs) and flushes them to disk on a cadence controlled by zfs_txg_timeout (default 5 seconds). There may be up to one TXG in each active state—open (accepting writes), quiescing (finalizing), and syncing (writing to disk)—and there is always an open TXG. The stime field is the duration of the sync phase, in nanoseconds.

The failure mechanism is a feedback loop:

flowchart TD
  A[Syncing TXG takes too long] --> B[Open TXG accumulates dirty data]
  B --> C[Next TXG is even larger]
  C --> D[Next sync takes even longer]
  D --> A
  B --> E[Dirty data crosses zfs_delay_min_dirty_percent - 60% of max]
  E --> F[ZFS throttles writers]
  F --> G[Application write latency spikes to seconds]

The throttle is the intended memory-protection behavior, so the system is working as designed when it stalls your writes. The disks are simply not draining dirty data fast enough. Severity tiers for stime:

  • Normal: under 2 seconds
  • Elevated: over 5 seconds (the default zfs_txg_timeout)
  • Serious: over 15 seconds, write latency spikes are occurring
  • Critical: over 30 seconds, applications are actively throttled

Two properties of this signal matter for diagnosis. First, TXG sync time is per-pool, not per-dataset. One busy dataset degrades write latency for every dataset in the pool, so do not assume the loudest application is the cause. Second, stime alone is not page-worthy: scrubs, resilvers, large snapshot deletions, zfs recv, and pool import all legitimately extend sync times. The composite TXG sync hang pattern is stime sustained above 3x the timeout for more than 60 seconds, dirty data approaching zfs_dirty_data_max, write latency spiking, and no scrub, resilver, or import in progress to explain it.

Common causes

CauseWhat it looks likeFirst thing to check
Slow or degraded deviceOne vdev much slower than peers; stime elevated across the poolzpool iostat -v 1, then dmesg for link resets
FragmentationFRAG above 50%, stime creeping up over weeks, worst on HDDszpool list -o name,frag
Capacity allocator overheadPool above 85%, stime rising with capacity, writes and deletes both slowzpool list CAP column
Dedup writesDDT not fitting in RAM, every write pays a DDT lookup, read performance also collapsedzpool get dedup, zpool status -D
CPU-bound compressionstime high while device latency is low; z_compress threads saturating corestop -H for z_compress, z_cksum threads
Legitimate background workstime spikes only during scrub, resilver, or large snapshot destroy windowszpool status scan line

Quick checks

All read-only.

# Recent TXG sync times (replace tank with your pool)
cat /proc/spl/kstat/zfs/tank/txgs | tail -20

# Confirm the timeout and history tunables
cat /sys/module/zfs/parameters/zfs_txg_timeout
cat /sys/module/zfs/parameters/zfs_txg_history

# Dirty data pressure vs the limit
cat /sys/module/zfs/parameters/zfs_dirty_data_max
cat /sys/module/zfs/parameters/zfs_delay_min_dirty_percent

# Per-vdev throughput - find the slow device
zpool iostat -v 1

# Per-vdev latency breakdown
zpool iostat -l 1

# Fragmentation and capacity
zpool list -o name,size,alloc,free,cap,frag

# Is a scrub or resilver running right now
zpool status | grep -A3 "scan:"

# Link resets, timeouts, controller errors
dmesg | grep -i -E "ata|sas|reset|timeout"

Notes on reading the txgs file:

  • The header line is: txg birth state ndirty nread nwritten reads writes otime qtime wtime stime. All time fields are nanoseconds. Column positions vary slightly by OpenZFS version, so verify the header before scripting against it.
  • stime is the sync phase duration, the field you want. ndirty shows how much dirty data the TXG carried; dividing nwritten by stime gives effective flush throughput for that TXG.
  • The file holds zfs_txg_history entries. OpenZFS 0.8.0 and later default to 100; OpenZFS 0.6/0.7 defaulted to 0, so the file may remain empty until the value is raised. At a 5-second cadence, 100 entries is roughly the last 8 minutes.

How to diagnose it

  1. Quantify stime. Pull the last 20 rows of the txgs file and convert stime to seconds. Establish whether you are in the elevated (5-15s), serious (15-30s), or throttled (30s+) band, and whether it is sustained or spiking around a background operation.

  2. Rule out legitimate causes. Check the scan: line in zpool status. A running scrub or resilver competes for I/O bandwidth and inflates sync time by design. Large snapshot deletions and zfs recv do the same. If stime returns to normal when the background operation finishes, you do not have an incident; you have a scheduling problem.

  3. Split device latency from ZFS-internal latency. Run zpool iostat -l 1 and compare total_wait (queue plus disk) against disk_wait (disk only). If disk_wait is high, the backend device is the bottleneck. If total_wait is high but disk_wait is low, the delay is inside ZFS: allocator work, queue contention, or CPU-bound processing. This single comparison routes the rest of the investigation.

  4. If devices look slow, find the outlier. zpool iostat -v 1 shows per-vdev numbers. In a mirror or RAIDZ group, the slowest device gates the whole group. Look for one device with latency several times its peers, then check dmesg for SATA/SAS resets or timeouts and check zpool status -v for growing READ, WRITE, or CKSUM counters on that device. SATA link reset storms, SMR drives garbage collecting, and controller saturation are the usual culprits.

  5. If devices look fine, check fragmentation and capacity. zpool list -o name,cap,frag. Above roughly 85% capacity, metaslab allocation gets expensive and every write carries allocator overhead. Fragmentation above 50% on a write-heavy pool scatters allocations and turns sequential writes into random I/O. The two compound each other; a pool at 88% capacity with 55% fragmentation is already in the degradation zone even with healthy disks.

  6. Check dedup and compression if enabled. If dedup=on, check whether the DDT fits in RAM (zpool status -D). A DDT that spills to disk makes every write pay a random read first, which destroys sync time. For compression, check whether z_compress or z_cksum kernel threads are saturating cores in top -H; ZSTD at high levels on fast storage can make sync CPU-bound while the disks sit idle.

  7. Measure dirty data pressure. Compare observed dirty data (the ndirty column) against zfs_dirty_data_max. The write throttle engages at zfs_delay_min_dirty_percent (default 60% of max). If TXGs consistently carry dirty data near that threshold, writers are being delayed by design and the stall will not resolve until flush capacity catches up.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
TXG stimeDirect measure of flush capacity vs write loadSustained above 2x zfs_txg_timeout (>10s default), or trending upward over hours
TXG ndirtyHow much data each sync must drainApproaching the 60% throttle threshold of zfs_dirty_data_max
total_wait vs disk_waitRoutes diagnosis: device problem vs ZFS-internal problemLarge gap between the two
Per-vdev latency (zpool iostat -v -l)Finds the single slow device gating a vdev groupOne device 3x+ slower than peers
Pool capacity and fragmentationAllocator overhead grows non-linearly near fullCAP above 85% with FRAG rising
ZFS thread CPUCompression and checksum work can bound sync timez_compress/z_cksum saturating cores

Fixes

Slow or degraded device

If one device is consistently the outlier and the pool has redundancy, offlining or replacing it is the direct fix. Check SMART data and error counters first to confirm the device is actually failing rather than suffering a controller or cabling issue shared with peers. Do not offline a device in a vdev that has no remaining redundancy; that converts a performance problem into an availability problem.

Fragmentation and capacity pressure

There is no in-place defragmentation for ZFS. Scrub does not defragment. The only real fix for severe fragmentation is zfs send | zfs recv into a fresh pool. For capacity pressure, prune snapshots (zfs list -t snapshot -o name,used -s used to find the worst offenders), archive data, or expand the pool. Treat 85% as the action threshold on write-heavy pools, not 95%.

Dedup

If the DDT no longer fits in RAM, there is no cheap fix. Setting dedup=off affects only new writes; existing deduplicated data keeps its DDT overhead. The durable fix is migrating data to a non-dedup dataset via send/recv. Plan for this to be slow.

CPU-bound compression

If compression threads are the bottleneck, switch hot datasets to lz4 (cheap) or a lower ZSTD level. This affects new writes only, so relief is gradual.

Throttle tuning as a pressure valve

Raising zfs_txg_timeout or zfs_dirty_data_max changes the shape of the problem, not the capacity underneath it. A longer timeout makes each sync bigger and slower; a bigger dirty data limit delays the throttle at the cost of more RAM and larger syncs. These are reasonable short-term levers for bursty workloads on undersized buffers, but if disk_wait says the devices cannot drain the data, no tunable fixes that.

Prevention

  • Trend stime, do not sample it. The txgs file holds only the last 100 TXGs. Export stime to a time-series system so you can see the slow upward drift that precedes the cliff, and so incident review has history to work with.
  • Alert on the composite, not the raw value. Page when stime exceeds 3x the timeout for more than 60 seconds with no scrub, resilver, or import in progress. A raw stime alert will false-fire during every scrub window.
  • Track capacity and fragmentation together. Capacity rising plus fragmentation rising is the leading indicator for allocator-driven sync slowdown. Plan expansion at 75-80%, act at 85%.
  • Baseline your pools. Know normal stime, normal per-vdev latency, and normal flush throughput per pool. Deviations from baseline are the signal; absolute numbers vary by media and topology.
  • Schedule scrubs and resilvers deliberately. They legitimately inflate sync time. If your write-heavy window overlaps your scrub window, you will chase phantom incidents.

How Netdata helps

  • Netdata collects the txgs kstat per pool, so stime and ndirty become continuous time series instead of an 8-minute rolling window you had to catch by hand.
  • Per-vdev latency and throughput sit next to TXG sync time on the same dashboard, so the “is it a device or is it ZFS-internal” split from step 3 is a visual correlation, not two terminal sessions.
  • Pool capacity and fragmentation are charted alongside write-path metrics, which makes the slow capacity-fragmentation creep visible weeks before stime crosses into the serious band.
  • Dirty data relative to its limits is surfaced directly, so you can see the throttle threshold approaching before applications start stalling.
  • ZFS device error counters and pool state are monitored continuously, so a slow device dragging sync time shows up with its READ/WRITE/CKSUM history attached.