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-resource-temporarily-unavailable ▌

Operations Guides

PHP-FPM "connect() to unix:/... failed (11: Resource temporarily unavailable)"

The nginx error connect() to unix:/run/php/php-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream looks like a connection problem. It is not. Errno 11 is EAGAIN. nginx uses non-blocking sockets, and in this context the kernel’s accept queue for the PHP-FPM Unix socket is full. The kernel had nowhere to buffer the new FastCGI connection, so it refused the connect(2) immediately.

This is a saturation error, not a connection error. PHP-FPM is alive, the socket file exists, the master is listening, and systemctl status php-fpm will look healthy. The pool is out of workers, and the backlog buffer between nginx and PHP-FPM has filled.

Do not raise listen.backlog on its own. A larger backlog only lengthens the queue of requests that will eventually time out. The real fixes are the standard pool-exhaustion remedies: add workers if RAM permits, make requests faster, or shed traffic. Backlog tuning buys seconds of buffer at best; it does not add throughput.

What this means

PHP-FPM listens on a Unix domain socket (or a TCP socket). Between nginx and PHP-FPM’s workers sits a kernel-managed accept queue, sized by listen.backlog in the pool config and clamped to min(listen.backlog, net.core.somaxconn).

When nginx opens a FastCGI connection, the kernel places it in that accept queue. The PHP-FPM master pulls connections off the queue and hands them to idle workers. Each worker handles exactly one request at a time. Maximum concurrent request capacity equals the number of active workers, bounded by pm.max_children.

When every worker is busy, the queue fills. When the queue reaches its maximum, the kernel refuses new connect(2) calls from non-blocking sockets with EAGAIN (errno 11). nginx logs the connect failure and returns 502 Bad Gateway.

flowchart LR
  A[nginx] -->|connect| B[kernel accept queue]
  B -->|accept| C[FPM master]
  C -->|dispatch| D[worker pool]
  D -->|all busy| E[max_children reached]
  E -->|queue fills| F[connect EAGAIN]
  F -->|502| G[user]

This is distinct from errno 111 (Connection refused), which means nothing is listening on the socket. With EAGAIN, something is listening, but the queue is full. The PHP-FPM master is up, the socket file exists, and the process looks healthy. Only the kernel and nginx know the queue is saturated.

Two gotchas around the backlog value itself:

  • On Linux, FreeBSD, OpenBSD, DragonFly BSD, and macOS, PHP-FPM’s built-in listen.backlog is -1. Linux truncates that negative backlog to net.core.somaxconn; it does not turn -1 into a fixed 128. For ondemand pools, FPM warns only when the configured value is below its platform default.
  • The effective backlog on Linux is min(listen.backlog, net.core.somaxconn). Even an explicit large value can be capped by the kernel default. Check cat /proc/sys/net/core/somaxconn; the default varies by distribution and host configuration (128 on older distributions, 4096 on many modern kernels).

Common causes

CauseWhat it looks likeFirst thing to check
All workers busy on a slow backendactive processes pinned at max_children, listen queue growing, CPU lowSlow log for stack traces blocked on DB or external API
Traffic burst beyond pm.max_childrenRapid climb in accepted connection rate, idle processes hits zeroAccepted conn rate against baseline
Effective backlog clamped lowss -xlnp Send-Q is 128 or 511 while workers still have headroomnet.core.somaxconn and listen.backlog in pool config
ondemand cold-start lagSpike after idle period, workers spawning slowlypm mode and pm.process_idle_timeout
DDoS or retry stormMany connections from a small set of IPs, error rate spikesnginx access log for IP concentration

Quick checks

# Socket exists and master is listening. For the listen socket:
#   Send-Q = effective backlog capacity (after somaxconn clamp)
#   Recv-Q = current queued connections (near Send-Q means queue is full)
ss -xlnp | grep php

# PHP-FPM status page: current queue depth, peak since start, configured len
# Path depends on pm.status_path in pool config
curl -s http://127.0.0.1/fpm-status | grep "listen queue"

