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 / envoy / envoy-file-descriptor-exhaustion ▌

Operations Guides

Envoy file descriptor exhaustion: the FD cliff that refuses every new connection

When Envoy runs out of file descriptors, it is not a slow degradation. At the RLIMIT_NOFILE ceiling every new downstream accept() and every new upstream connect() fails at once. Clients see resets, timeouts, or 503s, and the proxy looks dead even though established streams keep flowing. Unlike memory or CPU pressure, there is no graceful ramp and rarely an overload-manager warning before the cliff.

Envoy is FD-hungry because each proxied connection consumes roughly two file descriptors: one downstream socket and one upstream socket. Add listen sockets, the admin socket, xDS gRPC streams, active health-check connections, and access-log files, and a busy proxy can hold tens of thousands of FDs open with nothing wrong. The default 1024 ulimit on many base images is therefore far too low for a production proxy and is the most common root cause.

The other trap is hot restart. During a hot restart the old and new Envoy processes run concurrently and both keep their FDs open until drain completes. If you sit at 60% of the limit at baseline, the restart briefly pushes you to 120% and the new process fails to come up. Target below 50% of the ulimit if you rely on hot restart, and below 80% otherwise.

What this means

File descriptors in Linux are the universal handle for sockets, regular files, pipes, and some IPC objects. Envoy treats a socket as an FD for its entire lifetime, from accept or connect until the kernel releases it after close. When the process hits RLIMIT_NOFILE, calls like accept(), socket(), connect(), and open() return EMFILE and the affected subsystem decides what to do.

The failure mode is hard, not graceful. With no overload-manager resource monitor configured, the listener accept loop fails, new upstream connection attempts fail, access-log writes fail, and the proxy stops taking new work while existing streams drain. From outside it looks like a proxy still serving established connections but refusing all new ones, with 503s, resets, and rising upstream_cx_connect_fail counts as upstream dials also fail.

The mental model is the FD budget:

flowchart TD
    A["FD budget = ulimit"] --> B["Fixed FDs:
listen, admin, xDS, logs, HC"] A --> C["Downstream + upstream sockets"] C --> D["~2 FDs per proxied connection"] D --> E{"At ceiling?"} E -- No --> F[Healthy] E -- Yes --> G["accept/connect EMFILE
new cx fail at once"] A --> H["Hot restart: old + new
briefly doubles total"] H --> E

Two things make this cliff worse than a generic process hitting its ulimit:

  • FD count tracks connections, not requests. HTTP/1.1 keep-alive and HTTP/2 multiplexing hide request volume from connection count. A service that looks idle in RPS can still hold thousands of long-lived downstream sockets. WebSocket and gRPC streams are the classic offenders.
  • Hot restart doubles FD usage for the drain window. FDs are passed between the old and new process over a Unix domain socket, but both keep their copies open until the old one finishes draining. A baseline that is safe at steady state can blow the ceiling during restart.

Common causes

CauseWhat it looks likeFirst thing to check
Default ulimit too low (1024)Refused connections or crash at modest connection counts; fresh deployments or after runtime changesgrep 'Max open files' /proc/<pid>/limits
Connection leakFD count climbs monotonically without traffic increase; downstream clients not closing, idle timeouts missing or too longCompare downstream_cx_total rate vs downstream_cx_destroy rate
Hot restart ceilingNew process fails to come up during deploy; old process holds FDs during drainserver.parent_connections nonzero while FD count near limit
Access-log FD leakFDs accumulate even at low connection count; many regular-file FDs pointing at log pathsls -l /proc/<pid>/fd | grep -c <log_path>
Excessive health-check connectionsMany clusters x many hosts x short intervals; connections not pooledcluster.<name>.upstream_cx_total rate vs cluster size and interval
WebSocket or gRPC stream accumulationLong-lived streams hold 2 FDs each; traffic looks low but FD count highdownstream_cx_active steady or climbing while request rate is flat
Container runtime capped the soft limitSudden failure after image or runtime update; /proc/<pid>/limits shows 1024 even though host allows moreVerify inside the container, not on the host

Quick checks

These are read-only and safe to run during an incident.

# Identify the Envoy process
ENVOY_PID=$(pgrep -x envoy | head -1)

# Current open FD count
ls /proc/$ENVOY_PID/fd | wc -l

# The real soft and hard limits inside the container
grep 'Max open files' /proc/$ENVOY_PID/limits

# Downstream and upstream active connection counts
curl -s http://localhost:9901/stats | grep -E 'downstream_cx_active|upstream_cx_active'

# Connection rejection counters (silent from client side)
curl -s http://localhost:9901/stats | grep -E 'downstream_cx_(overflow|overload_reject)|downstream_global_cx_overflow'

# Overload manager state (should be 0)
curl -s http://localhost:9901/stats | grep 'overload'

# Hot restart in progress? Non-zero parent_connections means overlap
curl -s http://localhost:9901/stats | grep -E 'parent_connections|hot_restart_epoch|server\.state'

# Top FD consumer types (socket, regular file, pipe, etc.)
ls -l /proc/$ENVOY_PID/fd | awk '{print $NF}' | sed 's/\[.*\]//' | sort | uniq -c | sort -rn | head

If roughly downstream_cx_active + upstream_cx_active times two plus fixed FDs is close to the Max open files value, you are on the cliff. downstream_cx_overflow, downstream_cx_overload_reject, and downstream_global_cx_overflow will be nonzero if Envoy is actively rejecting connections.

How to diagnose it

  1. Confirm the real in-container limit. The host may report millions of FDs while the container is capped at 1024. Only /proc/$ENVOY_PID/limits is authoritative. In Kubernetes, check the container runtime defaults and any namespace LimitRange or node-level kubelet constraints.

  2. Compute utilization. Divide the live FD count from /proc/$ENVOY_PID/fd \| wc -l by the soft limit. Above 80% warrants investigation; above 85% is page territory. If you hot restart, your real ceiling is half the limit.

  3. Classify the FDs. Use ls -l /proc/$ENVOY_PID/fd and bucket by link target type. Socket FDs dominate for a healthy proxy. A large number of regular files points at access-log leaks or opened-but-unclosed resources. A growing number of pipes points at filter-chain issues.

  4. Correlate FD growth with connection metrics. If downstream_cx_active plus upstream_cx_active matches FD growth, the cause is real connection load. If FDs grow while connection counts are flat, suspect a leak. Compare downstream_cx_total (new connections) against downstream_cx_destroy (closed connections); a sustained excess of new over destroy with no traffic increase is a leak signature.

  5. Check for hot restart overlap. server.parent_connections nonzero means the old process is still draining. server.state of 1 (DRAINING) on one process and 0 (LIVE) on another is expected during a restart, but if both are above 50% of FD capacity the new process will fail.

  6. Inspect access-log FDs. Each access-log destination is a long-lived FD. Misconfigured rotation or duplicate per-destination handles can multiply them. A handful is normal; hundreds is not.

  7. Estimate health-check FD pressure. For each cluster, active health checks open a short-lived connection per host per interval. Many clusters x many hosts x short intervals adds up. Compare cluster.<name>.upstream_cx_total rates against cluster size.

  8. Verify the overload manager. If server.overload_manager.envoy.overload_actions.stop_accepting_connections.active is 1, Envoy is already refusing connections as a protective measure. If no overload actions are configured, you have no early warning before the cliff.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
/proc/<pid>/fd count vs Max open filesDirect utilization of the FD budget>80% (or >50% with hot restart)
downstream_cx_active + upstream_cx_activeProxy for FD usage: roughly 2 FDs per connectionGrowth without traffic increase
listener.<addr>.downstream_cx_activeDownstream socket count per listenerSteady growth without matching traffic
cluster.<name>.upstream_cx_activeUpstream pool size per cluster, per workerTrending toward max_connections
listener.<addr>.downstream_cx_overflowPer-listener connection limit trippedAny sustained nonzero rate
listener.<addr>.downstream_cx_overload_rejectOverload manager refusing connectionsAny nonzero value
cluster.<name>.upstream_cx_connect_failNew upstream dials failing, including EMFILESudden spike across many clusters
server.overload_manager.*.activeSelf-protection mode engagedstop_accepting_connections = 1
server.parent_connectionsHot restart overlap, FDs doubledSustained nonzero with high FD usage
Kernel fs.file-max and per-process nofileAll layers must be sufficientContainer capped below host

Fixes

Group fixes by cause. Each has tradeoffs.

Raise the limit (most common fix, often correct)

The default 1024 ulimit is wrong for any production proxy. Raise it at every layer that can constrain it.

  • systemd unit: add LimitNOFILE=1048576 (or higher) to the [Service] section and reload.

  • Container runtime: set --ulimit nofile=1048576:1048576 for Docker, or the equivalent in your containerd/CRI config.

  • Kubernetes: there is no native securityContext field for ulimits. Set the limit in the image entrypoint, via an init container using prlimit, or in the container runtime’s pod defaults. Verify the inherited value from /proc/<pid>/limits.

  • Kernel: confirm fs.file-max is high enough for the host total. This is almost never the binding constraint, but verify it.

The new hard limit only takes effect after a restart; an already-running process keeps the limits it started with. There is no live way to raise the hard RLIMIT_NOFILE of a running process.

Hold headroom for hot restart

If you hot restart, the operating limit is half of the configured ulimit. Two options:

  • Raise the ulimit so steady-state usage stays under 50%.
  • Disable hot restart during incidents and cold restart, accepting a brief outage.

Track server.parent_connections during deploys. If it stays nonzero longer than expected, the old process is not draining and FDs are not being released.

Fix connection leaks

If FDs grow while connection counts and traffic are flat, something is opening sockets or files without closing them.

  • Verify downstream idle timeouts are set. Long-lived HTTP/1.1 keep-alive connections without an idle timeout inflate downstream_cx_active indefinitely.
  • Verify upstream idle timeouts in the cluster config. Connection pools rely on these to recycle idle sockets.
  • Confirm WebSocket and gRPC workloads are not accumulating streams without limits. Each stream holds a downstream and an upstream FD.

Reduce health-check FD churn

Active health checks open their own connections per host per interval. With many clusters, many hosts, and short intervals, the FD churn adds up. Increase the interval, reduce the scope of checked hosts, or rely more on outlier detection for hosts that already receive traffic.

Configure the overload manager

Without overload actions, Envoy goes from fine to refusing connections with no early warning. Configure the heap and connection-count resource monitors and a stop_accepting_connections action so Envoy degrades gracefully before hitting the cliff.

Fix access-log FD leaks

If ls -l /proc/<pid>/fd shows many regular files pointing at log paths, investigate per-destination log handles and rotation issues. A correctly configured file access log should be one or a handful of FDs, not hundreds.

Prevention

  • Capacity plan around 2 FDs per proxied connection. Use downstream_cx_active + upstream_cx_active times two plus a 10% fixed overhead (listen sockets, xDS, admin, access logs, health checks) as your working estimate.
  • Verify the limit inside the container, not on the host. /proc/<pid>/limits is the only authoritative source. Do this at deploy time and after runtime upgrades.
  • Hold 50% headroom if you hot restart, 80% otherwise. This is the single most important preventive rule.
  • Alert on FD utilization directly. Track /proc/<pid>/fd \| wc -l divided by Max open files, not just connection counts. Connection counts miss non-socket FDs.
  • Track server.parent_connections during deploys. Sustained nonzero values during a hot restart are a leading indicator of an FD cliff.
  • Review FD count after every cluster, host, or health-check interval change. Many-cluster service meshes with short health-check intervals are a classic slow-burn source of FD growth.
  • Bake the ulimit into your base image and runtime config. Do not rely on inheriting the host limit. Container runtime defaults change.

How Netdata helps

  • Per-second FD utilization from /proc/<pid>/fd and /proc/<pid>/limits catches the climb before the cliff, including across thousands of sidecars.
  • downstream_cx_active and upstream_cx_active correlate with FD growth so you can tell pressure from real load versus a leak.
  • downstream_cx_overflow, downstream_cx_overload_reject, and downstream_global_cx_overflow show the moment Envoy starts refusing connections, separate from generic 5xx counts.
  • Overload manager action gauges (stop_accepting_connections.active) flag the transition from tight to actively degrading.
  • server.parent_connections correlates FD spikes with deploy windows, so you can prove the cliff is restart-induced rather than load-induced.
  • ML anomaly detection on FD and connection counts surfaces slow leaks that look normal in absolute terms but deviate from the per-instance baseline.