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-worker-exhaustion ▌

Operations Guides

PHP-FPM worker exhaustion: all workers busy and requests piling into the backlog

PHP-FPM worker exhaustion is the most common PHP-FPM failure mode in production. The signature: active processes equals pm.max_children, the listen queue is growing, and the web server starts returning 502 and 504 responses. In dynamic or ondemand mode the max children reached counter is also incrementing.

The counterintuitive part: CPU is often LOW. Workers spend most of their time waiting on I/O, not computing. When all workers block on a slow database query or an unresponsive external API, CPU drops while requests pile up. If you are judging saturation by CPU alone, you will miss the problem.

The correct first response is not to restart or blindly raise pm.max_children. Read the slow log, determine whether a slow dependency is draining your workers, and then decide whether adding workers (if memory allows) helps or simply creates more stuck workers.

What this means

PHP-FPM uses a master-worker architecture. Each worker handles exactly one request at a time. There is no in-process concurrency. Maximum concurrent request capacity equals the number of active worker processes.

When all workers are busy, new FastCGI connections from the web server enter the socket backlog queue (kernel-managed, sized by listen.backlog). Workers accept from that listening socket themselves; if none is available, a queued connection remains there until a worker finishes and calls accept() again. If the backlog fills, the kernel refuses new connections at the OS level. The web server sees connection refused or timeout errors and returns 502 (connection failure) or 504 (gateway timeout) to users.

flowchart TD
    A[All workers busy] --> B[New requests enter socket backlog]
    B --> C[max children reached increments]
    B --> D{Backlog fills?}
    D -- No --> E[Requests wait, latency rises]
    D -- Yes --> F[Kernel refuses new connections]
    F --> G[502 and 504 errors reach users]
    E --> H{Workers drain backlog?}
    H -- Yes --> I[System recovers]
    H -- No --> F

A critical detail: PHP-FPM has no visibility into connections the kernel drops when the backlog overflows. The status page shows listen queue at its configured maximum but cannot tell you how many connections were refused. You need kernel-level monitoring (the ListenOverflows and ListenDrops counters in /proc/net/netstat, or the Recv-Q column in ss) to see those drops.

One more trap: if the listen queue appears empty while all workers are busy and users are seeing 502s, the backlog may have already overflowed. When the kernel backlog is completely full, new connections are rejected without entering the queue. The queue shows zero depth while connections are silently dropped.

Common causes

CauseWhat it looks likeFirst thing to check
Slow dependency (database, API, cache, NFS, DNS)CPU low, slow log fills before listen queue grows, per-worker durations show bimodal distributionSlow log stack traces
Traffic spike exceeding capacityCPU high, accepted connections rate spikes, all request types affected equallyAccepted connections rate vs. baseline
pm.max_children set too lowmax children reached increments rapidly, listen queue grows during moderate trafficCompare peak active to max_children
Session lock contentionSlow log shows blocking at session_start, same session ID across multiple workersSlow log for session_start entries
Memory pressure reducing effective workersOOM kills in dmesg, worker exits in error log, total processes below configured countdmesg for OOM, error log for signal 9

Quick checks

Run these read-only checks to confirm the exhaustion pattern and narrow the cause:

# FPM status: look for active = max_children, listen queue > 0
curl -s http://127.0.0.1/fpm-status

# Per-worker details: which scripts are running and for how long
curl -s 'http://127.0.0.1/fpm-status?full'

# Listen queue depth from the kernel (Recv-Q on the LISTEN line)
ss -xlnp | grep php
ss -tlnp | grep 9000

# Recent slow log entries (requires request_slowlog_timeout to be configured)
tail -50 /var/log/php-fpm/slow.log

# Worker process count and memory (excludes master process)
ps -eo pid,rss,cmd | grep '[p]hp-fpm' | grep -v master

# OOM kills targeting PHP-FPM workers
dmesg | grep php-fpm

