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-master-process-dead ▌

Operations Guides

uWSGI master process dead: total outage while the PID file lingers

Nginx returns 502. The uWSGI PID file exists at its expected path, so monitoring reports the service as “up.” But nothing is serving traffic. The master process is dead, and the stale PID file is lying to you.

The master holds the listening socket, forks workers, enforces harakiri timeouts, handles graceful reloads, and serves the stats endpoint. When it dies, workers are gone. No connections are accepted. The outage is total.

The PID file is written at startup and cleaned up only on graceful shutdown. If the master is killed by the OOM-killer, receives SIGKILL, or segfaults, cleanup never runs. The file lingers, containing a PID that maps to no living process. Any monitoring that checks file existence rather than process liveness reports a false positive.

What this means

The PID file is a static reference for management commands (stop, reload). It contains a single integer, does not heartbeat, and does not reflect runtime state. test -f /path/to/uwsgi.pid tells you a file was written at some point, not that the process is alive.

The correct liveness test is kill -0. The kernel checks whether the PID exists in the process table and whether the caller has permission to signal it. Exit code 0 means alive; non-zero means dead or inaccessible.

Under systemd, the master typically restarts via Restart=always. But there is a window of unavailability between death and restart, and the restart may fail if the stale PID file remains or if the resource exhaustion that killed the master persists.

flowchart TD
    A["Total outage, PID file exists"] --> B{"kill -0 on PID"}
    B -->|exit 0| C["Process alive - other failure"]
    B -->|non-zero| D["Master dead - stale PID file"]
    D --> E["Check dmesg for OOM"]
    D --> F["Check journal for crashes"]
    C --> G["Check accepting workers"]
    C --> H["Check stats server"]

Common causes

CauseWhat it looks likeFirst thing to check
OOM-killer terminated the masterSudden death, no graceful shutdown, PID file lingersdmesg | grep -i oom
Segfault in C extension or uWSGI coreMaster crashes, workers die, no clean exitApplication and system logs for SIGSEGV
External SIGKILLManual kill -9, container runtime enforcement, or cgroup killjournalctl for process events
Disk fullMaster cannot write PID file or logs on restart, stale file remainsdf -h on the partition holding the PID file
Emperor mode vassal deathEmperor is alive, one application is downCheck the specific vassal process independently

Quick checks

Run these read-only commands to confirm the diagnosis. Adjust the PID file path and stats socket address to match your deployment. The paths below use /tmp/uwsgi.pid and 127.0.0.1:9191 as examples.

# THE check: test process liveness, not file existence
kill -0 "$(cat /tmp/uwsgi.pid)" 2>/dev/null && echo "alive" || echo "DEAD"

# Cross-check: is the stats server reachable? If not, the master is gone
uwsgi --connect-and-read 127.0.0.1:9191 | python3 -c "import sys,json; d=json.load(sys.stdin); print('master pid:', d['pid'])"

# Check for OOM-killer evidence in the kernel ring buffer
dmesg | grep -i oom | tail -20

# Check systemd journal for the service (adjust unit name)
journalctl -u uwsgi --since "1 hour ago" --no-pager | tail -50

# Is anything listening on the uWSGI socket?
ss -lxp | grep uwsgi

# Are any uWSGI processes running at all?
pgrep -a uwsgi

# Check available memory and swap (if OOM is suspected)
free -m

# Check disk space on the partition holding the PID file
df -h /tmp

# In Emperor mode: is the emperor alive but a vassal dead?
pgrep -a -f "uwsgi.*emperor"

How to diagnose it

  1. Confirm the master is dead. Run kill -0 on the PID from the pidfile. Non-zero exit means the master is gone. Do not trust the file’s existence.

  2. Check for OOM-killer evidence. Run dmesg | grep -i oom. The OOM-killer logs which process it killed and the memory state at the time. If the master PID appears, memory exhaustion killed it. Check whether workers were also being OOM-killed separately, which indicates systemic memory pressure rather than a single runaway process.

  3. Check the service journal. Run journalctl -u <your-uwsgi-unit> for the period around the outage. Look for crash signals (SIGSEGV, SIGABRT), systemd restart attempts, and throttle or backoff behavior. Systemd may have already restarted the master, closing the window of unavailability but leaving the root cause unaddressed.

  4. Check for orphaned workers. If no-orphans is not configured, worker processes may persist after master death as children of init (PID 1). Run pgrep -a uwsgi to check. These orphans are unmanaged: no harakiri enforcement, no respawn capability, no stats endpoint. They may continue serving traffic from inherited socket file descriptors but cannot recover from worker death and cannot be reloaded or stopped through normal uWSGI commands.

  5. In Emperor mode, check the vassal independently. The Emperor being alive does not mean any specific vassal is alive. Identify the dead vassal and check its logs separately. The Emperor attempts to respawn dead vassals, but a broken config or resource exhaustion can prevent successful restart. The --emperor-throttle setting controls the respawn rate for crashing vassals, and a vassal in a tight crash loop may be effectively down for much longer than the throttle interval suggests.

  6. Check for disk full conditions. If the partition holding the PID file or log directory is full, the master cannot write its PID file or logs on restart. This blocks recovery even after the original cause is addressed. Run df -h on the relevant partitions.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Master PID liveness (kill -0)Master death means total outage; top availability signalNon-zero exit code from kill -0
