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-graceful-restart-pileup ▌

Operations Guides

Apache graceful restart pile-up: G states, stacked generations, and doubled memory

Memory on an Apache host climbs in steps, each step landing a few minutes after a deploy, a config push, or a log rotation. The scoreboard shows an unusual number of G (gracefully finishing) workers. ps shows far more httpd children than MaxRequestWorkers should allow. Nothing is erroring yet, but the host is drifting toward swap, and the next restart will make it worse.

This is the graceful restart pile-up pattern. Each graceful restart spawns a new generation of children while the old generation drains. Old children do not exit until their in-flight requests complete. If requests are slow (large downloads, slow proxied backends, long-lived connections), the old generation lingers. If another graceful restart arrives before the previous generation has drained, you now have three generations of children, each holding memory. Stack enough generations and the host OOMs.

The pattern is usually self-inflicted: CI/CD pipelines that reload on every deploy, configuration management agents that restart Apache every run, or log rotation that signals Apache too aggressively. The server itself is healthy. The restart cadence is the bug.

What this means

A graceful restart (apachectl graceful, which sends SIGUSR1 to the parent) tells Apache to re-read its configuration, re-open its logs, and replace its children without dropping connections. The parent starts new children on the new configuration and advises old children to exit after their current request finishes. In the scoreboard, old-generation workers still serving requests show as G, gracefully finishing.

The key property: there is no hard deadline by default. GracefulShutdownTimeout defaults to 0, which means wait indefinitely. An old child serving a slow request, a large file transfer, or a long-lived proxied connection stays alive, and keeps its memory, for as long as that request lasts.

One graceful restart with slow requests gives you a brief overlap of old and new children. That is normal: G states during a graceful restart are expected, and process count may temporarily exceed MaxRequestWorkers. The failure mode starts when restarts arrive faster than generations drain. Memory then scales with the number of stacked generations, not with the configured worker limit.

flowchart TD
  A[CI/CD deploy, config run, or logrotate] -->|SIGUSR1 graceful restart| B[Parent spawns new generation children]
  B --> C[Old generation children enter G state]
  C --> D{In-flight requests complete?}
  D -->|Yes| E[Old children exit, memory freed]
  D -->|No: slow requests, large transfers, long-lived connections| F[Old children linger with full RSS]
  F -->|Another graceful restart arrives| B
  F -->|Generations stack| G[Process count exceeds MaxRequestWorkers]
  G --> H[Memory = generations x children x per-child RSS]
  H --> I[Swap, then OOM kills]

Common causes

CauseWhat it looks likeFirst thing to check
CI/CD reloading on every deploy“resuming normal operations” timestamps match deploy times; G states spike after each deployCorrelate error log restart timestamps with deploy pipeline logs
Configuration management triggering restarts every runRestarts at regular short intervals (every 5, 15, 30 minutes) even when nothing changedCheck whether the agent restarts or reloads unconditionally instead of only on config change
Aggressive log rotationRestarts at rotation times (often hourly, or multiple times per night); pattern repeats dailyInspect the logrotate config for the postrotate action; check rotation frequency
Slow or long-lived requests holding old childrenG workers persist for minutes or hours after a single restart; scoreboard shows the same G slots over timeLook at the request column in full server-status for G-state workers
Log rotation using the wrong signalFull connection drops at rotation time; users see errors; restart pattern still frequentCheck whether rotation sends SIGHUP (hard restart) instead of SIGUSR1

Quick checks

All of these are read-only.

# Count scoreboard states; a pile-up shows many G entries
curl -s http://localhost/server-status?auto | grep "Scoreboard:" | \
  awk '{print $2}' | fold -w1 | sort | uniq -c | sort -nr

# Busy and idle workers; G states count toward BusyWorkers
curl -s http://localhost/server-status?auto | grep -E "BusyWorkers|IdleWorkers|ServerUptimeSeconds"

# Restart frequency: repeated entries close together confirm the pile-up trigger
grep -iE "resuming normal operations|caught SIGTERM|graceful restart" \
  /var/log/apache2/error.log /var/log/httpd/error_log 2>/dev/null | tail -20

# Process count and memory per child; count exceeding MaxRequestWorkers
# (as child processes or threads, depending on MPM) indicates stacked generations
ps -C httpd -o pid,ppid,rss,cmd --sort=-rss 2>/dev/null || \
  ps -C apache2 -o pid,ppid,rss,cmd --sort=-rss

# Total Apache memory footprint; -C accepts both names so this works
# on Debian (apache2) and RHEL (httpd) families
ps -o rss --no-headers -C httpd -C apache2 2>/dev/null | \
  awk '{sum+=$1; count++} END {printf "Total RSS (MB): %.0f  Processes: %d\n", sum/1024, count}'

# Confirm the last reloads actually applied cleanly
apachectl configtest 2>&1

Two things to note while reading output. First, BusyWorkers includes all non-idle states, so G workers inflate it; do not mistake a G-heavy BusyWorkers reading for genuine traffic saturation. Second, during a graceful restart the process count can legitimately exceed MaxRequestWorkers for a short window. The alarm condition is that state persisting, not its existence.

