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 / uwsgi / uwsgi-worker-oom-killed ▌

Operations Guides

uWSGI worker killed by the OOM killer: mysterious respawns under memory pressure

You see worker respawns in the uWSGI log that do not match your max-requests cadence. The master reports workers dying from signal 9 (SIGKILL), and either harakiri is not configured or the harakiri count is zero. Workers come back, serve traffic for a while, then die again. The interval shrinks over time.

This is the signature of the Linux OOM killer targeting uWSGI workers. As total worker RSS grows beyond available RAM, the kernel swaps, performance degrades, and the OOM killer selects the largest process on the system. In a uWSGI deployment, that process is almost always a worker. The master respawns it, the new worker re-imports the application, RSS climbs back, and the cycle repeats.

The danger is that this looks like a uWSGI-internal problem when the root cause is system-level memory exhaustion. Without correlating per-worker RSS, swap activity, and kernel OOM events with respawn data, the diagnosis stalls.

What this means

uWSGI workers are full copies of the application loaded into memory, so they are typically the largest consumers on the host. Each OOM kill is a SIGKILL: no cleanup, no graceful shutdown, no chance for the application to release resources.

flowchart TD
    A["Worker RSS grows over hours/days"] --> B["Total worker RSS exceeds available RAM"]
    B --> C["Kernel begins swapping (si/so nonzero in vmstat)"]
    C --> D["Request latency spikes, GC pressure rises"]
    D --> E["OOM killer targets highest-RSS process (a worker)"]
    E --> F["Master logs: killed by signal 9, respawns worker"]
    F --> G["New worker re-imports app, RSS climbs back"]
    G --> B

The master sees the worker exit and logs the canonical pattern:

DAMN ! worker X (pid: Y) died, killed by signal 9 :( trying respawn ...
Respawned uWSGI worker X (new pid: Z)

The respawn is immediate. But uWSGI has no awareness of system-level memory pressure. If the system is still out of memory when the new worker starts, that worker can be killed again within seconds, creating a tight respawn loop. In this state, the master burns CPU on fork and exec while serving zero useful traffic.

This pattern is distinct from graceful recycling. max-requests and reload-on-rss produce controlled worker exits: the worker finishes its current request, then exits. An OOM kill is violent and mid-request: the client gets a broken response, and write errors may spike. The respawn_count counter increments in both cases, but only OOM kills produce killed by signal 9 in the uWSGI log and Out-Of-Memory entries in dmesg.

Common causes

CauseWhat it looks likeFirst thing to check
Application memory leakAll workers show linear RSS growth; sawtooth if max-requests is setPlot per-worker RSS over time
No memory recycling configuredRSS grows indefinitely, no sawtooth pattern, no periodic respawnsCheck config for reload-on-rss, max-requests, max-worker-lifetime
reload-on-rss threshold set too highWorkers exceed the configured limit but system OOMs firstCompare threshold against available RAM divided by worker count
Memory spike faster than master checkSudden OOM kill with no prior RSS warningLook for specific endpoints that allocate large objects
Container partial cgroup OOM killOnly one worker dies; container keeps running, degradedCheck dmesg on the host; verify memory.oom.group setting

Quick checks

These commands are read-only and safe to run during an incident.

# Confirm OOM kills in kernel log (may require root or journalctl -k on systemd hosts)
sudo dmesg | grep -i "out of memory\|oom-kill\|killed process"

# Check swap activity (si = swap-in, so = swap-out, in KB/s)
vmstat 1 5

# Per-worker RSS from uWSGI stats server (requires stats server enabled)
uwsgi --connect-and-read 127.0.0.1:9191 | jq '.workers[] | select(.pid > 0) | {id: .id, rss_mb: (.rss / 1048576)}'

# Total worker RSS
uwsgi --connect-and-read 127.0.0.1:9191 | jq '[.workers[] | select(.pid > 0) | .rss] | add / 1048576'

# Total respawn count across all workers
uwsgi --connect-and-read 127.0.0.1:9191 | jq '[.workers[].respawn_count] | add'

# Harakiri count (to distinguish timeout kills from OOM kills)
uwsgi --connect-and-read 127.0.0.1:9191 | jq '[.workers[].harakiri_count] | add'

# System memory overview
free -m

# Per-worker RSS from /proc (if stats server is unavailable; PID file path varies by deployment)
for pid in $(pgrep -P $(cat /tmp/uwsgi.pid)); do
    awk '/VmRSS/ {print "pid='$pid' rss=" $2 "kB"}' /proc/$pid/status
done

How to diagnose it

  1. Confirm the OOM kill. Run sudo dmesg | grep -i oom or journalctl -k | grep -i oom. Look for entries that name a uWSGI worker PID. If neither shows OOM kills, the signal 9 deaths may have another cause: a monitoring agent, an external script, or a container runtime enforcing limits.

  2. Check swap activity. Run vmstat 1 5 and look at the si and so columns. Any sustained nonzero swap activity means the system is already past the performance cliff. Swapping makes every request slower, which increases the chance that more workers accumulate in memory simultaneously.

  3. Measure total worker RSS. Sum the rss field across all alive workers from the stats server. Compare against available RAM from free -m (the available column, not free). RSS includes shared pages from copy-on-write, so the sum over-reports actual memory usage. Use /proc/<pid>/smaps_rollup for proportional set size (PSS) if you need more accurate accounting.

  4. Determine whether recycling is configured. Check the uWSGI config for reload-on-rss, max-requests, and max-worker-lifetime. If none are set, workers run forever and RSS never resets. That is the most common cause of gradual OOM cycles.

  5. Correlate respawn count with harakiri count. If respawn_count is rising but harakiri_count is zero, the respawns are not timeout kills. If respawn_count tracks harakiri_count closely, you have a harakiri death spiral, not an OOM problem. See the related guide on harakiri death spiral.

  6. Look for per-worker RSS divergence. If one worker is much larger than the others, a specific request triggered a large allocation. Check the uri field on the large worker in stats. Uniform growth across all workers points to a systematic leak or fragmentation.

  7. Check for container partial kills. If running in a container (Docker, Kubernetes), the cgroup OOM killer may kill a single worker process rather than the entire container. The pod stays running in a degraded state. The container is not restarted. Check dmesg on the host for oom-kill entries targeting worker PIDs.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Per-worker RSSShows individual memory growthLinear growth across all workers over hours
Total worker RSSWhat pushes the system over the edgeApproaching available RAM
Swap usage (si/so from vmstat)Performance cliff indicatorAny sustained nonzero swap activity
Respawn countCounts all worker deathsSpikes that do not correlate with harakiri count
Harakiri countDistinguishes timeout kills from OOM killsZero harakiri with rising respawns means not timeout
OOM events in dmesgDefinitive confirmationEntries naming worker PIDs
Write errorsMid-request kills produce broken responsesSpike coinciding with respawn events

Fixes

Configure reload-on-rss

reload-on-rss triggers a graceful worker exit when that worker’s RSS exceeds the threshold (specified in MB). The worker finishes its current request, then exits and is respawned with fresh memory. This is the standard defense against Python memory fragmentation and slow leaks.

# Recycle a worker when its RSS exceeds 512 MB
reload-on-rss = 512

Set the threshold below the danger zone. With N workers, total worker RSS at the threshold is approximately N times the threshold value. That number must be well under available RAM. For example, with 8 workers and 512 MB each, you need at least 4 GB for workers alone, plus headroom for the OS, page cache, and other processes.

Tradeoff: reload-on-rss may not fire before an OOM kill. The regular check runs at the end of each request inside the worker; for evil reloads, the worker’s mem_collector thread samples RSS every mem-collector-freq (default 3 seconds) and the master compares each master cycle (default 1 second). If a single request allocates hundreds of MB in under a second, the worker can exceed system RAM before the next check.

Set max-requests and max-worker-lifetime

max-requests recycles a worker after it serves N requests. max-worker-lifetime recycles a worker after N seconds. Both produce the same effect: periodic RSS reset. Use them together or as alternatives to reload-on-rss.

max-requests = 1000
max-worker-lifetime = 3600

Note that max-worker-lifetime is disabled by default. min-worker-lifetime defaults to 10 seconds and gates recycling: max-requests (and reload-on-rss / reload-on-as) do not trigger until the worker has been alive for at least that long.

Tradeoff: If the leak rate is high, the interval between recycles may still let RSS grow too large. Calculate peak RSS as leak_rate * max_requests and verify it fits in your memory budget.

Use cgroup memory limits

Cgroup limits are enforced by the kernel and cannot be missed by timing gaps in the master loop.

If your deployment is managed by systemd, Docker, or Kubernetes, set memory limits at that layer:

# systemd unit override
[Service]
MemoryMax=4G

# Docker
docker run --memory=4g ...

# Kubernetes
resources:
  limits:
    memory: "4Gi"

When a cgroup memory limit is hit, the OOM killer activates within the cgroup. In cgroup v2, setting memory.oom.group = 1 causes the kernel to kill all processes in the cgroup together rather than picking a single victim. This avoids the partial-kill problem where the master survives but workers die one by one in a degraded state.

Tradeoff: A hard cgroup limit that is too low will cause OOM kills even without a leak. Size it based on measured peak RSS plus headroom.

Do not use evil-reload-on-rss

evil-reload-on-rss works like reload-on-rss but kills the worker with SIGKILL mid-request instead of waiting for the request to finish. The client gets a broken response. The job of killing processes under memory pressure is better left to the Linux OOM killer, which has system-wide visibility that uWSGI lacks.

If you see intermittent client errors and notice evil-reload-on-rss in the config, switch to reload-on-rss (graceful) and investigate write errors.

Do not use limit-as to prevent OOM

limit-as sets a POSIX setrlimit() on the worker’s virtual address space (VSZ), not on physical RSS. It does not prevent OOM kills. Worse, when a worker hits the VSZ limit, it can enter a state where every request fails with MemoryError rather than being cleanly recycled. The worker stays alive but serves no useful traffic.

Fix the actual leak

Recycling is a band-aid. The leak itself needs profiling and fixing. Common sources in Python applications:

  • Global caches (dicts, lists) that only grow and never evict
  • Unreleased database connections (connection pool leaks in exception handlers)
  • C extension memory bugs (not tracked by Python’s garbage collector)
  • Circular references involving __del__ methods that the GC cannot collect

Use tracemalloc (Python standard library) or objgraph to identify which objects accumulate. Compare snapshots at intervals to find the growth source.

Prevention

  • Monitor per-worker RSS growth rate. Alert on a sustained positive slope over hours. The slope tells you how much runway you have before OOM.
  • Set reload-on-rss to a value that keeps total worker RSS under 70% of available RAM.
  • Verify recycling is actually happening. A sawtooth RSS pattern is healthy. A flat line at a high value means either no recycling or the threshold is never reached.
  • In containers, enable memory.oom.group (cgroup v2) or accept that partial worker kills will degrade the pod without restarting it.
  • Track swap usage alongside RSS. Any nonzero si/so in vmstat means the system is past the performance cliff. Alert before OOM, not after.

How Netdata helps

Netdata surfaces the signals that distinguish an OOM cycle from other respawn causes:

  • Per-worker RSS collected at per-second resolution from the uWSGI stats server, showing the sawtooth or steady growth pattern that precedes OOM.
  • System-level swap and memory pressure from the host, correlated with uWSGI worker metrics on the same dashboard so you can see when swap activity begins relative to RSS growth.
  • OOM killer events from the kernel log, annotated on the timeline so you can match kill events to worker respawn spikes.
  • Respawn rate from the stats server, differentiated from harakiri-driven respawns so you know whether workers are dying from memory or from timeouts.
  • Anomaly detection on RSS growth rate, flagging slow leaks before they become an OOM incident.