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 / nvidia-gpu / nvidia-gpu-nvidia-smi-hangs ▌

Operations Guides

nvidia-smi hangs or is unresponsive: a wedged GPU or a stuck driver

You run nvidia-smi and nothing comes back. No output, no error, no exit code. Ctrl-C does nothing, and kill -9 does nothing either. This is a different class of failure from “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver”, where the driver at least answers and tells you it is broken. A hang means the driver is stuck inside a kernel call, usually waiting on GPU hardware that will never respond.

The blast radius extends past your shell. Everything that talks to the GPU through NVML shares the same management path: nvidia-smi, DCGM’s nv-hostengine, monitoring agents, and any tooling that queries GPU state. When that path blocks, observability on the node goes dark at exactly the moment you need it. Worse, collectors without a timeout on the query report “no data” instead of “collection timed out”, so the hang looks like a quiet gap in the charts rather than a fault.

This guide covers how to confirm the hang, how to tell a wedged GPU from a driver-level stall, what you can and cannot fix without a reboot, and how to instrument the management path so you see the next one coming.

What this means

nvidia-smi is a thin client over NVML, and NVML calls into the NVIDIA kernel driver. A healthy driver answers a lightweight query in well under 100 milliseconds. When the command hangs, the process has entered uninterruptible sleep (D state) inside the driver, waiting on a hardware resource or an internal driver lock. A process in D state cannot be killed, not even with SIGKILL, because the kernel does not deliver signals to a thread blocked in an uninterruptible call. It stays in the process table until the call returns or the kernel resets.

Two underlying situations produce this:

  1. A wedged GPU. The device itself stopped responding: it fell off the PCIe bus (Xid 79), hit a fatal internal fault, or stalled the bus. Every subsequent management call against that GPU blocks. On multi-GPU nodes, one wedged GPU can hang an unqualified nvidia-smi query even though the other GPUs are fine, because the default query iterates all devices.

  2. A stuck driver. The driver itself is deadlocked or livelocked: an internal mutex never releases, a firmware call never returns, or recovery from a previous fault never completes. Every GPU on the node is affected at once, and all NVML clients (nvidia-smi, nv-hostengine, your monitoring agent) stall together.

The operational consequence is the same either way: no software-only poke reliably clears it. A GPU reset (nvidia-smi -r) sometimes helps when exactly one GPU is wedged and nothing holds a context on it, but the common end state for a driver-level stall is a node reboot. Plan your diagnosis around gathering evidence quickly, then scheduling the reboot deliberately instead of discovering at hour three that nothing else works.

Common causes

CauseWhat it looks likeFirst thing to check
GPU fell off the bus (Xid 79)nvidia-smi hangs or shows “ERR!” for one GPU; processes on that GPU in D state; device may vanish from lspcidmesg -T | grep -i "NVRM: Xid" for Xid 79
Driver deadlock / NVML stallAll GPUs show stale or no data at once; every NVML client hangs; nvidia kernel threads blocked in D statePer-GPU queries: does nvidia-smi -i N hang for every N, or only one?
Application fault escalated (Xid 43 storm)Repeated Xid 43 in dmesg from a crashing job; driver stuck cleaning up contexts; queries slow then hangdmesg for recurring Xid 43 tied to one PID
GSP firmware RPC timeout (Xid 119/120)Hangs and freezes on recent drivers with GSP firmware enabled; Xid 119 is a GSP RPC timeout, Xid 120 is a GSP errordmesg for Xid 119 or 120
Persistence mode disabled, driver unloads mid-queryIntermittent short hangs or slow first query after idle periods, not a hard wedgenvidia-smi --query-gpu=persistence_mode --format=csv,noheader
DCGM nv-hostengine blocked on the same pathdcgmi commands hang; DCGM serves stale cached data while NVML calls blocktimeout 10 dcgmi diag -r 1; compare against direct nvidia-smi latency
Hardware degradation in progressRising ECC errors, PCIe replay errors, or prior GPU resets in the days before the hangdmesg Xid history, nvidia-smi -q -d ECC

Quick checks

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

# 1. Time-box every query. Never run a bare nvidia-smi on a suspect node.
timeout 5 nvidia-smi --query-gpu=gpu_name --format=csv,noheader -i 0
echo "exit: $?"   # 124 = timeout killed it, the management path is blocked
# 2. Query each GPU individually to find which device wedges the call.
# Count both device classes: datacenter GPUs enumerate as "3D controller",
# but some SKUs appear as "VGA compatible controller".
for i in $(seq 0 $(( $(lspci -d 10de: | grep -cE "3D controller|VGA compatible controller") - 1 ))); do
  echo -n "GPU $i: "
  timeout 5 nvidia-smi --query-gpu=gpu_name --format=csv,noheader -i $i \
    && echo "ok" || echo "HUNG or error"