# Web server upstream errors and 502/504 response counts
grep -c "connect.*failed\|no live upstreams\|Connection refused" /var/log/nginx/error.log
grep -c " 502 \| 504 " /var/log/nginx/access.log

# Kernel-level socket overflow counters (alternative: netstat -s | grep -i listen)
nstat | grep -i listen

The status path is configurable via pm.status_path and must be passed through by your web server. By default, the status path is handled by a worker from the pool, so total exhaustion can make it unreachable. Since PHP 8.0, pm.status_listen configures a separate status listener that operates independently of pool workers.

How to diagnose it

  1. Confirm the exhaustion pattern. Check the status page: active processes equals pm.max_children, listen queue is positive, and max children reached is non-zero (in dynamic or ondemand mode). If the status page is unreachable, check the web server error log for upstream connection failures and use ss to check backlog depth.

  2. Read the slow log. This is the single most important step. If request_slowlog_timeout is set (it defaults to 0, meaning disabled), the slow log captures stack traces showing exactly where each slow worker was blocked. Database functions (PDO, mysqli), cURL functions, or session_start in the trace tell you the blocking source. If the slow log is empty because the timeout was never configured, set it now. You are diagnosing blind without it.

  3. Check per-worker request URIs and durations. The full status page (?full) shows each worker’s current request URI, script path, request duration in microseconds, and last request CPU and memory. Look for workers with durations orders of magnitude above the median. The script field identifies the specific endpoint. Note: request duration is in microseconds, not milliseconds. 1,000,000 equals 1 second.

  4. Determine: traffic overload or slow dependency drain?

    SignalTraffic overloadSlow dependency drain
    CPU usageHigh (workers computing)Low (workers blocked on I/O)
    Slow logMay not show specific blockingFills before listen queue grows
    Request duration distributionUniformly elevatedBimodal: some fast, some extremely slow
    Killing blocked workersNo lasting effectImmediate but temporary relief
    Adding more workersHelps (more capacity)New workers also get stuck
    Accepted connections rateSpikes or stays highMay plateau or drop
  5. Check memory before considering more workers. Run the RSS check above. The formula for memory-safe max_children is: (total_RAM * 0.7 - OS_overhead) / avg_worker_RSS. If you are already near that ceiling, adding workers will trigger the OOM killer rather than improving throughput.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Listen queue depthEarliest direct signal of user-facing degradation from saturationAny sustained non-zero value
Active processes / max_childrenPrimary saturation indicator; at 100% the next request queuesSustained above 80% during normal traffic
Idle processesAvailable burst absorption; zero means one spike from queuingConsistently near zero in dynamic or static mode
Max children reached (rate of change)Counter of times the pool manager hit the ceilingIncrementing during normal traffic hours
Slow requests (rate of change)Application-level degradation visible in slow logAny sustained non-zero rate
Per-worker request durationIdentifies stuck workers and bimodal latencyWorkers showing durations 10x the median
Per-worker RSSMemory leak detection and capacity planning inputMonotonic growth over hours or days
Accepted connections rateInbound work entering the poolSudden drop while web server still receiving requests
Worker exit rate (abnormal)Crash detection; segfaults indicate extension or code bugsAny SIGSEGV or SIGBUS in the error log
Web server 502/504 rateExternal view of user impactAny sustained non-zero rate reaching users
Kernel ListenOverflows/ListenDropsConnection drops invisible to PHP-FPM status pageAny non-zero increment

Fixes

Slow dependency drain

This is the most common root cause. Do not raise pm.max_children first. The new workers will also get stuck on the same dependency.

  1. Read the slow log to identify the blocking call (database query, external API, NFS, DNS, session lock).
  2. If a specific endpoint is the culprit, block it at the web server level to protect the rest of the site.
  3. Send SIGQUIT to blocked workers for immediate relief (kill -SIGQUIT <worker_pid>). PHP-FPM installs that signal in workers, but it closes the listen socket and starts shutdown; a worker blocked in an uninterruptible syscall may not exit until the syscall returns. The in-flight request is abandoned and the master respawns a replacement.
  4. Address the root cause in the dependency: fix the slow query, reduce the external API timeout, resolve the DNS issue, or fix the NFS mount.
  5. If the dependency cannot be fixed quickly, add circuit breakers or fail-fast timeouts in application code so workers are not held hostage indefinitely.

