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-piped-logging-rotatelogs ▌

Operations Guides

Apache piped logging failures: dead rotatelogs, AH00106, AH00646, and Logging-state workers

Piped logging, where ErrorLog or CustomLog points at a program instead of a file (CustomLog "| /usr/bin/rotatelogs /var/log/httpd/access_log.%Y-%m-%d 86400" combined), adds a new failure mode to Apache: the log program itself. When rotatelogs (or whatever sits at the end of the pipe) dies, wedges, or cannot write because its target disk is full, logging can silently lose records or block workers. Upstream Apache restarts a crashed reliable piped logger and logs AH00106; it does not normally crash children on SIGPIPE.

The operational symptoms are confusing on first encounter: access logs stop updating, the error log may show nothing or a burst of child crashes, workers pile up in the Logging (L) state on the scoreboard, and the server looks alive while quietly losing observability or shedding capacity. If you are running piped logs and something looks off, the log pipeline is a prime suspect.

This article covers how to detect a dead or stalled log-pipe process, what the failure cascade looks like, and the trade-offs between piped logging and plain files with logrotate.

What this means

With file-based logging, each Apache child holds an open file descriptor per log file and writes directly. With piped logging, Apache spawns the log program at startup and each child writes log lines into a pipe. The program on the other end (rotatelogs, cronolog, a syslog forwarder, mod_security’s audit log pipe) owns the actual files and handles rotation.

That indirection buys you rotation without restarts, but it makes the log program part of the request-serving critical path:

  • If the log program exits, Apache’s reliable piped-logging maintenance restarts it and logs AH00106; a persistent restart failure is the remaining hazard.
  • If the log program is alive but blocked (for example, its output filesystem is full or I/O is saturated), the pipe fills and children block in the Logging state. Enough blocked children and you get the Log Stall Deadlock: workers finish requests but cannot log them, so effective capacity collapses while the process looks healthy.
  • Each piped logger consumes file descriptors. On VHost-heavy servers with a pipe per vhost log, FD usage multiplies fast.
flowchart TD
  A[rotatelogs dies
or output disk fills] --> B[pipe restarts/back logs or backs up] B --> C[write fails/blocks:
AH00646 or blocked logger] C --> D[logger restart failure
or logged write failures] C --> E[workers stuck in L state
on scoreboard] D --> F[parent respawns children
churn and instability] E --> G[BusyWorkers climbs
IdleWorkers falls to zero] G --> H[connections queue in backlog
then refused] B --> I[access log goes silent
observability lost]

One mitigation worth knowing: Apache 2.4 treats piped loggers as “reliable” and will restart the piped log process if it crashes while the server is running. That helps with transient crashes, but it does not save you if the program keeps dying (bad path, full disk), and it does not unblock children already blocked on a full pipe.

Common causes

CauseWhat it looks likeFirst thing to check
rotatelogs process diedAH00106; access-log timestamps stop advancing; fewer process instances than configuredpgrep -af rotatelogs and AH00106 in the error log
Log filesystem fulldf at 100%; rotatelogs emits “messages lost” or dies; workers in L statedf -h on the log filesystem
Bad pipe configuration after restartApache fails to start or logs AH00104/AH00088 style pipe errorsapachectl configtest, then error log at startup
Graceful restart raceAH00646: Error writing to pipe errors after reloads; transient broken pipeError log around “resuming normal operations” events
Too many piped loggersHigh FD count per child, “Too many open files” under loadPer-process FD counts vs ulimit
Slow consumer in the pipeIntermediate filter buffers or stalls; workers accumulate in LScoreboard state distribution

Quick checks

All of these are read-only.

# 1. Are the piped log processes actually running?
pgrep -af rotatelogs

# 2. Scoreboard: how many workers are stuck in Logging state?
curl -s http://localhost/server-status?auto | grep "Scoreboard:" | \
  awk '{print $2}' | fold -w1 | sort | uniq -c | sort -nr

