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 / fluentd / fluentd-monitor-agent-not-responding ▌

Operations Guides

Fluentd monitor_agent not responding: a process that is up but hung

Your liveness check says Fluentd is fine. The PID exists, systemctl status shows active, but curl http://localhost:24220/api/plugins.json hangs until it times out, or returns something other than 200, and no logs are moving.

This is the zombie state: a process that passes every cheap liveness check but is functionally dead. The monitor_agent endpoint is the cheapest honest probe you have for this. If it does not answer, the internal runtime is not making progress, regardless of what the process table says.

This guide covers how to confirm the hang, tell the underlying causes apart, and make sure monitoring catches it next time instead of relying on a bare PID check.

What this means

Fluentd’s monitor_agent plugin (in_monitor_agent) runs an HTTP server inside the Fluentd process. When you add this to the config, each worker exposes its own endpoint:

<source>
  @type monitor_agent
  bind 0.0.0.0
  port 24220
</source>

Default port is 24220. In multi-worker mode, each worker gets its own port: worker 0 answers on 24220, worker 1 on 24221, and so on (24220 + worker_id). A healthy response from /api/plugins.json means two things at once: the process exists, and the Ruby runtime can still schedule threads and execute code. That second condition is exactly what a PID check cannot tell you.

When the endpoint stops answering while the process still exists, the usual suspects are:

  • The event loop is blocked on a synchronous operation, typically a network call to an output destination without a timeout.
  • The GVL (Global VM Lock) is held by one thread doing CPU-bound work, so no other thread, including the monitor_agent HTTP handler, ever runs. CRuby threads share one GVL per worker process, and CPU-bound work like regex parsing or serialization does not release it.
  • A genuine deadlock between threads.
  • A GC storm: Ruby garbage collection consuming all available CPU because the heap is fragmented or under pressure.

The diagram shows why a single stuck thread can take down the whole probe surface.

flowchart LR
  T[tail input thread] --> GVL[GVL per worker]
  P[parser thread - stuck regex] --> GVL
  F[flush threads] --> GVL
  M[monitor_agent HTTP] --> GVL
  GVL -->|held by stuck thread| S[all other threads starve]
  S --> R[/api/plugins.json times out/]

Common causes

CauseWhat it looks likeFirst thing to check
Event loop blocked on synchronous output I/OProcess at low CPU, endpoint unresponsive, buffer queue growing, output write_count flat when the API last answeredThread backtraces showing a thread stuck in a network connect/read call
GVL starvation from CPU-bound parsingFluentd pinned near 100% of one core while system CPU looks lowPer-thread CPU (ps -T -p <pid>), one thread dominating
GC storm / memory pressureRSS high and climbing, high CPU, periodic throughput dips before the hangRSS trend, container memory limit proximity
Deadlock between threadsProcess idle, near-zero CPU, nothing progressing at allThread backtraces showing threads waiting on each other
Port binding failure or port conflictEndpoint never worked since start, or worked until a restartss -tlnp for who owns 24220
monitor_agent never configuredEndpoint has never answered, process is otherwise healthy and shipping logsConfig contains <source> @type monitor_agent

Do not confuse the hang with a different symptom. “Connection refused” on the first-ever attempt usually means monitor_agent is not in the config, or (in containers) the port is not published. That is a configuration gap, not a hang. A port that previously answered and now times out on a live process is the zombie state this guide is about.

Quick checks

All read-only. Run these before touching the process.

# 1. Confirm the process exists and note the PID
pgrep -af fluentd

# 2. Probe the endpoint with an explicit timeout (5s is the alerting threshold)
curl -s -o /dev/null -w "%{http_code}\n" --max-time 5 http://localhost:24220/api/plugins.json

# 3. Confirm nothing else stole the port
ss -tlnp | grep 24220

# 4. Check per-thread CPU to distinguish GVL starvation from deadlock
ps -T -p <pid> -o spid,%cpu,comm

# 5. Check RSS and thread count (GC storm candidate)
ps -o pid,rss,%mem,%cpu,comm -p <pid>
grep -E "VmRSS|Threads" /proc/<pid>/status

