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 / docker / docker-oomkilled

Operations Guides

Docker OOMKilled: causes, detection, and prevention

A container exits with code 137 and restarts. The application loses in-memory state. Dependent services start failing. The restart loop begins. This is the OOMKilled pattern, and it is one of the most common and most misdiagnosed failure modes in Docker environments.

This article covers how to confirm an OOM kill, distinguish it from an external SIGKILL, understand why it happened, and prevent recurrence. It also covers the JVM-in-container memory mismatch, which is responsible for a large share of OOM kills in Java workloads.


What this means

When a container exceeds its cgroup memory limit, the Linux kernel OOM killer terminates one or more processes in that cgroup. Docker records this in the container’s state as OOMKilled: true. The container exits with code 137 (SIGKILL).

The key distinction: exit code 137 means the process received SIGKILL, but SIGKILL can come from two sources. The kernel OOM killer sends it when memory is exhausted. An external actor (operator, orchestrator, or another process) can also send SIGKILL directly. These look identical at the exit code level. The OOMKilled flag in docker inspect is what separates them.

OOM kills cause immediate, hard termination. There is no graceful shutdown, no flush of in-memory state, no chance for the application to clean up. For stateful workloads, this means data loss or corruption. For stateless workloads, it means a restart and a brief service interruption.


Common causes

CauseWhat it looks likeFirst thing to check
Memory limit set too lowOOMKilled shortly after startup or under normal loaddocker inspect limit vs actual usage under load
Application memory leakOOMKilled after hours or days of running; memory grows steadilyMemory usage trend over time
JVM heap + overhead exceeds limitOOMKilled in Java containers; JVM ignores cgroup limitJVM flags; heap + metaspace + native overhead vs limit
Traffic spike causing abnormal allocationOOMKilled during peak load onlyCorrelate OOM time with request rate
Child process OOM where parent survivesContainer appears running but degraded; child process killedCheck if PID 1 is still running but a worker process died
System-wide memory pressure (no per-container limit)Multiple containers OOM killed simultaneouslyHost memory usage; which containers have no limit set

Quick checks

# Confirm OOMKilled status for a specific container
docker inspect --format '{{.State.OOMKilled}}' <container_id>

# Check exit code alongside OOMKilled
docker inspect --format 'OOMKilled={{.State.OOMKilled}} ExitCode={{.State.ExitCode}}' <container_id>

# Find all containers that have been OOM killed
for c in $(docker ps -aq); do
  oom=$(docker inspect --format '{{.State.OOMKilled}}' "$c")
  [ "$oom" = "true" ] && docker inspect --format '{{.Name}} OOMKilled={{.State.OOMKilled}}' "$c"
done

# Check memory limit and current usage for a running container
docker stats --no-stream --format "table {{.Name}}\t{{.MemUsage}}\t{{.MemPerc}}" <container_id>

# Check memory limit set on a container
docker inspect --format '{{.HostConfig.Memory}}' <container_id>
# Returns 0 if no limit is set; otherwise bytes

# Check kernel OOM events in dmesg
dmesg | grep -i "oom\|out of memory\|killed process"

# Check restart count (OOM kills cause restarts if restart policy is set)
docker inspect --format '{{.RestartCount}}' <container_id>

# Check cgroup memory limit directly (cgroups v1)
cat /sys/fs/cgroup/memory/docker/<container_id>/memory.limit_in_bytes

# Check cgroup memory current usage (cgroups v1)
cat /sys/fs/cgroup/memory/docker/<container_id>/memory.usage_in_bytes

For the dmesg output, look for oom-kill:, invoked oom-killer:, and Killed process <pid> entries. These confirm the kernel OOM killer acted and identify which process was killed.


How to diagnose it

flowchart TD
    A[Container exited with code 137] --> B{OOMKilled = true?}
    B -- Yes --> C[Kernel OOM kill confirmed]
    B -- No --> D[External SIGKILL - check orchestrator, operator, or watchdog]
    C --> E{Memory limit set?}
    E -- No limit --> F[System-wide OOM - check host memory pressure]
    E -- Limit set --> G{Is workload a JVM?}
    G -- Yes --> H[Check heap + metaspace + native overhead vs limit]
    G -- No --> I{Memory growing over time?}
    I -- Yes --> J[Memory leak - profile the application]
    I -- No --> K{OOM during peak load?}
    K -- Yes --> L[Limit too low for peak - add headroom or scale]
    K -- No --> M[Limit too low for baseline - right-size the limit]

