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 / apache-httpd / apache-httpd-oom-killer ▌

Operations Guides

Apache killed by the OOM killer: the memory exhaustion cascade

Your monitoring says Apache is up. The parent process exists, the port is listening, but the site is down or intermittently dead. When you finally check the kernel log, there it is: Out of memory: Killed process ... (httpd). Not once. Dozens of times, at regular intervals, going back hours.

This is the Apache OOM death spiral. The kernel OOM killer terminates httpd child processes because total memory demand exceeded RAM. The Apache parent survives, respawns the children, the new children immediately start serving queued requests and allocating memory, and the OOM killer kills them again. The service looks “running” while serving little or nothing.

The defining operational fact of this failure: the kill never appears in the Apache error log. The process was killed externally by the kernel, so the evidence lives in dmesg and the kernel journal, not in /var/log/apache2/error.log or /var/log/httpd/error_log. Operators who only watch Apache’s own logs can stare at a dying server for a long time without seeing a single error line.

This guide covers how to confirm the pattern, how to tell the two root causes apart, and how to fix the sizing so it does not come back.

What this means

Apache’s memory exhaustion archetype is simple arithmetic: MaxRequestWorkers x per-child RSS > available RAM. When every worker slot is occupied and each child process holds its real resident memory, total Apache memory exceeds physical memory. The degradation curve is gradual, then a cliff. First the kernel reclaims page cache, then it starts swapping (a swapped-out child takes 10-100x longer to respond when paged back in), and finally the OOM killer activates.

Two details make this worse than a generic OOM:

  1. The OOM killer usually targets children, not the parent. Its heuristic favors the task using the most allowed memory, adjusted by oom_score_adj and eligibility; the largest consumer is usually an httpd child. The parent normally survives, but selection is not guaranteed. You can have a “running” Apache with zero functional children.
  2. The parent respawns what the kernel kills. Each respawned child picks up queued work, allocates memory, and becomes the next OOM candidate. Without intervention this loop runs indefinitely.
flowchart TD
  A[MaxRequestWorkers x per-child RSS exceeds RAM] --> B[Kernel reclaims page cache]
  B --> C[Swapping begins, latency spikes 10-100x]
  C --> D[OOM killer terminates httpd children]
  D --> E[Parent respawns children]
  E --> F[New children serve queued requests, allocate memory]
  F --> D
  D -.->|evidence in dmesg / journalctl -k, not Apache error log| G[Operator sees running parent, dead service]

There are two root causes, and the fix differs for each:

  • Sizing error. MaxRequestWorkers is set higher than memory can support. This is the most common Apache misconfiguration: 1000 workers on a 4GB box with mod_php children at 50MB each implies 50GB of demand. Under a traffic burst, the math catches up.
  • Per-child leak. A module (commonly mod_php, mod_perl, or a custom module) leaks memory per request. Child RSS grows monotonically over hours or days until the OOM kills start. MaxConnectionsPerChild 0 (the default, meaning children never recycle) is almost always present in this pattern.

Common causes

CauseWhat it looks likeFirst thing to check
MaxRequestWorkers too high for RAMOOM kills during traffic peaks; children at similar RSS; recovers when load dropsMaxRequestWorkers x max observed child RSS vs total RAM
Per-child memory leakChild RSS grows monotonically over hours/days; OOM kills arrive even at normal load; MaxConnectionsPerChild 0Per-PID RSS trend over time
mod_php inflating per-child memoryPrefork children at 50-100MB+ RSS eachps -C httpd -o pid,rss --sort=-rss and which MPM is loaded
Graceful restart pile-upMemory spikes correlate with deploys or log rotation; many G states; process count exceeds MaxRequestWorkersRestart frequency in error log (resuming normal operations)
Another process grew (not Apache)OOM kills of httpd children but Apache RSS is stable; something else ate the RAMWhole-system memory: /proc/meminfo, other large processes

If Apache shares the host with other large consumers (a database, a JVM), the OOM badness heuristic tends to select the task using the most allowed memory, adjusted by oom_score_adj and eligibility; that task may not be the process that caused the pressure. Check what was actually growing before assuming Apache is the culprit.

Quick checks

All read-only. Run these first.

# 1. Confirm OOM kills happened (the kill is NOT in the Apache error log)
dmesg -T | grep -i -E "out of memory|oom-kill|killed process" | tail -20

