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-cgroup-oom-container ▌

Operations Guides

PHP-FPM in containers: cgroup limits and the silent OOM kill

The container restarts, or the PHP-FPM error log fills with child N exited on signal 9 (SIGKILL) entries, but dmesg shows no global OOM event. The host has plenty of free RAM. The PHP memory_limit is set well below the kill threshold. None of the obvious explanations fit.

PHP-FPM has no awareness of cgroup memory limits. Workers allocate against the PHP heap (capped by memory_limit), against extension memory (Imagick, libxml, glibc arenas), and against page cache for mmap’d files. None of those allocations consult memory.max in the cgroup. When the cgroup as a whole crosses its limit, the kernel cgroup OOM killer fires a SIGKILL at a process inside the cgroup. Whether the victim is a single worker or the master process determines whether you see a silent kill or a container restart.

The classic operator confusion: I set memory_limit = 256M and I have 10 workers, so why is the 2GB container dying? The answer is that memory_limit is per-request on the PHP allocator only. It is not an aggregate cap, and it does not cover extension or libc memory. The cgroup limit is the only aggregate cap, and PHP-FPM does not consult it.

What this means

Inside a container, the boundary that matters is memory.max on the PHP-FPM cgroup, not host free RAM. The cgroup v2 OOM killer is localized: it shoots a process inside the cgroup and does not produce the familiar Out of memory: Kill process line in host dmesg. The signature is in two places instead.

First, the PHP-FPM error log: WARNING: [pool www] child N exited on signal 9 (SIGKILL) after X seconds from start. The signal number is the giveaway. SIGKILL (9) on a worker, with no segfault context, points at the OOM killer rather than a crash in PHP code or an extension.

Second, the cgroup’s own event counter. /sys/fs/cgroup/memory.events shows a non-zero oom_kill count, and oom increments on the kill path. This is the authoritative signal that the kernel killed something inside this cgroup for memory reasons, regardless of what the host log says.

The silent vs. visible distinction comes down to victim selection. If the cgroup OOM killer picks a child worker, the master respawns it and the container survives. Pod health checks pass. The only trail is in the FPM log plus the memory.events counter. If the victim is the master process, and the master is PID 1 in the container (the typical container layout), the container exits. The orchestrator records OOMKilled: true in Docker or a pod restart with reason OOMKilled in Kubernetes, and monitoring of the FPM process itself is replaced by monitoring of the pod lifecycle.

Kubernetes 1.32 added singleProcessOOMKill as a kubelet configuration option, not a feature gate. Its default preserves the cgroup v2 memory.oom.group group-kill behavior; setting it to true opts a node into single-process kills.

On Kubernetes 1.28+ with cgroup v2, memory.oom.group is enabled by default on the container cgroup. That changes the math: when any process in the container trips the limit, the kernel kills the entire cgroup (the whole container), not just the offending process. The kill becomes visible to kubelet as a pod restart. Older clusters, or singleProcessOOMKill=true, revert to the per-process behavior, which is where the invisible-kill pattern shows up.

flowchart TD
    A[Worker allocates beyond PHP memory_limit] --> B[Total cgroup RSS crosses memory.max]
    B --> C{memory.oom.group enabled?}
    C -->|disabled or singleProcessOOMKill| D[Kernel picks one process]
    D --> E{Victim}
    E -->|Child worker| F[SIGKILL, FPM logs signal 9, container survives]
    E -->|Master or PID 1| G[Container exits, OOMKilled true]
    C -->|enabled, default on K8s 1.28+| G
    F --> H[Silent: only trail is FPM log plus memory.events]
    G --> I[Visible: orchestrator records restart]

Common causes

CauseWhat it looks likeFirst thing to check
pm.max_children sized against host RAM, not the cgroupContainer OOMs at expected concurrency; per-worker RSS looks modestcat /sys/fs/cgroup/memory.max versus (avg PSS * max_children)
pm.max_requests = 0 with a leaking extensionRSS climbs steadily, then a burst of SIGKILLs, then resets after recycleFPM error log for repeated signal 9 entries, worker RSS trend
ImageMagick / OpenMP threadingRSS explodes on image-heavy requests; only some workers balloonOMP_NUM_THREADS, MAGICK_THREAD_LIMIT in pool env
glibc arena retentionRSS stays high after a large allocation completes, never released until worker recycleMALLOC_ARENA_MAX, pm.max_requests
Page cache from mmap’d temp filesProcess RSS is modest but cgroup memory still climbsmemory.stat file versus anon breakdown
memory_limit mistaken for a cgroup limitOperator sets memory_limit = 256M expecting an aggregate capRe-read the per-request semantics in the PHP manual

