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-respawn-rate-high ▌

Operations Guides

uWSGI respawn rate high: telling crashes apart from max-requests recycling

You see respawn_count climbing across your uWSGI workers. The question is whether workers are crashing or whether uWSGI is doing what you configured it to do.

respawn_count is a single monotonic counter per worker slot that increments for every reason a worker can die and come back: max-requests recycling, reload-on-rss memory recycling, harakiri timeout kills, segfaults, OOM kills, and manual kill -9. The raw number tells you workers are churning. It does not tell you why.

Without knowing your max-requests configuration and subtracting the harakiri delta, the respawn signal is uninterpretable noise. This article walks through the arithmetic and the timing patterns that separate healthy recycling from real failures.

What this means

respawn_count lives on the worker slot struct, not on the process. It persists through respawns and is never reset. The stats server exposes it as workers[].respawn_count (per-worker, monotonic). There is no separate counter for crashes versus intentional recycling. You must infer the cause by combining three signals:

  1. Your max-requests configuration. If recycling is configured, some respawns are expected. If it is not, every respawn is abnormal.
  2. The harakiri_count delta. Every harakiri kill increments respawn_count. Subtract the harakiri rate to see what remains.
  3. The timing pattern. Staggered, periodic respawns at a predictable cadence indicate healthy recycling. A simultaneous spike across all workers indicates a mass-kill event: a deploy, an OOM-killer sweep, or all workers hitting max-requests at once without a delta offset.

The diagnostic arithmetic is straightforward. Compute the expected recycling rate from your traffic volume and max-requests setting, then subtract the harakiri delta from the measured respawn rate. What remains above the expected recycling baseline is crash-driven or reload-on-rss-driven churn.

Common causes

CauseWhat it looks likeFirst thing to check
max-requests recyclingSteady, periodic respawns at predictable cadence. harakiri_count flat. Workers exit gracefully (finish current request, then exit).Compute expected rate: total_rps / max_requests. Compare to measured respawn delta.
reload-on-rss recyclingPeriodic respawns correlated with RSS crossing the threshold. Sawtooth RSS pattern per worker. harakiri_count flat.Per-worker RSS trend versus configured reload-on-rss value.
Harakiri killsRespawn delta tracks harakiri_count delta closely (approximately 1:1). Workers die mid-request. avg_rt approaching harakiri timeout.harakiri_count delta. Downstream dependency health. See uWSGI harakiri death spiral.
Application crash (segfault, SIGABRT)Respawn rate exceeds expected recycling after subtracting harakiri delta. uWSGI log shows DAMN ! worker N died, killed by signal 11 (or 6).uWSGI log for the signal number. Application logs for tracebacks.
OOM killWorkers killed by kernel. No graceful exit preceding respawn. dmesg shows oom-killer entries.dmesg -T | grep -iE "out of memory|killed process" or journalctl -k | grep -iE "out of memory|killed process". Compare per-worker RSS to available memory.
Mass-kill (deploy, OOM sweep)All workers respawn simultaneously. Sudden spike across every worker slot at the same timestamp.Deployment logs, process manager events, dmesg for kernel-level kills.

Quick checks

# Total respawn count and harakiri count across all workers
uwsgi --connect-and-read 127.0.0.1:9191 | jq '{total_respawns: ([.workers[].respawn_count] | add), total_harakiri: ([.workers[].harakiri_count] | add)}'

# Per-worker breakdown: respawn_count, harakiri_count, requests, RSS
uwsgi --connect-and-read 127.0.0.1:9191 | jq '.workers[] | select(.pid > 0) | {id: .id, respawns: .respawn_count, harakiri: .harakiri_count, requests: .requests, rss_mb: (.rss / 1048576)}'

# Total request count (for computing expected recycling rate)
uwsgi --connect-and-read 127.0.0.1:9191 | jq '[.workers[].requests] | add'

# Check for OOM kills in kernel log
dmesg -T | grep -iE "out of memory|killed process" | tail -20