Traffic spike exceeding capacity

  1. Enable rate limiting at the web server level to protect PHP-FPM from burst traffic.
  2. If memory allows, increase pm.max_children. Calculate the memory-safe ceiling first using the formula above.
  3. Reload with kill -SIGUSR2 <master_pid> or systemctl reload php-fpm. Note: the graceful reload drains old workers before spawning new ones, unlike nginx which starts new workers first. There is a brief window with zero workers available during the reload.

pm.max_children set too low

The upstream PHP-FPM code falls back to pm.max_children = 2 when pm = dynamic and the value is not set; the official Docker PHP image commonly ships 5. This is far too low for production. If you run a default image or package without overriding it, a small burst can saturate the pool.

  1. Calculate the memory-safe ceiling: (total_RAM * 0.7 - OS_overhead) / avg_worker_RSS.
  2. Set pm.max_children to that value in the pool configuration.
  3. Use PSS (Proportional Set Size from smem or /proc/<pid>/smaps_rollup) for the calculation instead of RSS. Shared opcache pages inflate RSS by 30 to 50 percent in naive ps output, leading to an unnecessarily low max_children.

Session lock contention

File-based PHP sessions use an exclusive lock (flock(LOCK_EX)) acquired at session_start(). Concurrent requests from the same session ID serialize completely. This looks like worker exhaustion but is actually lock contention on a single session file.

  1. Check the slow log for blocking at session_start().
  2. Call session_write_close() early in the request, after session data is no longer needed.
  3. For AJAX-heavy applications, switch to Redis or Memcached session handlers, which use different locking semantics.

Prevention

  • Enable the slow log in every production pool. Without request_slowlog_timeout configured, you see busy workers but cannot identify the blocking call.
  • Set pm.max_requests to 500-1000. This forces periodic worker recycling and is the primary defense against unbounded memory growth from leaks in code or extensions.
  • Set request_terminate_timeout to 30-60 seconds. This prevents a single stuck request from permanently removing a worker from the pool.
  • Put the status page on a separate listener with pm.status_listen, available since PHP 8.0. This keeps it reachable when all pool workers are busy.
  • Monitor the listen queue, not just 502 rates. The listen queue provides minutes of advance warning. By the time 502s appear, the backlog has already overflowed.
  • Calculate max_children from memory, not CPU cores. Workers spend most of their time on I/O. A 4-core machine can run 50-200 workers if memory allows.
  • Verify listen.backlog against net.core.somaxconn. Setting listen.backlog higher than the kernel’s somaxconn has no effect. The kernel silently caps it.
  • Poll status metrics at 1-second intervals. Saturation events unfold in seconds. A 10-second poll interval will miss transient queue buildups.

How Netdata helps

  • Per-second polling of PHP-FPM status metrics (active processes, idle processes, listen queue, max children reached, slow requests) catches transient saturation events that 10-second intervals miss.
  • Correlation across the request path: when active processes spike and listen queue grows, you can overlay web server 502/504 rates, database connection counts, and upstream dependency latency in a single view. The low-CPU, high-saturation pattern that characterizes a slow-dependency drain is immediately visible.
  • ML anomaly detection on worker counts and listen queue depth surfaces the slow drift toward exhaustion before the backlog overflows.
  • Per-worker memory tracking (RSS) alongside system-wide memory, so you can verify that adding workers will not trigger the OOM killer.
  • Kernel-level socket monitoring (ListenOverflows, ListenDrops) catches connection drops that the PHP-FPM status page fundamentally cannot see.
  • Composite alerting on conditions like “active equals max_children AND listen queue greater than 0 for more than 60 seconds” turns two correlated signals into a single actionable alert rather than two independent thresholds.