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 / php-fpm / php-fpm-crash-loop ▌

Operations Guides

PHP-FPM crash loop and fork storm: workers dying faster than they serve

Workers start, accept a request, hit a crash-inducing code path, die with SIGSEGV or SIGBUS, and get respawned by the master. The replacement picks up another request from the same traffic pattern, hits the same code, and dies again. The pool spends more time forking and dying than serving. Each fork costs the kernel time to copy page tables and costs PHP time to initialize the runtime. Users see intermittent 502s while total processes oscillates and the accepted conn rate collapses.

Unlike worker exhaustion (workers are busy but alive) or a memory leak spiral (workers grow over hours), here workers die in seconds or milliseconds. The crash is almost always tied to a specific request pattern. The fix is to identify the crashing URI from the full status page, block it at the web server, and then repair the extension or code that segfaults.

This article assumes you understand the master-worker model and that each worker handles exactly one request at a time. For that background, see how PHP-FPM actually works in production.

What this means

A PHP-FPM worker exits abnormally when the PHP runtime or a loaded extension crashes. The master process reaps the dead child via SIGCHLD and forks a replacement to keep the pool at its configured size. The replacement inherits traffic from the listen socket, hits the same crashing code, and exits again. There is no exponential backoff in the master’s respawn logic. If the request pattern keeps arriving, the pool enters a tight die-respawn loop.

At a high crash rate, system CPU climbs from constant fork() calls, opcache effectiveness drops because new workers must warm up, and effective throughput collapses. The master is still alive and the ping endpoint may still respond, so a basic liveness check will not flag the problem. You need process counts, exit signals, and per-worker request URIs.

If emergency_restart_threshold and emergency_restart_interval are configured, the master will eventually execvp() itself and restart the entire pool when N children die with SIGSEGV or SIGBUS within the configured interval. Both default to 0, which means the feature is disabled in many deployments. With it disabled, the fork storm runs unbounded. With it enabled, the pool oscillates between crash loop and full restart, producing periodic total outages.

flowchart TD
    A[Request with triggering input] --> B[Master assigns idle worker]
    B --> C[Worker executes request]
    C --> D{Hits crash code path}
    D -->|SIGSEGV or SIGBUS| E[Worker dies]
    E --> F[Master forks replacement]
    F --> G[Fork cost: page tables + PHP init]
    G --> H[Replacement picks up next request]
    H --> C
    D -->|emergency_restart_threshold hit| I[Master execvp restart]
    I --> J[Brief total outage]
    J --> B

Common causes

CauseWhat it looks likeFirst thing to check
PHP extension bug triggered by specific inputDeath log shows SIGSEGV on one URI; core dump points into the extensionrequest uri in ?full status, then coredumpctl or the core file
Corrupted opcache shared memoryWorkers crash immediately after starting; opcache hit rate erraticopcache_get_status() for oom_restarts, then reload FPM to clear SHM
PHP version bug after upgradeCrashes began within hours of a PHP or extension upgradeRecent package changes in the package manager log
OOM kill mistaken for a crashdmesg shows OOM events; FPM death log shows signal 9 (SIGKILL), not 11dmesg for OOM lines, per-worker RSS trend
Fork-unsafe library on macOSWorkers crash on macOS in gettext or libintl pathsHost platform, LANG and LC_ALL environment

Quick checks

Read-only and safe on a production host. Run them in order.

# Worker death rate in the FPM error log
grep -c "exited on signal" /var/log/php-fpm/error.log

# Recent worker deaths with signal numbers and PIDs
grep "exited on signal" /var/log/php-fpm/error.log | tail -20

# Kernel-level segfault detail (often richer than the FPM log line)
dmesg | grep php-fpm | tail -20

# Is the master still alive?
pgrep -f "php-fpm: master" > /dev/null && echo "UP" || echo "DOWN"

# Status page snapshot: total, active, idle, accepted conn
curl -s http://127.0.0.1/fpm-status

# Per-worker detail: find the URI that triggers the crash
curl -s 'http://127.0.0.1/fpm-status?full' | grep -E "PID|request URI|state"

# Kernel OOM events (in case signal 11 is really an OOM kill)
dmesg | grep -i "out of memory" | tail -10

# Emergency restart events (only present if threshold is configured)
grep -E "failed processes threshold|exiting, bye-bye|ready to handle connections" /var/log/php-fpm/error.log

# Accepted connection rate: sample twice with a known interval
curl -s http://127.0.0.1/fpm-status | grep "^accepted conn"; sleep 5; curl -s http://127.0.0.1/fpm-status | grep "^accepted conn"

If your socket path or status path differs, adjust accordingly. The status page is a FastCGI resource. If the web server does not proxy the status path, hit the socket directly with cgi-fcgi -bind -connect.

How to diagnose it

  1. Confirm the loop is happening. You want at least two of: total processes oscillating rapidly between two polls, an exited on signal rate above a few per second, and accepted conn rate dropping while the web server request rate stays constant.
  2. Capture the signal number. SIGSEGV is signal 11. SIGBUS is signal 7. SIGABRT is signal 6 (assertion failure in an extension). SIGKILL is signal 9 and means the OOM killer or an external actor, not a PHP crash. The signal narrows the cause.
  3. Pull the per-worker request URI. The crash is usually tied to one request pattern. With ?full you can see request uri for each running worker. If the same URI appears in most running workers and the death log shows signals near the time those workers started, you have the trigger.
  4. Check the kernel log. dmesg often has the segfault address and the faulting module, which is more useful than the FPM log line. If you see Out of memory: Killed process lines for php-fpm workers, treat the incident as OOM-driven rather than a true segfault, and pivot to memory diagnosis.
  5. Look at opcache health. Corrupted opcache shared memory is a frequent cause of immediate post-spawn segfaults. Query opcache_get_status() for oom_restarts and wasted_memory. A non-zero oom_restarts counter combined with crashes early in a worker’s life points to SHM corruption.
  6. Cross-check recent changes. Crash loops that start within hours of a PHP upgrade, an extension update, or a deploy are almost always tied to that change. Check the package manager log, the deploy log, and the git history of any extension config.
  7. Pull a core dump if you can. If rlimit_core is set to unlimited (or any non-zero value) and the kernel core pattern points somewhere useful, the worker will dump core on segfault. coredumpctl list on systemd systems plus gdb on the core file gives you the exact faulting stack frame.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Worker exit rate (exited on signal in error log)Direct evidence of crashesMultiple per second sustained for more than a minute
