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-request-duration-high ▌

Operations Guides

PHP-FPM request duration climbing: spotting stuck and outlier workers

When you pull ?full from the PHP-FPM status page during an incident and the request duration column looks alarming, verify your units first. The field is microseconds, not seconds or milliseconds, and it is the single most misread value in the FPM status surface. A worker showing 4500000 has been running for 4.5 seconds, not 4.5 million seconds. Convert before you escalate.

The second trap is interpretation. request duration has two meanings depending on worker state. For Running workers, it is the elapsed time of the current in-flight request. For Idle workers, it is the duration of the last completed request that worker handled. A pool full of idle workers showing high durations is not stuck. It served slow requests in the past and is now waiting for new work.

Once units and semantics are right, the value of this field is in distribution analysis. The aggregate active processes and listen queue counters tell you whether the pool is saturated. Per-worker request duration tells you why: a bimodal split between fast cached hits and slow rebuilds, a uniform shift suggesting a systemic backend slowdown, or a handful of outlier workers running 10x the median, which localises the problem to specific endpoints or stuck connections.

What this means

In a process-based concurrency model where each worker handles exactly one request at a time, longer durations directly reduce effective throughput. A pool of 50 workers serving requests at 50ms each handles roughly 1000 requests per second. The same pool serving 5-second requests collapses to 10 requests per second, even when CPU is nearly idle.

The request duration field is only available in ?full mode, which returns per-process detail: PID, state, start time, requests served, request duration, request method, request URI, content length, user, script, last request CPU, and last request memory. The non-full status page gives pool-level aggregates only.

For Idle workers, last request cpu and last request memory show the CPU and memory profile of the most recent completed request. For Running workers, these fields are zero because the calculation runs at request completion. This means CPU and memory correlation works on Idle workers only, but the request duration on Running workers is what tells you which in-flight requests are stuck.

flowchart TD
    A["Pull ?full status"] --> B{"Worker state?"}
    B -->|"Running / Reading / Finishing"| C["request duration = current elapsed time"]
    B -->|"Idle"| D["request duration = last completed request"]
    C --> E["High value = in-flight slow or stuck request"]
    D --> F["High value = served slow request in past, now idle"]
    E --> G["Investigate: script, last request cpu, last request memory"]
    F --> H["Not actionable unless slow log correlates"]

Common causes

CauseWhat it looks likeFirst thing to check
Slow backend dependency (database, external API)Many Running workers with high duration, low CPU on prior requestsSlow log stack traces, downstream service latency
Endpoint-specific slow pathSubset of workers with high duration on one scriptGroup request duration by script
Stuck worker on hung connectionOne or few workers with extreme duration, no progress/proc/<pid>/wchan, strace on the PID
Bimodal cache miss patternTwo clusters: fast hits and slow rebuildsOpcache hit rate, opcache.validate_timestamps
Session lock contentionSame-session requests serializing, low CPUlsof on session files, slow log showing session_start
nginx timeout orphaned workersWorker still Running after nginx returned 504nginx fastcgi_read_timeout vs FPM request_terminate_timeout

Quick checks

# Fetch per-worker detail in JSON for parsing
curl -s "http://127.0.0.1/fpm-status?json&full" -o /tmp/fpm-full.json