How to diagnose it

  1. Confirm the restart cadence. Pull the “resuming normal operations” lines from the error log and look at the gaps. Restarts minutes apart, or restarts aligned with deploy or cron schedules, are the trigger. One restart per day with lingering G states is a slow-request problem, not a cadence problem.

  2. Quantify the G population. Run the scoreboard histogram above a few times over several minutes. G workers that appear, drain, and disappear are normal. G workers that persist across samples, or a G count that grows with each restart, are the pile-up.

  3. Identify what the G workers are doing. The full (non-auto) server-status page shows, per slot, the request each worker is handling. Look for patterns: large file downloads to slow clients, proxied requests to a slow backend, or long-lived connections. Remember that %D in the access log includes client transfer time, so a 100MB download to a 1Mbps client legitimately holds a worker for a long time. If your storage or MPM differs from what server-status assumes, the detail columns may differ; the state column is the reliable part.

  4. Measure the memory cost. Sum RSS across all httpd processes and compare against the host. A reasonable capacity rule: Apache’s maximum theoretical memory should stay under 70% of RAM. With stacked generations, actual usage can exceed the MaxRequestWorkers x per-child RSS bound you planned for, because that bound assumes one generation.

  5. Find the trigger. Match restart timestamps to the automation: deploy pipeline logs, configuration management run logs, cron entries for logrotate. The restart source is almost never Apache itself.

  6. Check for OOM pressure. If the host has already tipped over, dmesg will show OOM kills against httpd children. That confirms the pile-up reached its terminal stage and tells you the fix is urgent, not cosmetic.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Scoreboard G state countDirect measure of draining old-generation workersG > 0 for an extended time, or growing across successive restarts
Restart events (“resuming normal operations”)The trigger; frequency determines whether generations can drainMultiple entries close together; restarts faster than the slowest requests complete
Apache process/thread count vs MaxRequestWorkersStacked generations push the real count above the configured boundCount persistently above the configured maximum
Total Apache RSS (sum of children)Memory multiplies with each stacked generationStep increases aligned with restart times; total approaching 70% of RAM
Per-request duration for G-held requestsExplains why generations do not drainLong-lived proxied requests or large transfers dominating old generations
Swap usage and OOM killsTerminal stage of the patternAny sustained swap use by Apache children; OOM entries in dmesg

Fixes

Reduce restart frequency

This is the actual fix. Everything else is a bound on the damage.

  • Deploy pipeline batching. Reload once at the end of a deploy, not once per configuration fragment. Each reload spawns a generation, and generations are the cost.
  • Configuration management on-change only. Configure the agent to reload Apache only when a managed file actually changed, not on every run. Unconditional restarts at agent intervals are the most common cause of stacked generations.
  • Log rotation cadence and method. Rotate less aggressively, and make the postrotate action send SIGUSR1 (graceful), never SIGHUP, which is a hard restart that drops all connections. Avoid copytruncate, which races with Apache’s writes and can lose log lines; use rename plus graceful restart, or piped logging with rotatelogs. Rotation is a scheduled restart, so it sets the floor on restart frequency.

Bound old-generation linger time

Set GracefulShutdownTimeout to a finite value (for example, 30 seconds) so old children cannot wait forever:

GracefulShutdownTimeout 30

The default of 0 means wait indefinitely. One important caveat: official documentation and the MPM source both scope this directive to graceful-stop (SIGWINCH) only. On a graceful restart (SIGUSR1), the parent advises old children to exit and waits for them with no cutoff timer, so this directive does not bound the restart pile-up on current 2.4.x. Limiting restart frequency and the duration of in-flight requests is the lever that works here; the directive still matters for apachectl graceful-stop.

Tradeoff: when the timeout does apply, any request still in flight when it fires is cut off. For a host serving large downloads or long-polling clients, 30 seconds may be too short. Set it from your observed P99 request duration, not from a guess.

Remove the reason old requests are slow

If generations linger because requests genuinely take minutes, bounding the restart side only goes so far. Slow proxied backends hold workers in W and hold old generations in G; see the slow backend cascade pattern in Apache backend response time and Apache 504 Gateway Timeout. Large transfers to slow clients are legitimate holds; those argue for a longer drain window and fewer restarts, not for killing requests.

Right-size memory headroom

Re-run the capacity math with the pile-up in mind: worst case is not MaxRequestWorkers x per-child RSS, it is that figure times the number of generations you can plausibly stack. If your restart automation can produce three overlapping generations, either the host must absorb three generations of memory or the restart cadence must change. Usually the cadence changes, because the memory cost is multiplicative.

Prevention

  • Alert on restart frequency. More than a handful of graceful restarts per day, outside a known deploy window, is worth a ticket.
  • Track G-state duration, not just count. A G worker that drains in seconds is healthy. A G worker alive for ten minutes tells you exactly how long your restart interval must exceed.
  • Watch total Apache RSS against the 70% headroom rule. Step increases aligned with restart times catch the pile-up before swap does.
  • Gate deploys on drain. If the pipeline must reload, wait for the previous generation’s G count to reach zero before issuing the next graceful restart.
  • Validate config before every reload. Run apachectl configtest first. A failed graceful reload leaves the old configuration running silently, and the retry loop some tools enter makes the pile-up worse.

How Netdata helps

  • Scoreboard state distribution over time, including the G state as its own series, so a growing or non-draining G population is visible as a trend instead of a snapshot you happened to catch.
  • Apache process count and total RSS per host, which makes the multi-generation memory multiplication directly visible and correlatable with restart timestamps.
  • Uptime and restart events, so the restart cadence (the trigger) sits on the same timeline as the memory and G-state curves (the effect).
  • BusyWorkers and IdleWorkers, which let you separate a G-inflated busy count from genuine traffic saturation when the two look similar on a single metric.
  • System memory, swap, and OOM events, so you can see the pile-up approaching its terminal stage and confirm when it has tipped over.

Correlating restart events, G-state duration, and total RSS on one dashboard turns this from “memory is weird after deploys” into a named pattern with a known fix. 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.