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-cuda-out-of-memory ▌

Operations Guides

CUDA out of memory: diagnosing NVIDIA GPU framebuffer exhaustion

Your training job or inference server died with RuntimeError: CUDA out of memory. Tried to allocate X MiB. Sometimes the GPU is genuinely full. More often, nvidia-smi shows gigabytes free and the error makes no sense at first glance.

GPU framebuffer is a cliff-edge resource. Unlike CPU memory there is no swap and no graceful degradation: when a cudaMalloc cannot be satisfied, the allocation fails atomically and the process dies. It is also one of the most misdiagnosed GPU failures, because the number nvidia-smi shows is not the number your framework is working with.

What this means

A CUDA OOM means the driver or the framework’s caching allocator could not satisfy one specific allocation request. It does not necessarily mean the framebuffer is full. Four things consume VRAM, and only one of them is your model:

  • Driver and firmware reserved memory. Typically 200-500 MiB per GPU that is never available for user allocations.
  • CUDA context overhead. Every process that initializes CUDA reserves several hundred MB to over 1 GB before it allocates a single tensor. With multiprocessing (for example PyTorch DataLoader workers that touch the GPU), each worker pays this independently.
  • ECC overhead. On GPUs with ECC enabled, part of the framebuffer is consumed by error correction. The size depends on memory type and GPU SKU; verify against the datasheet for your hardware. NVIDIA does not publish a single uniform percentage: the reduction varies by GPU generation, memory width, and ECC scheme (SECDED for DRAM, different for HBM stacks).
  • Application memory. What your framework allocated, plus what its caching allocator is holding for reuse.

The last point causes most of the confusion. PyTorch’s caching allocator does not return freed memory to the driver; it keeps it in a pool for reuse. So nvidia-smi reports what PyTorch has reserved from the driver, not what live tensors are using. A process can show 30 GiB used in nvidia-smi while holding only 18 GiB of live tensors. Conversely, the allocator can fail an allocation while nvidia-smi shows free memory, because no single free block is large enough. That is fragmentation, and it is a different problem from true exhaustion.

Retired memory pages also shrink the allocatable pool permanently. Each retired page removes about 64 KB, up to a hard driver limit of 64 pages. A GPU whose memory.total quietly shrank over months may have retired pages.

Common causes

CauseWhat it looks likeFirst thing to check
Model or batch too largeOOM on first iteration or first large allocation, reproducible at startupDoes the failing allocation size fit in memory.free before the job starts?
Another process on the GPUOOM at startup on a GPU that “should” be emptynvidia-smi --query-compute-apps=pid,process_name,used_gpu_memory --format=csv,noheader
Memory leakmemory.used grows linearly over hours, OOM long after startupPlot VRAM over time; compare against the workload baseline
FragmentationOOM with significant free memory, usually after long uptime or dynamic batch sizesPyTorch error line: reserved total much larger than allocated
Zombie CUDA contextVRAM held but no process listed in nvidia-smiCompare memory.used against the sum of per-process usage
Retired pages shrinking capacitymemory.total lower than the SKU specnvidia-smi -q -d PAGE_RETIREMENT
Context overhead multiplied by workersOOM only when num_workers > 0 or many processes share the GPUCount compute apps; multiply count by context overhead

Quick checks

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

# 1. Framebuffer state per GPU: used, free, total, and driver-reserved
nvidia-smi --query-gpu=index,memory.used,memory.free,memory.total,memory.reserved --format=csv

# 2. Who is on the GPU right now (host PIDs, not container PIDs)
nvidia-smi --query-compute-apps=pid,process_name,used_gpu_memory --format=csv,noheader

# 3. Per-process utilization and memory, one snapshot
nvidia-smi pmon -s um -c 1

# 4. Retired pages: capacity permanently removed by ECC
nvidia-smi -q -d PAGE_RETIREMENT

# 5. ECC state: errors can precede capacity loss, and disabled ECC hides them
nvidia-smi --query-gpu=ecc.mode.current,ecc.errors.uncorrected.volatile.total --format=csv,noheader