# 2. Kernel journal equivalent, useful when dmesg has rotated
journalctl -k | grep -i oom | tail -20

# 3. Current memory state
grep -E "MemTotal|MemAvailable|SwapTotal|SwapFree" /proc/meminfo

# 4. Per-child RSS, sorted by largest (use apache2 on Debian/Ubuntu)
ps -C httpd -o pid,rss,vsz,cmd --sort=-rss 2>/dev/null || \
  ps -C apache2 -o pid,rss,vsz,cmd --sort=-rss

# 5. Average and count
ps -C httpd -o rss --no-headers 2>/dev/null || ps -C apache2 -o rss --no-headers | \
  awk '{sum+=$1; count++} END {print "Avg RSS (KB):", sum/count, "Count:", count}'

# 6. Which MPM is active (prefork vs worker vs event changes the whole interpretation)
apachectl -V 2>/dev/null | grep -i mpm || httpd -V | grep -i mpm

# 7. Parent alive but children missing? The classic "zombie healthy" state
pgrep -o 'httpd|apache2'          # oldest PID = parent
pgrep -c 'httpd|apache2'          # total process count

# 8. Configured limits actually in effect
grep -rE "MaxRequestWorkers|MaxConnectionsPerChild|ServerLimit|MaxClients" \
  /etc/apache2/ /etc/httpd/ 2>/dev/null | grep -v "^.*#"

# 9. Recent graceful restarts (pile-up suspect)
grep -c "resuming normal operations" /var/log/apache2/error.log 2>/dev/null || \
  grep -c "resuming normal operations" /var/log/httpd/error_log

# 10. Worker saturation right now
curl -s http://localhost/server-status?auto | grep -E "BusyWorkers|IdleWorkers"

Note that check 3 uses MemAvailable, not MemFree. MemFree ignores reclaimable cache and will make a healthy system look closer to OOM than it is.

How to diagnose it

  1. Confirm the kill. Step 1 or 2 above must show httpd/apache2 children being killed. If there are no OOM lines, this is a different incident; stop here. If the killed PIDs are Apache children and the parent PID never appears in the kill list, you have the standard pattern.

  2. Reconstruct the timeline from the kernel log. Look at kill frequency. Kills only during traffic peaks point to a sizing error. Kills arriving at a steady cadence regardless of load, with kill timestamps getting closer together over days, point to a leak.

  3. Snapshot per-child RSS now and again in an hour. A sizing error shows children clustered around a stable RSS. A leak shows per-PID RSS climbing monotonically. The playbook pattern is unambiguous: plot RSS per PID over time, and a leak is a rising line per process.

  4. Do the arithmetic. Worst case Apache memory = MaxRequestWorkers x max_observed_child_RSS. Compare against RAM. If the result exceeds roughly 70% of total RAM, the configuration cannot survive a full worker pool. For prefork with mod_php, 50-100MB per child is a common starting range; validate with your own measurements, not the estimate.

  5. Check MaxConnectionsPerChild. If it is 0 (unlimited, the default), children never recycle and any leak compounds forever. Its presence at 0 does not prove a leak, but its absence as a bound is what turns a small leak into a terminal event.

  6. Rule out restart pile-up. If memory spikes line up with deploys, config management runs, or log rotation, and the scoreboard shows many G (gracefully finishing) states, old and new generations of children are overlapping. Each overlapping generation multiplies memory. Frequent graceful restarts plus slow requests can OOM a correctly sized server.

  7. Check systemd-level limits. If httpd runs under systemd, MemoryMax in the unit file caps the service regardless of Apache config, and TasksMax caps total processes and threads. A cgroup limit below Apache’s theoretical demand produces OOM kills with apparently free system memory. Check the unit file before blaming the Apache config.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
OOM kill lines in dmesg / journalctl -kThe only place the kill is recorded; Apache’s error log will never show itAny httpd/apache2 child killed
Per-child RSS trendDistinguishes leak (monotonic growth) from sizing error (stable)Per-PID RSS rising over days, or any child >2x the average
MaxRequestWorkers x max child RSS vs RAMThe actual worst-case demandAbove 70% of total RAM
MemAvailable (/proc/meminfo)The true headroom the kernel seesSustained downward trend toward low values
Swap usage for Apache childrenSwapping is the stage before OOM; a swapped child is 10-100x slowerAny sustained swap usage
BusyWorkers / MaxRequestWorkersFull worker pool is what converts a sizing error into an OOM eventSustained near 100%, IdleWorkers at 0
Restart frequency (error log)Graceful restart pile-up multiplies memoryMultiple resuming normal operations close together, many G states