# 3. Is the log filesystem full?
df -h /var/log/apache2/ 2>/dev/null || df -h /var/log/httpd/

# 4. Recent pipe and disk errors in the error log
grep -E "AH00646|piped log|No space left|Too many open files" \
  /var/log/apache2/error.log /var/log/httpd/error_log 2>/dev/null | tail -20

# 5. FD usage per Apache process (each pipe costs FDs)
for pid in $(pgrep 'httpd|apache2'); do
  echo -n "PID $pid: "; ls /proc/$pid/fd 2>/dev/null | wc -l
done

# 6. Did the access log stop advancing?
ls -l --time-style=full-iso /var/log/apache2/access.log 2>/dev/null || \
  ls -l --time-style=full-iso /var/log/httpd/access_log
date

Two readings matter most: an L-heavy scoreboard (check 2) means children are blocked writing logs right now, and a stalled log mtime with a running server (check 6) means the pipeline is broken even if nothing is obviously blocked yet.

How to diagnose it

  1. Confirm the pipeline is the problem. Compare the access log mtime with the current time and with request activity. If mod_status shows requests completing (Total Accesses climbing) but the access log is frozen, the write path is broken, not the traffic.

  2. Check the log program’s process table entry. You should see one rotatelogs instance per piped log directive, parented to the Apache parent. If the count is lower than the number of piped directives, one died and either was restarted with a new output file or the pipe is broken. If you see zombie rotatelogs processes, that points to a hung parent or a debugging build flag rather than normal operation.

  3. Check the scoreboard for L and G states. Sustained L above a few percent of workers is the log-stall signature. Many G states after a reload, combined with AH00646 broken-pipe errors, points at the graceful restart race (below).

  4. Check disk space and I/O on the log filesystem. df -h for space, iostat -xz 1 3 for saturation. rotatelogs on a full filesystem emits “error writing to logfile … messages lost”, truncates, and continues, or dies outright. On platforms without large-file support, the same message appears when a file hits 2GB.

  5. Check FD headroom. Each piped logger costs pipe FDs in the parent and children. If per-child FD counts are near the limit (cat /proc/$(pgrep -o 'httpd|apache2')/limits | grep "Max open files"), a burst of connections plus the pipe FDs can tip a child into EMFILE, and log writes are among the first things to fail.

  6. Correlate with restart events. grep -E "resuming normal operations|caught SIGTERM" error_log | tail -20. Broken-pipe errors clustered right after graceful restarts are the known piped-logging race: during overlapping graceful restarts the piped log process can be terminated before all old-generation workers finish writing to it (tracked upstream as Apache Bug 61926; its public Bugzilla status was not independently readable, so verify it directly if you need its current state).

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Scoreboard L state countDirect view of workers blocked on log writesSustained L above ~5% of workers
Log-pipe process countA dead rotatelogs is the failure itselfFewer instances than piped directives; zombies
Log filesystem free spaceFull disk kills or stalls the log programAbove 80% used
Log file mtime / write rateSilent pipeline failure shows up here firstmtime stale while requests complete
Per-process FD count vs limitPipes multiply FD usage, especially per-vhostAny child above 70% of its limit
Error log: AH00646, “No space left”, “Too many open files”The explicit pipe/disk/FD failure messagesAny occurrence outside a rotation window
Child exit / segfault rateSeparate persistent logger failures from unrelated crashesExits correlated with AH00106/AH00646 and log gaps

Fixes

Dead log-pipe process

Apache 2.4 restarts a crashed piped logger on its own, so if the process is gone and staying gone, the restart itself is failing. The most common reasons are configuration-level: the logger path must be absolute, and the logfile path passed to rotatelogs must also be absolute. A relative path produces pipe-open errors at startup or respawn. Fix the directive, run apachectl configtest, then do a full restart. A graceful reload is not guaranteed to cleanly recover a broken pipe state, and on some versions the parent itself can fault during rapid successive graceful reloads, so verify your exact 2.4.x behavior and prefer a planned restart when repairing piped logging.