Quick checks

# Read the cgroup memory limit and current usage (cgroup v2)
cat /sys/fs/cgroup/memory.max
cat /sys/fs/cgroup/memory.current

# OOM event counters. Non-zero oom_kill confirms cgroup OOM activity.
cat /sys/fs/cgroup/memory.events

# Break down anonymous versus file-backed memory inside the cgroup
grep -E '^(anon|file|slab|sock)' /sys/fs/cgroup/memory.stat

# PHP-FPM worker SIGKILL pattern in the error log
grep "exited on signal 9" /var/log/php-fpm/error.log | tail -20

# Confirm no global host OOM. The absence here is the point.
dmesg -T | grep -i "out of memory" | tail

# Average and max worker RSS. Note the shared-page overcount.
ps -eo pid,rss,cmd | grep '[p]hp-fpm' | grep -v master | \
  awk '{sum+=$2; n++; if($2>max) max=$2} END {printf "n=%d avg=%d KB max=%d KB\n", n, sum/n, max}'

# Accurate per-worker memory using PSS, which accounts for shared opcache pages
smem -P php-fpm -c 'pid pss rss' -s pss 2>/dev/null | tail -20

# Docker: confirm the container was OOM-killed at the PID 1 level
docker inspect --format '{{.State.OOMKilled}}' <container>

For cgroup v1 hosts, the equivalent files are memory.limit_in_bytes, memory.usage_in_bytes, and memory.failcnt inside the cgroup directory. Kubernetes 1.31 moved cgroup v1 support to maintenance mode; it did not drop it there. Modern Kubernetes and Docker defaults are cgroup v2.

How to diagnose it

  1. Confirm the kill is cgroup-local. A non-zero oom_kill in /sys/fs/cgroup/memory.events paired with no matching entry in host dmesg confirms a localized cgroup OOM, not a host-level event. This single check eliminates most of the wrong rabbit holes.

  2. Confirm the kill victim. If only the FPM error log shows signal 9 entries and the container is still running, the kernel killed workers and the master survived. If the container restarted and docker inspect shows OOMKilled: true, the master (likely PID 1) was the victim. On Kubernetes, check pod restart counts and the pod’s last termination reason.

  3. Establish the actual per-worker footprint. Use PSS from smem or /proc/<pid>/smaps_rollup, not raw RSS. RSS double-counts the opcache shared segment across every worker, so the naive sum of RSS overstates true memory by a meaningful margin. PSS divides shared pages by the number of sharing processes and gives a defensible number to multiply by pm.max_children.

  4. Compute worst-case cgroup footprint. Compare (peak avg PSS * max_children) + opcache_segment + master_overhead + headroom_for_bursts against memory.max. The opcache segment is counted once physically but is page-cache backed; account for it explicitly. If the math approaches 90% of memory.max, the next large request tips the cgroup over.

  5. Look at memory.stat to see what is growing. If anon is climbing per worker over time, that is a leak in PHP code or an extension. If file is high and growing, that is page cache, often from ImageMagick temp files or large PHP file reads. The fix differs.

  6. Inspect the FPM error log for the cadence of signal 9 entries. A slow steady trickle suggests leak-driven pressure. A burst at a specific time suggests a specific request pattern (image upload, export, report generation). Cross-reference the slow log if request_slowlog_timeout is set.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
memory.current (cgroup v2)Actual memory charged to the FPM cgroupTrending toward memory.max with no relief
memory.max (cgroup v2)The hard ceiling you are actually operating underMis-sized relative to max_children * PSS
memory.events.oom_killAuthoritative count of cgroup-local OOM killsAny increment during normal traffic
Per-worker PSS (not RSS)True unique memory per worker, accounts for opcache sharingSteady upward trend between worker recycles
PHP-FPM signal 9 log entriesDirect log evidence of OOM-killed workersPattern of child N exited on signal 9
pm.max_children versus cgroup mathSanity check on capacity sizingmax_children * peak PSS + overhead exceeds memory.max
Container restart countOrchestrator-level visibility into master killsUnexplained restarts with OOMKilled reason