# List Running workers sorted by request duration, converted to seconds
curl -s "http://127.0.0.1/fpm-status?json&full" | python3 -c "
import sys, json
d = json.load(sys.stdin)
running = [p for p in d['processes'] if p['state'] == 'Running']
for p in sorted(running, key=lambda x: -x['request duration'])[:20]:
    print(f\"{p['request duration']/1e6:8.3f}s pid={p['pid']} cpu={p['last request cpu']} mem={p['last request memory']} {p['request uri']}\")"

# Cross-check state distribution
curl -s "http://127.0.0.1/fpm-status?json&full" | python3 -c "
import sys, json, collections
d = json.load(sys.stdin)
c = collections.Counter(p['state'] for p in d['processes'])
for s, n in c.most_common():
    print(f'{n:4d} {s}')"

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

# Confirm safety net timeouts are set
php-fpm -tt 2>&1 | grep -E 'request_terminate_timeout|request_slowlog_timeout|slowlog'

# Inspect what a specific long-running worker is waiting on (read-only)
PID=12345
cat /proc/$PID/wchan
cat /proc/$PID/status | grep -E 'State|VmRSS'
# strace attaches to the running process; use a short timeout, do not leave it attached
sudo timeout 2 strace -p $PID -e trace=network,read,write -f 2>&1 | head -20

How to diagnose it

  1. Confirm the units. Convert every request duration value to seconds by dividing by 1,000,000 before reasoning about it. A fast endpoint showing values in the hundreds of thousands of microseconds is a sub-second request.

  2. Split by worker state. Filter the ?full output by state. Treat Idle workers as historical context. Focus diagnosis on Running workers, and check for any workers stuck in intermediate states like Finishing.

  3. Compute the median and look for outliers. A single worker running 10x the median is a different problem from all workers running 3x the median. Multiple workers showing durations more than 10x the pool median indicates outliers worth investigating.

  4. Correlate with script. Group Running workers by their script field. If long durations cluster on one PHP file, the problem is endpoint-specific (slow query, missing index, expensive loop). If they spread across many scripts, the problem is systemic (database failover, DNS, storage).

  5. Correlate with last request cpu. This field is only meaningful for Idle workers. Long duration with high CPU on a prior request means compute-bound. Long duration with low CPU means I/O-bound. A long in-flight Running request with no historical CPU data is the signature of a worker blocked on a network or filesystem syscall.

  6. Correlate with last request memory. Same caveat: only populated for Idle workers. A worker whose last request consumed unusually high memory may have hit an expensive code path (report generation, large export, unbatched query).

  7. Match against the slow log. The slow log captures stack traces for requests exceeding request_slowlog_timeout. Each entry shows the exact script and call stack where the worker was blocked. The slow log is more diagnostic than request duration alone because it points to the line of code, not just the script file.

  8. Check for orphaned workers. If nginx has a shorter fastcgi_read_timeout than FPM’s request_terminate_timeout, nginx returns 504 to the client but the FPM worker continues processing. These phantom workers show high duration and low CPU because they are still waiting on the same slow dependency. Confirm by correlating nginx 504 timestamps with FPM worker start times.

  9. Check for workers in undocumented states. The PHP manual documents Idle and Running, but operators have reported workers stuck in Finishing or other intermediate states. Current PHP-FPM also reports Reading headers, Getting request information, Ending, and Finishing states; persistence beyond the request path is abnormal, not a supported “stuck” state.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Per-worker request duration (microseconds)Localises slow requests to individual workersOutliers more than 10x pool median, or uniform upward shift
state distributionDistinguishes in-flight from historical durationsWorkers stuck in non-Running states for sustained periods
script per workerIdentifies endpoint-specific slownessLong durations clustered on one script path
last request cpuDistinguishes compute-bound from I/O-boundLong duration with low CPU on Idle workers means blocked on dependency
last request memoryFlags expensive code pathsLast request memory far above pool average
slow requests counterConfirms slow log is capturing eventsCounter incrementing when durations are high
active processesShows whether slow durations are draining the poolActive climbing toward pm.max_children
listen queueIndicates requests are starting to queueSustained non-zero value
Opcache hit rateRules out cache-miss-driven compilation costHit rate below 99% after warmup
Worker exit rate and exit signalCatches crashes masked by respawnsSIGSEGV or SIGBUS entries in FPM error log

Fixes

The right fix depends on which pattern the diagnosis surfaced. Restarting FPM is rarely the right first move: it clears the symptom, loses opcache warmth, and the underlying cause recurs as soon as traffic returns.

Endpoint-specific slow requests

If long durations cluster on one script and the slow log shows blocking inside a specific function, the fix is in the application or its dependencies. Check for missing database indexes, unbatched queries, synchronous calls to slow external APIs, or expensive loops. Recycling the affected workers with kill -SIGQUIT <pid> provides immediate capacity relief while you work the root cause.

SIGQUIT to a worker that is genuinely stuck on a syscall may not interrupt it. If the worker does not exit, request_terminate_timeout is the safety net.

Systemic backend slowdown

If long durations spread across all scripts and historical CPU is low, the problem is downstream. Check the database, cache, or external API the application depends on. Increasing pm.max_children buys time only if the dependency recovers quickly and memory headroom exists. If the dependency stays slow, new workers get stuck too.

Stuck workers in non-Running states

If workers are stuck in Finishing or other intermediate states indefinitely, request_terminate_timeout is the correct safety net. Set it to a value aligned with your application’s expected maximum request time (typically 30 to 60 seconds). The timeout applies from request acceptance to request end; setting request_terminate_timeout_track_finished=yes extends it to the finishing state. It kills workers mid-request. The client receives an error. It does not fix the underlying cause; it prevents stuck workers from accumulating.

nginx and FPM timeout mismatch

If diagnosis shows phantom workers (nginx already returned 504 but FPM workers are still Running), align the timeouts. FPM’s request_terminate_timeout should be shorter than nginx’s fastcgi_read_timeout, so FPM kills abandoned work before nginx gives up.

Session lock contention

If long durations correlate with AJAX endpoints and the slow log shows blocking at session_start, the fix is in the application. Call session_write_close() as early as possible, or move sessions to Redis or Memcached which have different locking semantics. File-based sessions take an exclusive lock at session_start and hold it until the request ends or session_write_close() is called.

Opcache-driven bimodal distribution

If the distribution splits between fast cached hits and slow rebuilds, check opcache. A hit rate below 99% after warmup means PHP is recompiling scripts, which adds latency and CPU cost uniformly. Verify opcache.validate_timestamps = 0 in production, check opcache.memory_consumption is large enough for the codebase, and confirm opcache.max_accelerated_files exceeds the number of PHP files.

Prevention

  • Read the field in microseconds. Build the unit conversion into any tooling that parses ?full output. A wrapper script that divides by 1,000,000 before display prevents the most common misread.
  • Enable the slow log on every production pool. request_slowlog_timeout defaults to 0 (disabled). Without it, high request durations are unexplained. Even 5 to 10 seconds is enough to capture blocking stack traces during incidents.
  • Set request_terminate_timeout. A finite value prevents permanently stuck workers from accumulating and silently eroding pool capacity.
  • Align nginx and FPM timeouts. FPM’s request_terminate_timeout should fire before nginx’s fastcgi_read_timeout to avoid phantom workers.
  • Monitor distribution, not just aggregates. Track p50, p95, and p99 of per-worker request duration. The aggregate active processes counter hides bimodal distributions and outlier workers.
  • Correlate with state. Alert on workers stuck in non-Running states for longer than a threshold, not on Idle workers showing historical durations.

How Netdata helps

Netdata’s PHP-FPM collector pulls the status page at per-second resolution, which matters because saturation events unfold in seconds and 10-second polling misses transient queue buildup.

  • Per-second collection of active processes, idle processes, and listen queue surfaces the leading indicators of worker drain before 502s reach users.
  • Anomaly detection on request duration and active process count flags shifts in distribution that aggregate thresholds miss, including bimodal patterns and outlier-driven plateaus.
  • Correlation with downstream services (database query latency, Redis response time, external API latency in the same dashboard) shortens the path from “workers are slow” to “the database is slow”.
  • Slow log and error log parsing surface the stack traces that explain why specific workers are stuck, alongside the metrics that show how many workers are affected.
  • Per-pool dashboards keep multi-pool deployments honest. A slow leak in one pool does not get lost in aggregates across all pools.