# Check uWSGI log for crash patterns (violent deaths vs graceful exits)
grep -E "DAMN ! worker|killed by signal|NO MERCY" /var/log/uwsgi/*.log | tail -20

Adjust the stats socket address (127.0.0.1:9191) to match your deployment. If your stats server uses a UNIX socket, substitute uwsgi --connect-and-read /path/to/stats.sock. If you enabled --stats-http, curl http://127.0.0.1:9191 also works.

How to diagnose it

Step 1: Establish the expected recycling rate

If max-requests is configured, compute the expected recycling rate:

expected_total_recycling_rate = total_requests_per_second / max_requests

For example, with 100 req/s fleet-wide and max-requests = 1000, expect approximately 0.1 respawns per second (one recycling event every 10 seconds). This assumes traffic is evenly distributed across workers.

Step 2: Measure the actual respawn delta

Poll respawn_count twice with a known interval (60 seconds is a good starting point) and compute the delta. Compare the measured rate to the expected recycling rate from Step 1.

Step 3: Subtract the harakiri delta

Pull harakiri_count over the same interval. Every harakiri kill increments respawn_count, so subtract the harakiri delta from the respawn delta:

non_harakiri_respawns = respawn_delta - harakiri_delta

Compare non_harakiri_respawns to the expected recycling rate from Step 1. If they are close, your respawns are healthy max-requests or reload-on-rss recycling. If non_harakiri_respawns significantly exceeds the expected recycling rate, you have crash-driven respawns.

Step 4: Classify the remainder

The following decision tree summarizes the classification logic:

flowchart TD
    A["respawn_count delta rising"] --> B{"max-requests configured?"}
    B -- No --> C["All respawns are abnormal.
Investigate crashes and OOM."] B -- Yes --> D["Compute expected rate:
total_rps / max_requests"] D --> E{"Measured rate close to expected
AND harakiri delta is zero?"} E -- Yes --> F["Healthy max-requests recycling.
No action needed."] E -- No --> G["Subtract harakiri delta
from respawn delta"] G --> H{"Remaining respawns > 0?"} H -- No --> I["Harakiri-driven respawns.
Check downstream dependencies."] H -- Yes --> J["Crash or mass-kill event.
Check logs and dmesg."] J --> K{"Simultaneous across
all worker slots?"} K -- Yes --> L["Mass-kill: deploy, OOM sweep,
or max-requests without delta."] K -- No --> M["Individual crashes.
Check signal number in uWSGI log."]

Step 5: Correlate with logs and system signals

For crash-driven respawns, the uWSGI log distinguishes violent from graceful deaths:

  • Graceful exit (max-requests, reload-on-rss): worker finishes its current request, exits cleanly, master forks a replacement. Log shows Respawned uWSGI worker N (new pid: XXXX) without a preceding death message.
  • Harakiri kill: worker exceeds the timeout, master sends SIGKILL. Log shows HARAKIRI ON WORKER N (and a traceback if harakiri-verbose is enabled). See uWSGI harakiri-verbose diagnosis.
  • Crash (segfault, abort): log shows DAMN ! worker N died, killed by signal 11 (SIGSEGV) or signal 6 (SIGABRT). Always investigate these.
  • Reload mercy timeout: worker took too long to die during a graceful reload (exceeding worker-reload-mercy, whose default is 60 seconds across 2.0.x). Log shows NO MERCY !!! as uWSGI escalates to SIGKILL.

For OOM-driven respawns, check dmesg or journalctl -k for kernel oom-killer entries targeting worker PIDs. The OOM-killer targets the highest-RSS process first, so with many uWSGI workers it picks one off at a time, creating a slow churn that looks like random respawns without any application-level signal.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
respawn_count delta (summed across workers)Primary churn indicator. Must be interpreted against expected recycling rate, not in isolation.Rate significantly exceeds total_rps / max_requests.
harakiri_count delta (summed across workers)Every harakiri is also a respawn. Subtract this from respawn delta to isolate non-harakiri causes.Non-zero delta in a normally-zero-harakiri deployment.
Per-worker requests (rate of change)Needed to compute expected recycling rate. Also reveals stuck workers (frozen request count while others progress).One worker with zero request growth while others are active.
Per-worker RSSDetects reload-on-rss triggers and memory leaks driving recycling.Steady linear growth across all workers (memory leak sawtooth).
Application exception rate (workers[].exceptions)Crashes are sometimes preceded by a rising exception rate. Correlating exceptions with respawns narrows the code path.Sustained increase from baseline.
dmesg OOM eventsKernel-level kills are invisible in uWSGI stats. The only evidence is in the kernel log.Any Out of memory or Killed process entry targeting a worker PID.
last_spawn timestampsShows whether respawns are staggered (healthy) or simultaneous (mass-kill).All workers with nearly identical spawn timestamps.

Fixes

Respawn rate is at the expected recycling rate

No fix needed. This is max-requests or reload-on-rss working as designed. If the recycling cadence is too aggressive (capacity dips during peak traffic), raise max-requests or increase the reload-on-rss threshold. Each respawn briefly reduces capacity by one worker, so high recycling rates under heavy load can cause intermittent latency spikes.

Respawn rate matches harakiri delta 1:1

Workers are being killed by the timeout watchdog, not crashing. The root cause is downstream: requests are hanging on a database, external API, or lock. Do not disable harakiri to silence the respawns. Investigate the blocked syscall with harakiri-verbose and fix the downstream dependency. See uWSGI harakiri death spiral and uWSGI HARAKIRI ON WORKER.

Non-harakiri respawns exceed expected recycling rate

Workers are crashing. Check the signal number in the uWSGI log. Signal 11 (SIGSEGV) or signal 6 (SIGABRT) in production points to a C extension bug, a memory corruption issue, or a deserialization crash. Common culprits: numpy operations on malformed arrays, lxml parsing of adversarial XML, database driver segfaults on connection pool exhaustion, and pickle/yaml deserialization of malicious payloads.

If crashes started after a deployment, roll back and test in staging with the same input that triggered the crash.

All workers respawn simultaneously

This is a mass-kill event. Three common causes:

  1. Deploy or reload without chain reload. A graceful SIGHUP kills all workers at once. Use --chain-reload to cycle workers one at a time and maintain capacity during deploys.
  2. OOM-killer sweep. Total worker RSS exceeded available memory. The kernel kills multiple processes in rapid succession. Lower max-requests or reload-on-rss to recycle workers before they collectively exhaust memory. Check that total worker RSS stays below 70% of system RAM.
  3. All workers hit max-requests simultaneously. Without max-requests-delta, workers that start together and receive balanced load all hit the limit at the same time, causing a brief total outage during respawn. This is a known problem documented in uWSGI issue #648 (unbit/uwsgi#648).

Staggering max-requests recycling

max-requests-delta adds (worker_id - 1) * delta to each worker’s max-requests value, staggering restarts so they do not all recycle at once. For example, with max-requests = 1000 and max-requests-delta = 100, worker 1 recycles at 1000 requests, worker 2 at 1100, worker 3 at 1200, and so on.

max-requests-delta was added in uWSGI 2.0.29 (backported from master). On earlier 2.0.x builds it is an unknown directive, so strict = true rejects it at startup with an “unknown config directive” error. If you use strict mode on a pre-2.0.29 build, verify whether your uWSGI version accepts this directive before relying on it.

The min-worker-lifetime directive (default 10 seconds in the uWSGI source) prevents workers from being recycled before they have run for a minimum period; max-requests and reload-on-rss recycling only take effect after this minimum uptime. Verify the default on your installed version with uwsgi --help | grep min-worker-lifetime.

Prevention

  • Correlate respawns with harakiri count. If you only alert on raw respawn rate, you will page on healthy recycling and miss crash loops that happen to produce a similar count. The subtraction (respawn_delta - harakiri_delta) is the minimum viable correlation.
  • Compute and document the expected recycling rate for each service based on its max-requests setting and typical traffic. Store it alongside the alert threshold so on-call engineers can distinguish expected from unexpected without doing arithmetic at 3 a.m.
  • Stagger recycling with max-requests-delta to prevent simultaneous mass-recycle events. Verify compatibility with your uWSGI version and strict-mode configuration first.
  • Monitor dmesg for OOM events. The kernel oom-killer is invisible in uWSGI stats. A slow OOM-kill cycle produces mysterious respawns with no application-level signal.
  • Use --chain-reload for deployments to avoid mass-kill events from simultaneous worker replacement.

How Netdata helps

  • Per-second respawn_count collection makes the exact timing of respawn events visible. Simultaneous spikes across all workers (mass-kill) are immediately distinguishable from staggered periodic patterns (healthy recycling).
  • Correlating respawn_count with harakiri_count in the same dashboard makes the subtraction visual. If the two lines track each other, respawns are harakiri-driven. If respawn_count rises independently of harakiri_count, workers are crashing or hitting reload-on-rss.
  • Per-worker RSS charts show the sawtooth pattern of memory-triggered recycling and reveal whether reload-on-rss is the driver.
  • Request throughput alongside respawn rate lets you compute the expected recycling rate in real time and spot when actual respawns deviate from it.
  • Anomaly detection on respawn_count can flag unusual churn patterns even when the absolute rate looks normal.
  • Kernel memory metrics from the same agent let you correlate uWSGI-level respawns with system-level memory pressure and OOM conditions without switching to dmesg.