Fixes

Size pm.max_children against the cgroup, not the host

Use PSS, not RSS, and leave headroom:

max_children = floor((memory.max - opcache_segment - master_overhead - headroom) / peak_avg_pss)

Reserve at least 20-30% of memory.max for bursts, page cache, and the glibc allocator’s habit of holding freed memory. If the resulting max_children is too small to handle traffic, the answer is to raise memory.max or reduce per-worker footprint, not to disable the safety margin.

Set pm.max_requests to a finite value

With pm.max_requests = 0 (the default in many distros), workers never recycle and any leak in PHP code or an extension accumulates without bound. Set pm.max_requests between 500 and 1000. The recycling cost is one fork per N requests and is negligible. This is the single most common PHP-FPM misconfiguration, and the most common root cause of slow-motion OOM in containers.

Cap extension threading

ImageMagick and similar extensions spawn OpenMP threads per worker. Each thread allocates its own glibc malloc arena, which can balloon RSS by hundreds of MB per worker on a single large image. Set these in the FPM pool config:

env[OMP_NUM_THREADS] = 1
env[MAGICK_THREAD_LIMIT] = 1
env[MALLOC_ARENA_MAX] = 2

MALLOC_ARENA_MAX = 2 constrains glibc to a small number of arenas per worker, which dramatically reduces RSS growth on multi-threaded extensions at a small latency cost.

Acknowledge the memory_limit non-cap

memory_limit is per-request on the PHP allocator. It does not bound extension memory, glibc arena memory, page cache, or cumulative allocations across many requests in a long-lived worker. Setting memory_limit = 256M does not stop 10 workers from consuming 2.5GB at the cgroup level. Stop treating it as an aggregate cap. A pm.max_memory feature request exists as php/php-src issue 17661 and remains open as of August 2026.

Add the slow log if missing

Without request_slowlog_timeout set, you can see that workers are dying but not which request path is causing the memory pressure. Set request_slowlog_timeout = 5s (or higher for slow endpoints) on every production pool. The slow log captures stack traces that point directly at the leaking or ballooning code path.

Prevention

  • Check the cgroup math at deploy time, not at 3 a.m. Treat max_children * peak PSS + overhead against memory.max as a CI check, not an afterthought.
  • Monitor memory.events.oom_kill as a first-class signal. Any non-zero value during normal traffic is a problem the kernel already solved for you with a SIGKILL. The next victim may be the master.
  • Use PSS for capacity planning, RSS for trend detection. RSS is fine for spotting leaks; it overcounts for sizing.
  • Treat container restarts with OOMKilled: true as a PHP-FPM signal, not an infrastructure signal. The orchestrator is reporting a downstream consequence of cgroup pressure caused by FPM workers.
  • Resist raising memory_limit as a fix. It does not bound what is actually killing you. Lower max_children, raise memory.max, or fix the leak.

How Netdata helps

The failure is invisible from inside PHP-FPM. The signals that matter live at the cgroup and kernel layers, and per-second collection matters when a single large request tips the cgroup over in seconds.

  • cgroup v2 memory collectors surface memory.current, memory.max, and memory.events (oom, oom_kill) per container, so the cgroup-local kill shows up even when host dmesg is empty.
  • Per-process RSS tracking for FPM workers lets you watch the leak trend between recycles and spot which workers balloon on which requests.
  • The PHP-FPM collector exposes active and idle workers, listen queue, max-children-reached, and the slow-request counter. Correlating these with memory.current shows whether throughput is dropping because of pool saturation or because workers are being shot.
  • ML anomaly detection on memory.current and per-worker RSS flags the slow climb that precedes a kill, hours before the kernel takes action.
  • Container restart events and orchestrator state close the loop when the master is the kill victim and the FPM process itself is gone.
  • Composite dashboards let you put cgroup memory, worker RSS, FPM status, and orchestrator restarts on one screen, which is where the silent OOM actually becomes legible.