# 6. In multi-worker mode, probe every worker port
for p in 24220 24221 24222; do
  printf "%s: " "$p"
  curl -s -o /dev/null -w "%{http_code}\n" --max-time 5 "http://localhost:$p/api/plugins.json"
done

Interpretation shortcuts:

  • Step 2 returns 000 (timeout) and step 4 shows one thread at ~100% CPU: GVL starvation, likely a parser or serialization loop.
  • Step 2 returns 000 and the process is near 0% CPU: blocked on I/O or deadlock.
  • Step 2 returns 000 with high CPU plus step 5 showing RSS near the container limit: GC storm under memory pressure.
  • Step 3 shows a different process owning 24220: port conflict, not a hang.

How to diagnose it

  1. Verify the zombie state, not just the symptom. Confirm the PID exists, the port is owned by Fluentd, and the endpoint times out. This separates “hung” from “never configured” and “port conflict” in one pass.

  2. Classify by CPU pattern. ps -T -p <pid> -o spid,%cpu,comm splits the causes immediately. One hot thread points at CPU-bound work holding the GVL. A fully idle process points at blocked I/O or deadlock.

  3. Capture thread backtraces. Standard Fluentd builds (via the serverengine and sigdump gems) dump all thread backtraces, GC statistics, and object counts to a file when the process receives SIGCONT. The dump lands in /tmp/sigdump-<pid>.log — not in the Fluentd log — unless SIGDUMP_PATH overrides the location:

    # SIGCONT is harmless on a running process, but confirm your build's
    # behavior before sending any signal to a production process.
    kill -CONT <pid>
    cat /tmp/sigdump-<pid>.log   # dump path: /tmp/sigdump-<pid>.log, or $SIGDUMP_PATH
    

    Historical hang reports show backtraces with threads stuck in HTTP client connect calls (synchronous I/O without timeouts) or stuck inside regex matching in the parser. Either way, the backtrace tells you which plugin owns the stuck thread. If SIGCONT produces nothing, an intrusive alternative is attaching gdb, but that pauses the process; treat it as a last resort on a node you have already drained.

  4. Correlate with the last good metrics. If your monitoring scraped the API before the hang, look at the last samples: was buffer_queue_length climbing? Was RSS trending up for hours (GC pressure building)? Was single-core CPU creeping toward 100% over weeks (GVL saturation)? The trajectory before the hang usually names the cause.

  5. Check the Fluentd log one more time. Even a hung process often emitted warnings before freezing: slow flush warnings, retry messages, allocation failures. grep -iE "error|warn|slow" /var/log/td-agent/td-agent.log | tail -50.

  6. In multi-worker mode, check each worker independently. One hung worker out of four leaves 75% of capacity running and is easy to miss in aggregate metrics. Probe every worker port before concluding anything.

Metrics and signals to monitor

These are the signals that distinguish “process exists” from “process works.” The first one is the detection signal for this exact failure; the rest explain the cause.

SignalWhy it mattersWarning sign
monitor_agent HTTP responsivenessDirect probe of event-loop health. A non-200 or >5s timeout on a live process means hung.Any timeout or non-200 where the endpoint previously answered
Per-worker endpoint responsivenessOne hung worker hides behind healthy aggregates.Worker N port unresponsive while others answer
Single-core CPU of the Fluentd processGVL-bound hangs pin one core while system CPU looks fine.Sustained >80% of one core
Process RSS vs limitGC storms and memory pressure precede a class of hangs.Monotonic growth, or RSS above 80% of container limit
buffer_queue_length (per output)A queue that was growing before the hang points at output-side blocking.Sustained growth in last samples before the API died
write_count rate (per output)Flat writes with growing queue mean the output path stalled.Delta of zero over minutes while input continues
Thread count (/proc/<pid>/status)A dropped thread count means threads died; a normal count with no progress means starvation or deadlock.Below expected (flush threads + input threads + supervisor)

On severity: a dead process is a page. An unresponsive monitor_agent on a live process is a ticket: investigate immediately, but you still have a process to interrogate, which is an opportunity, not just an alert.

Fixes