# Confirm workers are at the ceiling
curl -s http://127.0.0.1/fpm-status | grep -E "^(active|idle|total) processes"

# Counter of times pm.max_children blocked a spawn (dynamic and ondemand only)
curl -s http://127.0.0.1/fpm-status | grep "^max children reached"

# nginx EAGAIN errors scoped to the current hour
grep "$(date '+%Y/%m/%d %H')" /var/log/nginx/error.log | grep -c "Resource temporarily unavailable"

# Kernel-level accept queue overflows and drops (cumulative counters)
nstat | grep -iE "ListenOverflows|ListenDrops"

# Effective somaxconn clamp
cat /proc/sys/net/core/somaxconn

# Per-process FD limit for the master (workers hitting EMFILE will fail
# to open database/API connections, producing slow requests)
cat /proc/$(pgrep -f 'php-fpm: master' | head -1)/limits | grep "Max open files"

All of these are read-only and safe to run during an incident.

How to diagnose it

  1. Confirm EAGAIN, not Connection refused. The nginx error string contains (11: Resource temporarily unavailable). Errno 111 would read (111: Connection refused) and points to a different failure path: no listener, dead master, wrong socket path. See the related guide on connection refused for that.

  2. Inspect the listen socket with ss -xlnp. The Send-Q column shows the kernel’s actual backlog capacity after the somaxconn clamp. The Recv-Q column shows the current number of connections waiting in the accept queue. When Recv-Q sits at or near Send-Q, the queue is full and the kernel is refusing new connects.

  3. Pull the PHP-FPM status page. The three fields that matter for this symptom are listen queue (current snapshot), max listen queue (peak since master start), and listen queue len (the backlog PHP-FPM passed to listen()). A non-zero max listen queue means the pool has experienced queuing even if the current value is zero.

  4. Check active processes against pm.max_children. If active is pinned at max_children, the pool is exhausted. If idle processes is zero in dynamic or static mode, you are one burst away from EAGAIN.

  5. Look at max children reached. If the counter is incrementing, the process manager wanted to spawn more workers but hit the ceiling. This is the smoking gun for pool exhaustion, and it is only meaningful for dynamic and ondemand modes (always zero for static).

  6. Read the slow log. If request_slowlog_timeout is configured (it defaults to 0, meaning disabled), recent entries show which script and which call stack is holding workers. The slow log is what tells you whether this is a traffic problem or a slow-backend problem.

  7. Cross-check the kernel drop counters. nstat | grep -iE 'ListenOverflows|ListenDrops' shows connections the kernel refused because the accept queue was full. These never appear in the PHP-FPM status page. PHP-FPM has no visibility into kernel-level drops.

  8. Inspect per-worker state. The full status page (/fpm-status?full) shows each worker’s current request URI, request duration, and last request cpu. Workers stuck on the same URI for seconds are typically blocked on a backend dependency. Workers showing high CPU are compute-bound.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
listen queue (status page)Earliest direct signal that workers cannot keep upAny sustained non-zero value
max listen queueHigh-water mark since master start; catches spikes between pollsApproaches listen queue len
Recv-Q on the listen socketKernel-level confirmation of queue depthNear Send-Q
active processes / max_childrenPool utilization ratioSustained above 0.8
idle processesBurst headroomZero in dynamic or static mode
max children reached rateTimes the PM wanted more workers but could not spawnIncrementing during normal traffic
slow requests rateWorkers stuck past request_slowlog_timeoutAny non-zero rate
ListenOverflows / ListenDropsConnections the kernel refused at the socketNon-zero and increasing
nginx 502 rateUser-visible impactAny non-zero during real traffic

Fixes

Add workers, if RAM permits

The direct fix. Raise pm.max_children in the pool config and reload:

systemctl reload php-fpm
# or: kill -USR2 $(pgrep -f 'php-fpm: master')

Before doing this, verify memory headroom. A common sizing heuristic: memory-safe max_children = (total_RAM * 0.7 - OS_overhead) / avg_worker_RSS. Use PSS via smem or /proc/<pid>/smaps_rollup for the per-worker number, not raw RSS, because RSS double-counts the opcache shared segment across forked workers and overstates unique memory by roughly 30 to 50 percent.

