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 / lvm / lvm-lock-contention ▌

Operations Guides

LVM lock contention: stale lock files and blocked commands

You run lvs and it sits there. You try vgs in another terminal and it hangs too. Storage is fine, VMs are running, application I/O is flowing, but every LVM command blocks. Your monitoring, which polls lvs every 10 seconds, goes stale at the exact moment you need it.

This is LVM metadata lock contention. Every LVM command (pvs, vgs, lvs, lvcreate, lvextend, pvmove) acquires locks before reading or modifying VG metadata, using lock files in /run/lock/lvm/. When one command holds a lock and stalls, everything else queues behind it. Because the monitoring commands are LVM commands too, the management plane goes blind under the same condition it is supposed to be observing.

The kernel’s device-mapper layer does not participate in this locking. The data plane keeps running. dmsetup talks directly to the kernel with no LVM locks and no metadata disk I/O, so it remains your working diagnostic tool while every lvs variant is stuck.

What this means

LVM serializes metadata access to prevent concurrent commands from corrupting the VG mapping tables. On a single host this is file-based locking under /run/lock/lvm/. On clustered setups (lvmlockd with sanlock or DLM), lock acquisition involves network round-trips to a distributed lock manager, which adds latency and another failure domain.

Contention follows a predictable cascade:

flowchart TD
  A[Long LVM operation starts
pvmove, lvconvert, resize] -->|acquires and holds VG lock| B[VG lock held] C[Killed LVM process
leaves stale lock file] -->|lock never released| B B --> D[Subsequent LVM commands
queue behind the lock] E[Monitoring polls lvs
every 10-60s] -->|adds more waiters| D D --> F[pvs / vgs / lvs hang
monitoring data goes stale] F --> G[Operator blind during
any concurrent incident] H[dmsetup status] -.->|no LVM locks,
reads kernel memory| I[Diagnostics still work]

Two distinct situations produce the same symptom, and telling them apart is the whole diagnosis:

  1. A live holder. A legitimate long-running operation (pvmove on a large volume, lvconvert mirror sync on slow storage) holds the lock for minutes or hours. The fix is to wait, or to abort the operation cleanly.
  2. A stale lock. An LVM process was killed (or the box was hard-bounced mid-operation) and the lock file was never released. The holder PID no longer exists. Every subsequent command blocks on a lock that no live process owns. The fix is careful manual removal.

Common causes