done
# 3. Check kernel logs for Xid events, the primary evidence trail.
dmesg -T | grep -i "NVRM: Xid" | tail -20
# 4. Look for processes stuck in D state on the driver.
ps -eo pid,stat,comm,wchan | awk '$2 ~ /D/'
# 5. Confirm whether the PCIe devices are still enumerated.
lspci -d 10de:
ls -la /dev/nvidia*
# 6. If DCGM is deployed, test whether the daemon is alive but stalled.
time timeout 10 dcgmi diag -r 1

Two things to note. First, the timeout 5 wrapper is not optional decoration: it is what keeps your diagnostic shell from becoming another D-state process. Second, check 2 is the single most informative step, because its result splits the incident in half: one GPU hanging points at the device, all GPUs hanging points at the driver.

How to diagnose it

  1. Confirm the hang is real, not slow. A healthy driver responds in under 100 ms. Between 100 ms and 1 s is elevated. Sustained responses over 2 s indicate driver stress and deserve immediate investigation. A query that exceeds your 5 s timeout should be treated as unreachability, not as a slow success.

  2. Isolate the scope. Run the per-GPU loop from the quick checks. Exactly one hanging GPU means a device problem (wedge, fallen off bus, pending reset). All GPUs hanging means a driver-level problem (deadlock, firmware stall).

  3. Pull the Xid history. dmesg -T | grep -i "NVRM: Xid" is your ground truth. Xid 79 means the GPU fell off the bus and the node needs a reboot. Recurring Xid 43 means an application kept faulting; the GPU hardware is usually fine, but cleanup of its contexts can wedge the driver. Xid 119 (GSP RPC timeout) points at a firmware-path stall on newer drivers. Xid 48 or 95 alongside the hang means uncorrectable memory errors are involved and recent work output should be treated as suspect.

  4. Check for stuck user processes. Processes in D state holding CUDA contexts block any GPU reset attempt. List them, map PIDs to jobs or containers (the PID nvidia-smi reports is the host PID, not the container PID), and record them before doing anything disruptive.

  5. Check DCGM separately if deployed. nv-hostengine makes NVML calls from its health threads; when NVML blocks, the daemon stalls and serves stale cached data while looking superficially alive. A daemon that responds to its socket but cannot complete dcgmi diag -r 1 quickly is blocked on the driver, not healthy. Do not restart nv-hostengine at this point: it will hang on initialization against the same stuck driver.

  6. Decide: reset attempt or reboot. If exactly one GPU is wedged, no processes hold contexts on it, and your driver supports it, nvidia-smi -r is a reasonable single attempt. If the reset fails, if processes are stuck in D state, or if all GPUs are affected, schedule the node reboot. Do not burn hours retrying software recovery on a driver deadlock.

flowchart TD
    A[nvidia-smi hangs, no error] --> B[timeout 5 per-GPU queries]
    B --> C{Which GPUs hang?}
    C -->|One GPU| D[dmesg: Xid 79 or fatal Xid?]
    C -->|All GPUs| E[Driver deadlock or firmware stall]
    D -->|Xid 79| F[Node reboot required]
    D -->|Xid 43 storm| G[Kill faulting app, then retry query]
    E --> H[Processes in D state?]
    G --> H
    H -->|Yes| F
    H -->|No, single GPU| I[Try nvidia-smi -r once]
    I -->|Reset fails| F
    I -->|Reset works| J[Monitor for recurrence, track reset history]

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Management path latency (timed lightweight NVML query per GPU)Last warning before a wedge; a healthy driver answers in under 100 msSustained >2 s per GPU; any timeout
Collection success vs timeout (does your collector distinguish “no data” from “timed out”?)The hang-mask: agents without timeouts silently drop dataMetric gaps on GPU charts with no alert
Xid events in dmesgPrimary fault evidence; 79 = off the bus, 43 = app fault, 119 = firmware stallAny Xid 79; recurring 43; any new fatal Xid
D-state process count on the nodeStuck CUDA contexts block recovery and signal an active wedgeAny GPU-related process in D state
Per-GPU reachability (nvidia-smi -L, exit code)Precondition for every other signalSustained unreachability >60 s after boot
GPU reset / recovery frequencyA GPU that resets once tends to reset again>2 resets in 24 h on one GPU
DCGM daemon responsivenessnv-hostengine can be alive yet blocked on NVMLdcgmi diag -r 1 latency climbing toward seconds
Persistence mode statusDisabled mode adds init latency and unload races that mimic hangs“Disabled” on any production node