Step 1: Confirm the kill source. Run docker inspect --format '{{.State.OOMKilled}}' <container_id>. If true, the kernel OOM killer acted. If false but exit code is 137, the SIGKILL came from outside the cgroup. Check orchestrator logs, operator history, or any watchdog processes.

Step 2: Check whether a memory limit was set. Run docker inspect --format '{{.HostConfig.Memory}}' <container_id>. A value of 0 means no per-container limit was set. In this case, the container was killed because the host ran out of memory. Check host-level memory pressure and which other containers or processes were competing.

Step 3: Check the memory usage trend before the kill. If you have metrics, look at memory usage in the minutes before the OOM kill. Steady growth over hours suggests a leak. Sudden spike suggests a traffic event or abnormal input. Flat usage near the limit suggests the limit is simply too low for the workload.

Step 4: For JVM workloads, check the full memory footprint. The JVM heap is not the only memory the JVM uses. A container limit of 2GB with -Xmx1800m will OOM kill because the JVM also needs metaspace, code cache, thread stacks, and native memory. The total footprint is typically heap + 20-30% overhead at minimum. Check what JVM flags are set inside the container:

docker exec <container_id> ps aux | grep java
# Look for -Xmx, -Xms, -XX:MaxMetaspaceSize flags

If no explicit heap flags are set, the JVM may be sizing itself based on host memory rather than the cgroup limit. This is a common source of OOM kills in Java containers. JVM versions that are not cgroup-aware will read total host RAM and set heap accordingly, then exceed the container limit.

Step 5: Check for child process OOM. If PID 1 in the container is a process manager or shell, the OOM killer may have killed a child worker process rather than PID 1. The container stays “running” but is degraded. Check:

docker inspect --format '{{.State.OOMKilled}}' <container_id>
# May still be true even if container is currently running
docker logs <container_id> --tail 50
# Look for worker process crash messages

Step 6: Correlate with dmesg. The kernel logs the OOM kill event with the process name, PID, and memory statistics. This is the most authoritative source:

dmesg | grep -i "oom\|killed process" | tail -20

Metrics and signals to monitor

SignalWhy it mattersWarning sign
OOMKilled flag (docker inspect)Confirms memory kill vs external SIGKILLAny true value in production
Container memory usage vs limitLeading indicator before OOM killUsage above 75% of limit
Container restart countOOM kills cause restarts if restart policy is setIncreasing count, especially with exit code 137
Exit codeDistinguishes OOM (137) from graceful stop (143) or app error (1)Code 137 without OOMKilled=true needs separate investigation
Host memory usageSystem-wide pressure can kill containers without per-container limitsHost memory above 85%
dmesg OOM eventsKernel-level confirmation and process detailsAny OOM kill event
Memory usage trend (rate of change)Distinguishes leak from undersized limitSteady growth over hours without plateau
JVM heap flags (for Java containers)Ensures JVM is not sizing heap against host RAMNo -Xmx set, or -Xmx plus overhead exceeds container limit

Fixes

If the limit is too low for the workload

Increase the memory limit with headroom. A container running at 95% of its limit has no buffer for GC pauses, traffic spikes, or normal allocation variance. A reasonable starting point is to set the limit at 150% of the observed peak usage under normal load.

# Update a running container's memory limit (takes effect immediately)
docker update --memory 2g --memory-swap 2g <container_id>

Note: --memory-swap should equal --memory if you want to disable swap for the container, or be set higher if swap is acceptable. Setting --memory-swap equal to --memory disables swap.

If you are managing containers via Compose or run commands, update the mem_limit or --memory flag and redeploy.

If the cause is a JVM memory mismatch

Set explicit heap bounds and ensure the JVM is cgroup-aware:

  • Use -Xmx and -Xms to bound the heap explicitly. Leave at least 25-30% of the container limit for non-heap memory.
  • Use -XX:+UseContainerSupport so the JVM reads cgroup limits rather than host RAM. Enabled by default in JDK 10 and later, and backported to JDK 8u191+ (JDK-8146115). On older JVMs (pre-8u191) this flag is unavailable; set -Xmx explicitly instead.
  • Set -XX:MaxMetaspaceSize to cap metaspace growth.