CauseWhat it looks likeFirst thing to check
Long pvmove holding the VG lockAll LVM commands slow or hung; pvmove process running for hourspvs --noheadings -o pv_name,move_pv and lvs -o lv_name,copy_percent
lvconvert (mirror sync, cache conversion) stalled on slow storageLock held with no visible progressdmsetup status for the affected device; check sync progress
Stale lock file from a killed LVM processEverything hangs; the PID in fuser output does not exist in psfuser /run/lock/lvm/* then ls -la /run/lock/lvm/ for lock file age
High-frequency lvs/vgs polling by monitoring or scriptsContention spikes align with poll interval; many short-lived lvm processesps aux for repeated lvs invocations; check cron/systemd timers
Concurrent automation fighting for locksBackup scripts, snapshot managers, provisioning jobs queued upCron and systemd timer inventory; process list depth of LVM commands
Clustered lock manager latency (sanlock/DLM)Lock acquisition slow on all nodes, not just onelvmlockctl -i or dlm_tool ls for lock manager state

Quick checks

All of these are read-only and safe to run during an incident.

# 1. Who is holding LVM locks right now?
fuser /run/lock/lvm/* 2>/dev/null

# 2. Lock file inventory and age. A lock file older than a few
#    seconds is abnormal for routine operations.
ls -la /run/lock/lvm/

# 3. What LVM processes exist, and what state are they in?
ps aux | grep -E 'lvm|pvs|vgs|lvs|lvcreate|lvextend|pvmove|lvconvert' | grep -v grep

# 4. Do the PIDs from step 1 actually exist?
#    A PID printed by fuser that does not appear in ps = stale lock.
ps -o pid,stat,wchan:30,etime,cmd -p <pid_from_fuser>

# 5. dmsetup bypasses LVM locks entirely. Use it to keep working.
dmsetup info -c -o name,attr,open,segments,uuid

# 6. Is a dm device suspended (a related but different failure)?
dmsetup info -c -o name,suspended

# 7. How slow is the management plane? Time a trivial query.
time pvs --noheadings 2>&1

# 8. Clustered setups only: inspect the lock manager.
lvmlockctl -i     # lvmlockd lock state
dlm_tool ls       # DLM lock status

Interpretation notes:

  • A healthy pvs completes in under a second. 1-5 seconds is slow. More than 10 seconds means contention or an unresponsive device in the scan path. A command that never returns is the signature of a blocked lock.
  • fuser printing a PID that exists in ps means a live holder: look at what it is running (wchan, elapsed time) before deciding anything.
  • fuser printing a PID that does not exist in ps, with an old lock file in /run/lock/lvm/, means a stale lock.

How to diagnose it

  1. Confirm the symptom is locking, not storage. Run dmsetup status. If it returns instantly with sane output, the kernel data plane is healthy and you are dealing with a management-plane lock problem. If dmsetup also hangs or shows suspended devices, you may have an I/O hang instead. See LVM I/O hang: a suspended dm device and processes stuck in D state.

  2. Enumerate the locks. ls -la /run/lock/lvm/ shows which locks exist and their timestamps. On modern systems you will see a global lock and per-VG locks.

  3. Identify holders. fuser /run/lock/lvm/* maps lock files to PIDs. For each PID, check ps -o pid,stat,wchan:30,etime,cmd -p <pid>.

  4. Classify each holder.

    • Live long operation. etime is large, the command is pvmove or lvconvert, and lvs -o lv_name,copy_percent (it may be slow, but it should eventually return) shows progress. Decision: wait it out, or abort cleanly.
    • Stuck live process. The process exists but is in D state on an unresponsive device. The lock is a symptom; the real fault is underneath (multipath, SAN, failing disk). Check dmesg for I/O errors before touching the lock.
    • Stale lock. The PID from fuser does not exist. The lock file is orphaned.
  5. Check for polling pressure. Even after clearing the immediate blockage, count how often something invokes LVM commands: cron entries, systemd timers, monitoring agents, backup scripts. A poller running lvs every 10 seconds acquires the VG lock 6 times a minute and can re-create the contention you just cleared.

  6. Clustered only: if this VG is managed by lvmlockd, lock acquisition crosses the network to sanlock or DLM. Check lvmlockctl -i and cluster quorum before assuming a local stale file.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
LVM command execution time (time pvs)Direct measure of management-plane healthOver 5-10 seconds, or a hang
Lock file presence and age in /run/lock/lvm/Stale locks block everythingLock file older than a few seconds with no live holder
Processes holding locks (fuser)Identifies who is serializing the queueHolder in D state, or holder PID absent from ps
pvmove / mirror sync progress (copy_percent)Tells you whether a long lock hold is making progressProgress unchanged for over an hour
dm device suspended stateDistinguishes lock contention from an I/O hangAny device suspended for more than minutes
Count of concurrent LVM processesReveals automation pile-upMany queued lvm commands from timers or scripts
D-state process count on dm devicesCorroboration that blockage is reaching applicationsGrowing count, processes stuck over 60 seconds

Fixes

Live holder: legitimate long operation

If the holder is a pvmove or lvconvert making progress, the safest fix is patience. These operations are I/O-bound and can legitimately hold a lock for a long time on large volumes or slow storage.

If you cannot wait, abort cleanly rather than killing the process:

# Abort an in-progress pvmove. Do NOT kill -9 a pvmove:
# an interrupted pvmove leaves the LV in a temporary mirror
# configuration that you will then have to unwind.
pvmove --abort

Tradeoff: an aborted pvmove has already moved some extents; re-running it later re-does work. But it releases the lock and restores the management plane.

Stale lock file

Only after you have verified (step 4 in diagnosis) that the holder PID does not exist and no live LVM operation is in progress:

# Verify the holder is gone, then remove the orphaned lock file.
# This is disruptive if you are wrong: removing a lock that a live
# process holds breaks mutual exclusion and risks metadata corruption.
# Double-check ps output for ANY running LVM command first.
rm /run/lock/lvm/<lock_file_name>

After removal, run a trivial pvs and confirm it returns promptly. Then figure out why the process was killed (OOM killer, operator Ctrl-C during a hung wait, hard reboot) so it does not recur.

Polling pressure

Replace high-frequency lvs/vgs/pvs collection with dmsetup-based collection for the signals that support it. dmsetup status reads kernel memory: no LVM locks, no metadata disk I/O. Thin pool data and metadata usage, device state, and I/O counters are all available without touching the lock. Reserve LVM commands for low-frequency checks (VG free space, LV attribute audits) that genuinely need metadata.

Clustered lock contention

If sanlock or DLM round-trips are the bottleneck, the lock itself is behaving correctly and removing local files will not help. Verify cluster quorum and lock manager health first. The default is 3 retries (global/lvmlockd_lock_retries in lvm.conf); sanlock itself manages its own retry timing for the internal lock LV. Cluster locking behavior is version-dependent; check the lvmlockd documentation for your distribution before changing retry behavior.

Prevention

  • Collect via dmsetup where possible. Thin pool data percent, metadata percent, and dm device state should come from dmsetup status, not lvs. This removes your monitoring from the lock queue entirely.
  • Rate-limit LVM metadata queries. If you must run lvs/vgs/pvs, do it on a slow cadence (minutes, not seconds) and never from multiple agents on the same host.
  • Inventory your automation. Snapshot managers, backup jobs, provisioning scripts, and cron jobs that invoke LVM commands should be serialized so they cannot pile up behind each other and a long operation at the same time.
  • Never kill -9 LVM operations. A killed pvmove leaves temporary mirror state; a killed metadata-writing command can leave a stale lock. Use the operation’s own abort path (pvmove --abort) or let it finish.
  • Alert on the management plane itself. Track LVM command execution time and lock file age so you learn about contention from your monitoring, not from a hung terminal at 3 a.m.
  • Monitor pvmove while it runs. A pvmove on a large volume holds the lock for hours. Watch copy_percent, watch I/O impact, and do not schedule other LVM work in the same window.

How Netdata helps

Lock contention is the failure mode where your monitoring tool can become part of the problem, so how you collect matters as much as what you collect:

  • Device-mapper metrics without LVM locks. Netdata reads dm device I/O, latency, and queue depth from kernel interfaces (/proc/diskstats, sysfs) rather than shelling out to lvs, so per-second visibility continues while LVM commands are blocked.
  • Process state correlation. A rising count of processes in uninterruptible sleep (D state), correlated with dm device activity, distinguishes a lock pile-up from a true I/O hang.
  • Latency divergence as an early warning. When dm device latency stays normal but management-plane operations slow down, the problem is locking, not storage. Comparing per-device latency against its baseline makes that split visible.
  • Long-operation context. Sustained I/O on specific PVs matching an in-progress pvmove or mirror resync tells you the lock hold is legitimate and progressing, versus stalled.
  • Historical trend for post-incident review. LVM itself keeps no history. Per-second I/O and process data from before the hang lets you reconstruct which operation started the queue.