Stats server reachabilityMaster serves the stats endpoint; unreachable means master gone or hungConnection refused or timeout
Accepting worker countZero accepting workers means no requests can be served, even with master aliveCount drops to 0 and stays there
Worker respawn rateAbnormal churn indicates instability before total failureRate far exceeds expected max-requests cadence
System memory pressureOOM-killer targets high-RSS processesAvailable memory approaching zero, swap activity increasing
Kernel OOM events (dmesg)Direct evidence of OOM kills that caused or preceded the master deathNew OOM-killer entries in the kernel ring buffer

Fixes

Stale PID file after OOM-killer

The master was killed by the OOM-killer. The PID file is stale. Workers are gone.

  1. Confirm the master is dead with kill -0 on the PID from the pidfile.
  2. Remove the stale PID file. Only do this after confirming the master is truly dead, otherwise you delete a valid reference for a running process:
    rm /tmp/uwsgi.pid
    
  3. Restart the service via systemd or your process manager.
  4. Address the root cause. If workers grow RSS without bounds, configure reload-on-rss to recycle workers before the OOM-killer fires.

Segfault or signal kill

The master crashed due to a segfault (typically in a C extension) or was killed by an external signal.

  1. Remove the stale PID file after confirming the master is dead.
  2. Restart the service.
  3. Investigate the segfault. Check the uWSGI log for the signal number (11 means SIGSEGV, 6 means SIGABRT). If a specific C extension is implicated, check for known bugs or version mismatches. A SIGSEGV in production always warrants investigation for memory corruption.

Emperor mode vassal death

The Emperor is alive, but a vassal is dead and not restarting.

  1. Check the vassal’s config file for errors. A broken config prevents the vassal from starting.
  2. Check the Emperor’s log for vassal lifecycle events such as spawned, broken, cursed, and loyal.
  3. If the vassal is in a crash loop, the Emperor’s throttle mechanism limits respawn frequency. Check --emperor-throttle settings.
  4. Each vassal needs independent monitoring. Emperor liveness does not imply any vassal’s liveness.

Disk full

The master cannot write its PID file or logs on restart.

  1. Free disk space on the affected partition.
  2. Remove the stale PID file.
  3. Restart the service.
  4. Investigate what filled the disk: log rotation failures, spooler backlog, or core dumps from previous crashes.

Prevention

Use safe-pidfile instead of pidfile. Writes the PID file later in startup, after the application initializes. This prevents stale PID files from failed startups where the master writes the PID file but crashes during app loading. safe-pidfile (and safe-pidfile2) were backported to the 2.0 line in uWSGI 2.0.16; earlier 2.0.x releases do not have them.

Use vacuum to clean up on graceful shutdown. The vacuum option removes generated files and sockets, including the PID file, on shutdown. This prevents stale files from accumulating across normal restart cycles. However, vacuum only runs on graceful shutdown. If the master is killed by SIGKILL or the OOM-killer, cleanup handlers do not execute and the PID file persists regardless.

Prefer systemd Type=notify over Type=forking. With Type=notify, uWSGI communicates readiness to systemd via a notification socket, eliminating the PID file entirely. Systemd tracks the process directly through cgroup membership. This removes the stale PID file failure mode completely.

Monitor with kill -0, not file existence. Any monitoring check, health probe, or load balancer health check that relies on the PID file existing produces false positives during this failure mode. The check must test the actual process.

Set die-on-term for clean SIGTERM handling. By default in uWSGI 2.0.x, SIGTERM triggers a brutal reload rather than a clean shutdown. The die-on-term option makes SIGTERM shut down the instance properly, allowing cleanup handlers (including vacuum) to run and producing a clean state for restart. In the uWSGI development branch (post-2.0), die-on-term is marked deprecated, indicating SIGTERM is expected to exit by default there.

Consider no-orphans with caution. This option kills workers automatically when the master dies, preventing orphaned processes from lingering in an unmanaged state. The Debian manpage warns it “can be dangerous for availability,” meaning it may kill workers in scenarios where the master is temporarily unreachable but not truly dead. Evaluate this tradeoff for your deployment.

Prevent the OOM-killer from targeting the master. Configure reload-on-rss on workers to recycle them before RSS growth triggers system-wide memory pressure. The OOM-killer often targets the highest-RSS process, which in a uWSGI deployment is typically a worker rather than the master. But if the master’s RSS is inflated by shared memory regions or large configurations, it can become the victim. Monitor per-worker RSS growth and set recycling thresholds conservatively.

How Netdata helps

  • Per-second process monitoring detects master process disappearance within seconds. The process check queries the kernel process table directly, not filesystem artifacts like PID files.
  • Memory pressure correlation displays system memory, swap activity, and OOM-killer events alongside process state on the same timeline. When the master dies, you can immediately see whether memory exhaustion was the cause.
  • Worker-level metrics including accepting worker count, respawn rate, and harakiri rate distinguish a master death from worker starvation or a reload blackout. Zero workers with a dead master looks different from zero accepting workers with a live master.
  • Anomaly detection on process count and memory usage catches gradual RSS degradation before it triggers an OOM kill.
  • Emperor and vassal process tracking in Emperor mode ensures that a dead vassal is detected independently of the Emperor process, closing the gap where Emperor liveness masks vassal failure.