# 6. Xid events: correlate OOM with driver-level faults
dmesg -T | grep -i "NVRM: Xid" | tail -20

Note: memory.reserved is not a standard nvidia-smi --query-gpu= field name; the reserved amount is exposed through NVML’s nvmlDeviceGetMemoryInfo_v2() (driver 510.39.01 and later) as nvmlMemory_v2_t.reserved, and through DCGM field DCGM_FI_DEV_FB_RESERVED (field 253). Verify the field against nvidia-smi --help-query-gpu on your driver before scripting against it.

The PyTorch OOM line itself is a diagnostic. It reports total capacity, memory already allocated, memory free, and memory reserved in total by PyTorch. Read it before running anything: if “reserved” is much larger than “allocated”, you are looking at fragmentation, not exhaustion.

If you have shell access to the process (or can reproduce), torch.cuda.memory_stats() exposes the allocator’s internal state. The keys most useful for fragmentation diagnosis are reserved_bytes.all.current versus allocated_bytes.all.current (large gap signals fragmentation), segment.all.current (total CUDA blocks held by the allocator), and oversize_allocations.all.current (requests too large for the pool).

How to diagnose it

  1. Confirm the failure is allocation, not corruption. A clean CUDA out of memory or cudaErrorMemoryAllocation is an allocation failure. illegal memory access or unspecified launch failure are application bugs or hardware faults (often Xid 13, 31, or 43) and need a different response. Check dmesg for Xid events first so you do not spend an hour on capacity planning for what is actually a pointer bug.

  2. Account for every byte. Take memory.used from check 1 and subtract the sum of used_gpu_memory across all compute apps from check 2. The remainder should be small: driver reserved plus context overhead. If the remainder is gigabytes with no listed process, you have a zombie CUDA context holding memory after a crash or SIGKILL. Kill the stale host PID if one still exists; if nothing is listed, a GPU reset or reboot is the reliable path (see the reset guide below). nvidia-smi --gpu-reset is disruptive: it fails while processes hold the device and resets state for the whole GPU.

  3. Decide: true exhaustion or fragmentation. Use the PyTorch error line or memory_stats:

    • Reserved approximately equals allocated, and both are near total capacity: true exhaustion. The workload genuinely does not fit, or it leaks.
    • Reserved much larger than allocated, with free memory visible: fragmentation. The pool is chopped into pieces too small for the failing request.
  4. Check for a leak. If reserved and allocated both grow steadily over hours on a workload that should be steady-state, sample memory.used every minute. A monotonic ramp with constant batch size is a leak (tensors kept alive by references, growing caches, or accumulating graphs). Estimate runway as (memory.total - memory.used) / growth_rate.

  5. Check capacity shrinkage. Compare memory.total to the SKU spec and check retired pages (check 4). Pages retired by ECC reduce the pool permanently and persist across reboots.

flowchart TD
  A[CUDA OOM in app log] --> B{Xid 13/31/43 in dmesg?}
  B -- yes --> C[App bug or GPU fault, not capacity]
  B -- no --> D[Sum per-process memory vs memory.used]
  D --> E{Large unaccounted gap?}
  E -- yes --> F[Zombie context: kill stale PID or reset GPU]
  E -- no --> G{PyTorch reserved vs allocated}
  G -- reserved much greater --> H[Fragmentation]
  G -- roughly equal --> I[True exhaustion or leak]
  I --> J{memory.used ramps over time?}
  J -- yes --> K[Memory leak in workload]
  J -- no --> L[Model or batch too large for framebuffer]

Metrics and signals to monitor