Restarting clears the symptom in every case and is sometimes the right call after you have captured evidence, but it destroys the diagnostic state and, with memory-backed buffers, destroys any unflushed data. Capture backtraces and last-known metrics first.

Blocked on synchronous output I/O

The pattern is an output plugin making a network call without a timeout and waiting forever on a dead-but-not-closed connection.

  • Short term: restart the process after capturing backtraces. File-backed buffers replay on restart; memory-backed buffer contents are lost.
  • Long term: set explicit open and read timeouts on HTTP-based output plugins. out_http exposes open_timeout, read_timeout, and ssl_timeout (the latter two since v1.7.0), and out_forward exposes connect_timeout (since v1.6.0). Historical reports of silent multi-hour hangs were resolved exactly this way: threads stuck in net/http connect calls because no open_timeout was set.
  • If you are on an older Fluentd version, check release notes for your output plugin. There are known fixed bugs where a dropped connection after TLS handshake caused an infinite loop in connection establishment in out_forward (issue #4396); the fix, PR #5138 (backport of PR #5104), shipped in v1.19.2.

GVL starvation from CPU-bound work

One thread doing regex parsing, JSON serialization, or heavy filtering holds the GVL and starves everything, including the monitor HTTP handler.

  • Simplify parsers. Replace complex regex with structured formats (JSON, LTSV) where the log source allows it. Catastrophic regex backtracking on malformed input can pin a thread indefinitely; there are reports of the event loop stuck inside the regex engine on pathological lines.
  • Reduce expensive filters, especially record_transformer blocks doing Ruby work per event.
  • Enable multi-worker mode (workers N in <system>) so CPU work spreads across processes, each with its own GVL. Remember that in_tail does not support multi-worker and must be pinned to a specific worker with <worker N>.

GC storm / memory pressure

  • Switch buffers from memory-backed to file-backed (@type file) to move buffered data out of the Ruby heap.
  • Increase chunk_limit_size. Larger chunks mean fewer Ruby objects and less GC overhead. Millions of small objects from tiny chunks are a classic GC-pressure source.
  • Give Ruby headroom: keep container memory limits at least 20-30% above normal RSS, and watch the trend rather than the absolute value. A stable high plateau is normal Ruby fragmentation behavior; a rising line is not.

Deadlock

A true deadlock with zero CPU is the rarest case. Capture backtraces, restart, and file the evidence. If the backtrace implicates a specific third-party plugin, that plugin is the fix target.

Port conflict

If another process owns 24220, move monitor_agent to a free port in the config and update your probes. This is a config fix, not a Fluentd fix.

Prevention

  • Alert on the API, not the PID. A bare PID check passes on a zombie. The detection rule is: any non-200 response or timeout beyond 5 seconds on the monitor_agent endpoint, sustained, when monitor_agent is configured. Pair it with the process-alive check so you can tell “dead” from “hung.”
  • Probe every worker port. In multi-worker mode, per-worker monitoring on 24220 + worker_id is the only way to see a single hung worker.
  • Set timeouts on every output that makes network calls. Unbounded blocking I/O is the most repeatable cause of this failure class.
  • Track single-core CPU and RSS trends. Both GVL saturation and GC pressure announce themselves days before the hang if you graph them.
  • Watch buffer_queue_length and write_count rates. A stalling output is the most common precursor to a blocked event loop.

How Netdata helps

  • Netdata’s Fluentd collector polls the monitor_agent API itself, so a hung endpoint shows up as a stopped data stream for the instance: the failure surfaces in your dashboards instead of hiding behind a green process check.
  • Per-plugin charts for buffer_queue_length, retry_count, and write_count show the output stall that typically precedes a blocked event loop, visible in the minutes before the API dies.
  • Process-level CPU and RSS charts make the GVL-starvation pattern (one pinned core) and the GC-pressure pattern (monotonic RSS growth) distinguishable at a glance.
  • Per-worker collection from each monitor_agent port keeps a single hung worker visible instead of averaging it away.
  • Alerting on collector unreachability plus process existence gives you the exact “alive but hung” composite this article is about, instead of a binary up/down check.