Fixes

If one GPU is wedged and nothing holds a context on it

Attempt a single GPU reset: nvidia-smi -r (or -i N -r on multi-GPU systems). This is disruptive: it tears down all state on that device and fails outright if any process has an open context, which is why step 4 of the diagnosis comes first. If the reset succeeds, treat the GPU as suspect: track its reset history and watch for recurrence. A GPU that wedges once usually wedges again, and repeated resets are a replacement signal, not a solved problem.

If processes are stuck in D state

You cannot kill them; SIGKILL does not reach a thread blocked in an uninterruptible kernel call. Trying harder (kill -9 loops, cgroup freezes) changes nothing. Record the PIDs, the jobs they belong to, and the Xid history for the post-incident writeup, then proceed to the reboot. This is also why “just restart the training job” is not available as a fix: the job’s processes may not be killable.

If the driver is deadlocked across all GPUs

There is no supported software recovery short of reloading the driver, and a driver reload on a node with stuck contexts and blocked NVML clients is itself unreliable. The dependable path is: drain or cordon the node in your scheduler, capture dmesg and process state, and reboot. Do not restart DCGM or your monitoring agent first and hope; they will hang on initialization against the same driver and complicate the picture.

If an application fault storm (Xid 43) triggered it

Xid 43 means the GPU stopped processing work for an application after a software-induced fault; the hardware is typically fine. Kill the faulting application if it is still killable, then re-test per-GPU reachability. If the driver recovers, fix the application bug before rescheduling: repeated Xid 43 events can escalate into cleanup states that leave the driver in the wedged condition you started with.

If persistence mode was off

Enable it: nvidia-smi -pm 1, persisted through a systemd unit or startup script, since the setting is lost on driver reload or reboot. This removes the driver-unload latency and race window that produces intermittent slow or briefly hanging queries. It does not protect against a real hardware wedge; it removes a common false friend.

Prevention

  • Time-box every collection call. Wrap NVML and nvidia-smi collection in a hard timeout (5 s is a sane default) in every monitoring agent, health check, and runbook script. NVIDIA support guidance for scripted nvidia-smi queries recommends prepending a timeout wrapper (widely repeated in NVIDIA community/support channels; the current custhelp article text is not publicly linked at review time).
  • Make timeouts loud. The collector must report “collection timed out” as an error state, not as absent data. A silent gap on the GPU charts is the masked version of this incident. Alert on timeout events, and treat sustained latency above 2 s as a warning before the timeout ever fires.
  • Query per GPU in health checks. An all-GPU query lets one bad device hide the health of seven good ones and can hang the whole check. Per-device queries with per-device timeouts give you isolation for free.
  • Enable persistence mode everywhere in production and verify it as a configuration-drift signal after reboots and driver updates.
  • Monitor Xid as events, not state. Alert on new Xid 79, 48, 95 occurrences as pages, recurring 43 as tickets, and treat 119/109-style timeout events as leading indicators rather than noise. Ensure log aggregation latency does not turn a fresh event into a delayed duplicate alert.
  • Track GPU reset and recovery frequency per device so repeat offenders get scheduled for replacement before they take a node down mid-job.
  • Sample fast enough. Wedges and their precursors develop in seconds. Minute-resolution collection misses the latency ramp that precedes a hang; sub-10-second sampling on the management path is what makes “>2 s for 60 s” an observable condition.

How Netdata helps

  • Netdata’s NVIDIA collector queries the management path continuously, so per-GPU reachability and metric gaps surface in near real time instead of at the next manual check.
  • Distinguishing “the GPU is gone” from “everything is fine” depends on collection health: correlate GPU chart gaps with node-level signals (D-state processes, kernel log Xid events) on the same dashboard to confirm a wedge rather than a network or agent issue.
  • Temperature, power draw, ECC error counters, and clock throttle reasons for the days before the hang sit on the same timeline, which makes it easy to check whether hardware degradation preceded the wedge.
  • Pairing dmesg evidence with the exact window where GPU metrics flatline or disappear turns a postmortem guess into a timestamped sequence.
  • On multi-GPU nodes, per-device charts expose the “one GPU dark, seven healthy” pattern that points at a device fault rather than a driver deadlock.