SignalWhy it mattersWarning sign
memory.used / memory.totalCapacity pressure and leak detectionSustained >90%, or steady linear growth on a steady workload
Per-process used_gpu_memoryAttributes VRAM to tenants; catches unexpected consumersSum far below memory.used (zombie context), or an unexpected PID
PyTorch reserved vs allocatedSeparates fragmentation from real usageReserved growing much faster than allocated
Retired page countPermanent capacity reductionAny increase, or retired_pages.pending = Yes
Uncorrected ECC errors (volatile)Data corruption and context death that can masquerade as OOM-adjacent crashesAny new event (delta > 0)
Xid eventsDistinguishes allocation failure from hardware/driver faultsAny Xid correlated in time with the OOM
utilization.gpu vs memory growthHigh memory with zero compute suggests a leak or zombie, not real workVRAM high, SM utilization 0%

Do not page on memory percentage alone: caching allocators legitimately pin 95-99% of VRAM on well-tuned training jobs. OOM detection belongs at the application log level, with VRAM trends as the leading indicator.

Fixes

Workload does not fit

Reduce per-step footprint: smaller batch size, gradient accumulation, mixed precision, activation checkpointing, or a smaller model shard. Verify headroom with actual numbers: the failing allocation size in the error line must fit within memory.free after subtracting context overhead for every process that will touch the GPU, plus the 200-500 MiB driver reserve.

Another tenant on the GPU

Identify the PID with --query-compute-apps and reconcile it against your scheduler. On shared nodes this is the most common cause of “random” OOMs: someone else’s job landed on the same device. The durable fix is scheduling discipline (exclusive allocation, or MIG on A100/H100 for hard partitioning), not killing processes.

Memory leak

Fix the workload: find the retained tensors or growing cache. As an operational bridge, restarting the job on a cadence shorter than the leak’s time-to-OOM keeps service up, but treat that as debt. Trend VRAM per job so the bridge has an expiry date.

Fragmentation

For PyTorch: torch.cuda.empty_cache() releases cached blocks back to the driver between phases (it does not free live tensors). For recurring fragmentation with variable batch sizes, PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:<N> limits block splitting and keeps large blocks intact; treat it as a last-resort tuning knob. Restarting the process also resets the allocator pool, which is why fragmentation OOMs “fix themselves” on restart and return days later.

Zombie contexts

Kill the stale host PID (PIDs shown by nvidia-smi are host PIDs; translate through the container runtime). If no process is listed but memory is held, the context is wedged in the driver: nvidia-smi --gpu-reset on Linux, or a node reboot if reset fails. This is disruptive to every other job on that GPU.

Capacity shrinkage from retired pages

If retired pages are approaching the 64-page driver limit or uncorrectable errors have occurred, plan GPU replacement. There is no software fix for permanently retired memory.

Prevention

  • Enable persistence mode (nvidia-smi -pm 1, via a systemd unit so it survives reboots) so contexts initialize predictably and monitoring has no gaps between jobs.
  • Baseline per workload. Record expected peak VRAM per job class. Alerts on deviation from baseline catch slow leaks days before the OOM.
  • Attribute memory to schedulers. On shared nodes, continuously compare --query-compute-apps output against what the scheduler thinks is placed. Unexpected consumers are found in minutes, not after an OOM.
  • Track retired pages and ECC deltas, not raw counters, so hardware-driven capacity loss is visible before it causes allocation failures.
  • Size with overhead in mind. Budget context overhead per process and 200-500 MiB of driver reserve on top of the model footprint. “Fits on paper” is not fits.
  • Sample fast. Xid events and allocation failures are second-scale events; one-minute metric resolution will miss the sequence.

How Netdata helps

  • Per-second memory.used/memory.total per GPU, so the slow ramp of a leak is visible as a trend instead of a surprise at 3 a.m.
  • Per-process GPU memory and utilization attribution, so you can see which PID consumed the framebuffer when the OOM fired, including processes that have since exited.
  • ECC error counters and retired page state alongside VRAM, which connects “the GPU has less memory than it used to” to the hardware events that caused it.
  • Xid event visibility from system logs correlated on the same timeline as the application OOM, so you can immediately separate allocation failure from Xid 13/31/43-style application bugs.
  • Cross-GPU comparison on multi-GPU nodes, which surfaces the single device running hot on memory while its siblings are fine.