Example: for a 2GB container limit, a conservative JVM configuration might be -Xmx1200m -Xms1200m -XX:MaxMetaspaceSize=256m. This leaves roughly 600MB for code cache, thread stacks, and native overhead.

If the cause is a memory leak

A memory limit increase buys time but does not fix a leak. The container will OOM kill again, just later.

Steps:

  1. Capture a heap dump or memory profile before the next OOM kill.
  2. For JVM: use -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heap.hprof to capture a dump automatically.
  3. Analyze the dump to identify the leak source.
  4. Fix the application code or configuration causing unbounded allocation.

In the short term, increasing the limit and adding a restart policy gives the application more runway while the fix is developed.

If the cause is system-wide memory pressure

If no per-container limit is set and the host runs out of memory, the kernel OOM killer chooses victims based on its own heuristics. This is unpredictable. The fix is to set explicit memory limits on all containers so the kernel can make informed decisions, and to ensure the sum of all container limits does not exceed available host memory.

# Find containers with no memory limit set
for c in $(docker ps -q); do
  limit=$(docker inspect --format '{{.HostConfig.Memory}}' "$c")
  name=$(docker inspect --format '{{.Name}}' "$c")
  [ "$limit" = "0" ] && echo "No limit: $name"
done

If a child process was OOM killed but PID 1 survived

The container is running but degraded. The application may be silently broken. Options:

  • Configure the container so that a child process death causes PID 1 to exit (and trigger a restart).
  • Add a health check that detects the degraded state and marks the container unhealthy.
  • Use a process supervisor inside the container that restarts the child process.

Prevention

Set explicit memory limits on every production container. A container without a limit can consume all host memory and trigger system-wide OOM kills affecting unrelated workloads.

Add headroom above observed peak usage. Measure peak memory usage under realistic load, then set the limit at 150% of that value. This absorbs GC pauses, traffic spikes, and normal variance.

Configure log rotation. Unbounded container logs consume disk, not memory, but disk exhaustion can cause containers to crash in ways that look like other failures. Keep this separate from OOM investigation.

For JVM workloads, always set -Xmx explicitly. Do not rely on the JVM’s automatic sizing. Verify the JVM is reading cgroup limits by checking the effective heap size at startup in container logs.

Monitor memory usage trend, not just current usage. A container at 60% memory usage that is growing 5% per hour will OOM kill in roughly 8 hours. Trend monitoring catches this before the kill.

Alert before the kill, not after. Set alerts at 75-80% of the memory limit. By the time OOMKilled fires, the damage is done.

Test memory limits under load before production deployment. Run load tests against the container with the production memory limit set. Confirm the container survives peak load with headroom remaining.

Document memory budgets for JVM containers. For each Java service, record: heap max, metaspace max, expected native overhead, and container limit. Review this when the JVM version or application changes.


How Netdata helps

Netdata collects cgroup-level memory metrics per container, which makes it practical to catch OOM conditions before they happen:

  • Container memory usage vs limit: Netdata tracks memory.usage and memory.limit per container cgroup, so you can see the ratio trending toward 100% before the kill occurs.
  • OOMKilled events: Netdata surfaces the OOMKilled state change as a container state event, which can trigger alerts.
  • Restart count tracking: Rising restart counts correlated with exit code 137 in Netdata’s container state charts confirm a recurring OOM kill pattern.
  • Host memory pressure: Netdata’s host memory charts show system-wide pressure, which helps distinguish per-container OOM from system-wide exhaustion.
  • Anomaly detection on memory trends: Netdata’s anomaly advisor can flag containers whose memory usage is growing at an unusual rate, giving earlier warning than threshold-based alerts alone.

The Netdata solution

Docker monitoring with Netdata

Netdata auto-discovers every container and monitors Docker with per-second CPU, memory, disk, and network metrics plus ML anomaly detection. Catch disk exhaustion, OOM cascades, daemon hangs, and log explosions before they take the host down.