Fixes

Right-size MaxRequestWorkers against memory

Derive the limit from memory, not from a guess: MaxRequestWorkers = memory_available_to_Apache / per_child_RSS, using the largest observed child RSS, not the average. Keep the theoretical maximum at or below 70% of total RAM on a dedicated host, leaving room for the OS, page cache (which matters for static file performance), and anything else on the box. This is covered in depth in the MaxRequestWorkers tuning guide.

Tradeoff: a lower worker ceiling means traffic bursts queue in the listen backlog instead of being served. That is the correct failure mode. Queued connections are recoverable; an OOM death spiral is not.

Bound the leak with MaxConnectionsPerChild

Set MaxConnectionsPerChild to a finite value (5000-10000 is the playbook range) so children recycle periodically and leaked memory is reclaimed. This bounds any leak but does not fix it.

Tradeoff: recycling children costs a small amount of churn (fork/startup work) and briefly raises process count during replacement. It is cheap insurance. Leaving it at the default of 0 is wrong for any deployment running mod_php or mod_perl.

Actually find the leak

Compare RSS growth across children serving different URL patterns to isolate which module or application path leaks. If PHP is involved, enforce a memory_limit in PHP itself, and seriously consider moving PHP out of the httpd process to PHP-FPM, which both shrinks per-child RSS dramatically and lets you recycle PHP workers independently of Apache.

Reduce per-child memory footprint

If you are on prefork only because of mod_php, moving PHP to PHP-FPM unlocks the event MPM, the default MPM in Apache 2.4 on systems supporting threads and thread-safe polling. Event handles keepalive connections in a listener thread instead of tying up workers, and threaded children amortize memory across many connections. Prefork children carrying an embedded interpreter (10-50MB+ each, 50-100MB with mod_php) are the most common way servers end up sized into OOM territory.

Stop restart pile-ups

Reduce whatever is triggering frequent graceful restarts (over-eager config management, aggressive log rotation), and set GracefulShutdownTimeout (for example 30 seconds) so old-generation children cannot linger indefinitely holding memory alongside the new generation.

Prevention

  • Treat MaxRequestWorkers as a derived value. Recompute it whenever per-child RSS changes materially: new application version, new module, PHP framework upgrade.
  • Never run with MaxConnectionsPerChild 0 when embedded interpreters are loaded.
  • Trend per-child RSS and MemAvailable. A leak gives you days of warning if you are watching; the OOM kill should never be the first signal you see.
  • Watch swap. Any sustained swap usage by Apache children is a pre-OOM warning, not a curiosity.
  • Alert on kernel OOM lines. Grep-class monitoring of dmesg/journalctl for oom-kill and Killed process catches this even when Apache’s own logs are silent.
  • Deploy discipline. Avoid back-to-back graceful restarts under load; the old-plus-new overlap briefly multiplies memory.

How Netdata helps

  • Netdata charts per-process RSS for httpd/apache2 children over time, which is exactly the trend that separates a slow leak from a sizing error, without you having to snapshot ps by hand.
  • System memory context (MemAvailable, swap in/out) is collected on the same second-level timeline as Apache’s worker metrics, so you can see swap growth and worker saturation converge before the first kill.
  • The Apache collector tracks BusyWorkers and IdleWorkers from mod_status, letting you correlate a full worker pool with the memory climb that follows.
  • Netdata’s logs and alerting can watch the kernel journal for OOM kill events, closing the blind spot where the Apache error log stays clean while children die.
  • Restart events and scoreboard state changes are visible alongside memory, which makes graceful restart pile-ups (many G states plus a memory spike) easy to spot after the fact.

Netdata’s Apache HTTP Server monitoring with Netdata brings these signals together with per-second metrics and ML anomaly detection.

The Netdata solution

Apache HTTP Server monitoring with Netdata

Netdata monitors Apache HTTP Server with per-second metrics from mod_status, pre-built dashboards, and ML-powered anomaly detection. Watch busy versus idle workers and the scoreboard state mix, requests per second, bytes served per second, and request processing duration alongside the rest of your stack, so you catch the worker-exhaustion, slow-backend, and memory incidents in these runbooks before they page anyone.