Total process countValidates the pool is at its configured sizeWild oscillation, especially below the configured minimum
Accepted conn rateInbound throughputDrops while web server request rate holds steady
Active processesConcurrency under loadStays low despite traffic (workers are dying, not serving)
Per-worker request URI from ?fullPinpoints the crashing code pathOne URI dominates running workers
Emergency restart log linesMaster-triggered full restartsfailed processes threshold repeats
Opcache oom_restartsSHM corruption eventsNon-zero and climbing
System CPUCost of constant forkingSpikes with no application work being done
Web server 502 rateUser-visible impactBursts that align with crash bursts
Kernel OOM events in dmesgRules OOM in or outOut of memory: Killed process entries

Fixes

Stop the loop first, then fix the underlying cause.

Immediate mitigation: block the offending URI

If the per-worker request URI analysis points to a single path, block it at the web server while you fix the code. This is faster and safer than restarting FPM, which only buys you seconds before traffic re-triggers the loop.

# nginx: return 503 for the known-bad path while you fix the code
location = /path/to/crashing/endpoint {
    return 503;
}

Reload the web server, then watch the death log rate drop. This is a stopgap, not a fix. Track it as a known degraded state.

Immediate mitigation: reload FPM to clear opcache shared memory

If opcache SHM corruption is the suspected cause, a graceful reload (SIGUSR2 or systemctl reload php-fpm) clears the shared memory segment. New workers start with a fresh opcache.

There is a brief window during reload where no workers are available, because SIGUSR2 drains existing workers before the master re-execs itself. Users may see transient 502s. Schedule this outside peak traffic if possible.

Fix the extension or PHP code

Once the loop is stopped, fix the underlying cause:

  • Extension bug. Check the extension changelog for segfault fixes. Disable the extension if the application can run without it. Patch or pin to a known-good version.
  • Corrupted opcache SHM. Investigate why corruption occurred. Undersized opcache.memory_consumption, a faulty opcache.file_cache, or a kernel SHM issue can all cause it. Increasing opcache.memory_consumption and disabling opcache.file_cache are common fixes.
  • PHP version bug. Check the PHP changelog for segfault fixes in the version you run. If you are on a known-buggy release window, upgrade. For the fpm_stdio_child_said use-after-free in php-src issue 10461, the incomplete GH-8517 fix was released in PHP 8.1.14 and included in PHP 8.2.0; the follow-up correction shipped in PHP 8.1.20 and 8.2.7.

Configure emergency_restart_threshold as a circuit breaker

If emergency_restart_threshold and emergency_restart_interval are at their default of 0, the master will never emergency-restart. Setting emergency_restart_threshold = 10 and emergency_restart_interval = 60 (10 SIGSEGV or SIGBUS exits within 60 seconds triggers a full restart) gives you a circuit breaker that clears corrupted SHM and resets workers.

Tradeoffs: emergency restart causes a brief total outage and resets opcache, so the first requests after restart are slower. It only counts SIGSEGV and SIGBUS, not OOM kills (signal 9). It restarts all pools, not just the affected one.

Enable core dumps for next time

Set rlimit_core = unlimited in the pool config and configure the kernel core pattern (/proc/sys/kernel/core_pattern) to write dumps to a known location. Without this, post-mortem debugging of segfaults is mostly guesswork. The cost is disk space during crash events.

Prevention

  • Set pm.max_requests to a finite value (500-1000). Worker recycling clears per-process state that can accumulate into memory corruption. This is the single most common missing safety net.
  • Configure emergency_restart_threshold and emergency_restart_interval. A crash loop without this circuit breaker runs unbounded.
  • Keep PHP and extensions on supported versions. Most segfault causes are fixed upstream. Running EOL or security-only versions leaves known crash bugs unpatched.
  • Enable catch_workers_output with care. Older PHP versions had a bug where catch_workers_output = yes combined with a worker crash could crash the master process itself, turning a worker crash loop into a master crash loop. For the shared-memory escalation CVE-2021-21703, the fixes were PHP 7.3.32, 7.4.25, and 8.0.12 (PHP 8.1.0 was released after the fix).
  • Pre-deploy extension testing. A short load test against the endpoints that exercise your PHP extensions catches extension-triggered segfaults before production traffic does.
  • Monitor worker exit rate as a primary signal. Do not wait for 502s to surface. The death log is the earliest signal that workers are unstable.

How Netdata helps

  • Per-second polling of total processes, active processes, and idle processes catches the rapid oscillation that characterizes a fork storm. Ten-second polling will miss it.
  • Accepted connection rate as a derived metric shows the throughput collapse that accompanies the loop.
  • Anomaly detection on worker exit patterns flags the death rate deviating from baseline before the loop becomes self-sustaining.
  • Correlation across FPM, web server, and kernel metrics in one view lets you confirm in seconds whether the crash aligns with a 502 burst, an opcache event, or an OOM kill in dmesg.
  • Per-pool visibility matters here, because a crash in one pool does not affect others, but aggregate metrics hide which pool is failing.