Note the 2.2 to 2.4 behavior change: in 2.4, piped commands run directly without a shell. If your directive relies on shell syntax (redirection, command chaining), prefix it with |$ to invoke it via /bin/sh -c, or it will fail to spawn.

Full log filesystem

Free space first: compress or move old rotated files, then confirm rotatelogs resumed writing (mtime advancing). If rotatelogs truncated and continued, expect a gap. Do not delete the file a running rotatelogs has open; the space will not be released until the process reopens it. A graceful restart forces loggers to reopen their outputs, but see the race warning below. Longer term, put logs on their own filesystem so a log explosion cannot starve the OS or application, and size rotation intervals to the disk.

Graceful restart broken-pipe errors (AH00646)

If broken-pipe errors cluster around graceful restarts, you are hitting the piped-logging race where the logger is torn down before old workers drain. Practical mitigations: reduce graceful-restart frequency (batch config changes, do not reload per logrotate run), bound request/keepalive/proxy timeouts, and avoid multiple overlapping reload scripts; GracefulShutdownTimeout applies to graceful-stop, not a graceful reload. If your logrotate setup triggers an Apache reload per rotation, that alone can produce this pattern under load. The current 2.4.x source still terminates a reliable piped logger on restart, but the public Bugzilla status of the race report was not independently readable; verify your exact release if you need its fix state.

FD exhaustion from too many piped loggers

Per-vhost CustomLog pipes scale FD usage with vhost count. Consolidate to a single piped logger and split by vhost in the log program or downstream, and raise LimitNOFILE in the systemd unit with headroom (the playbook guidance is at least 2x theoretical maximum usage). Raising the limit requires a full restart, not a reload.

Deciding: piped logs vs files plus logrotate

Piped logging survives rotation better than file logging: rotation happens inside the logger, so there is no rename-and-reopen window and no need to signal Apache when files rotate. Plain files with logrotate using copytruncate can lose log lines in the race between copy and truncate; the safe file-based approach is rename plus SIGUSR1 (graceful restart) so Apache reopens its logs, but that reintroduces reload frequency and the graceful-restart failure modes above.

The trade-off: piped logs put a process on the critical write path (restart/stall risk and extra FDs), while file logging keeps writes kernel-direct but makes rotation an orchestration problem. For high-traffic servers, a single piped rotatelogs for access logs plus a dedicated log filesystem is a solid default. For many vhosts, prefer one pipe with vhost splitting over one pipe per vhost.

Prevention

  • Monitor the log pipeline as a first-class dependency. Track rotatelogs process count, log mtime freshness, and scoreboard L state, not just disk space.
  • Use absolute paths everywhere in piped directives, both the logger binary and its output files, and configtest before every reload.
  • Dedicate a filesystem to logs and alert at 80% so a full disk never reaches the pipe.
  • Bound reload frequency. Batch config changes, avoid logrotate-triggered graceful restarts where possible, and tune request/keepalive/proxy timeouts; GracefulShutdownTimeout is for graceful-stop.
  • Budget FDs for pipes. Each pipe costs FDs in every child; size LimitNOFILE with at least 2x headroom over the theoretical maximum.
  • Keep the pipe simple. Every extra program in the chain adds buffering and a new way to stall; pipe directly to rotatelogs and do filtering downstream.

How Netdata helps

  • Scoreboard state tracking over time. Netdata collects the Apache scoreboard continuously, so a sustained L-state buildup shows up as a trend, not a snapshot you happened to catch, and you can see exactly when it started relative to a reload or disk event.
  • Correlation with disk and process signals. A log stall is confirmed when L states rise at the same moment the log filesystem hits full or the rotatelogs process count drops. Seeing those on one dashboard removes the guesswork.
  • FD and memory context. Per-process FD usage and child RSS alongside worker utilization tells you whether pipe FDs are contributing to a limit problem.
  • Error-log and uptime correlation. Restart events and child churn lined up against log-pipeline metrics make the graceful-restart race visible instead of anecdotal.

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.