The reload itself has a brief no-worker window. SIGUSR2 drains existing workers before the master re-execs, so expect a short spike in EAGAIN errors during the reload.

Reduce request duration

If the slow log points to a backend (database, external API, NFS, Redis), the bottleneck is not PHP-FPM. Adding workers only buys time before the next saturation event. Fix the slow query, tighten the cURL timeout, add a circuit breaker, or shed the slow endpoint at the nginx layer.

A single request that takes 5 seconds instead of 50ms holds a worker 100x longer. A handful of slow endpoints can quietly consume most of the pool while aggregate traffic looks normal.

Shed traffic at the web server

If this is a burst, DDoS, or retry storm, the right response is rate limiting or IP blocking at nginx, not bigger pools. Look at the access log for IP concentration, request URI patterns, and user-agent strings. The pool will refill once traffic subsides.

Do not just raise listen.backlog

The backlog is a buffer, not throughput. A larger backlog lets more connections pile up waiting, but they still need a worker eventually. If the pool stays saturated for seconds, a bigger backlog just means more requests that hit nginx’s fastcgi_read_timeout and return 504 instead of 502. You have moved the failure mode, not fixed it.

The default is version- and platform-dependent: PHP releases before 8.2 use 511 on Linux/macOS, while PHP 8.2+ uses -1 there (clamped to somaxconn on Linux); non-Linux/BSD/macOS platforms retain 511. The built-in default is sufficient for almost every workload. The one reasonable kernel-side change is raising net.core.somaxconn if it is still at the legacy 128 default on an older distribution. Treat that as a small buffer improvement, not a saturation fix.

ondemand cold-start

If pm = ondemand, idle workers are killed after pm.process_idle_timeout (default 10s). A burst after idle must wait for fork plus PHP initialization before workers can accept. If a pool explicitly sets a value below FPM’s platform default, the error log may show listen.backlog(...) was too low for the ondemand process manager. I updated it for you to ... as a secondary symptom. Consider switching to dynamic or static for predictable headroom, or accept the cold-start latency as the cost of lower idle memory.

Prevention

  • Monitor the listen queue field on the status page. It gives minutes of advance warning before the kernel starts dropping connections. By the time nginx logs EAGAIN, you are already in the failure state.
  • Set pm.max_requests to 500-1000. Without worker recycling, memory leaks accumulate and eventually trigger OOM kills that look like saturation.
  • Enable request_slowlog_timeout (for example 5 seconds). It is the single signal that tells you why workers are busy, not just that they are. It defaults to 0 (disabled) in many distributions.
  • Track active processes / max_children as a leading indicator. Capacity target: peak utilization at or below 75% of max_children.
  • Verify net.core.somaxconn is not still at the legacy 128 default if your distribution ships that. A modern default removes one rare clamp.
  • If your pool config sets listen.backlog = -1, confirm what PHP-FPM actually applied on Linux. -1 is not unlimited on Linux; it is silently replaced.
  • Poll the status page at 1-second intervals for operational alerting. A 10 to 30 second interval will miss transient saturation events.

How Netdata helps

  • Per-second collection of PHP-FPM status page fields (active processes, idle processes, listen queue, max children reached, listen queue len) makes the saturation form visible in real time, not between 10-second polls that miss transient queue build-ups.
  • Anomaly ML on active processes and listen queue catches the climb before EAGAIN reaches nginx, without requiring static thresholds that differ per workload.
  • Same-timeline correlation of nginx 502/504 error rate, PHP-FPM pool saturation, and kernel ListenOverflows narrows the cause from a single dashboard view rather than across three tools.
  • Per-pool dashboards for multi-pool deployments. A single saturated pool behind a round-robin load balancer shows up as every-Nth-request slowness unless each pool is tracked independently.
  • Container cgroup-level memory tracking catches the OOM-kill variant of this symptom before PHP-FPM’s own logs surface it, which matters in container deployments where the master can be killed without a syslog entry.