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 / uwsgi / uwsgi-too-many-open-files ▌

Operations Guides

uWSGI too many open files: file descriptor exhaustion and EMFILE

When the uWSGI process hits its file descriptor limit (RLIMIT_NOFILE), accept() and open() start returning EMFILE (errno 24). New connections are silently rejected. Logging fails. Application code throws exceptions that look like disk or network failures. The uWSGI stats endpoint does not report file descriptor usage, so there is no uWSGI-level signal pointing to the real problem. Operators typically chase disk space, I/O, or network connectivity before realizing the process has simply run out of file descriptors.

What this means

Every TCP connection, UNIX socket, log file, stats endpoint connection, spooler task file, database connection, and application file costs one file descriptor. The kernel enforces a per-process soft limit. When that limit is reached, accept(), open(), socket(), pipe(), and any other fd-allocating syscall returns EMFILE.

The cascade is what makes this hard to diagnose. Workers appear idle because accept() fails before they can pick up new connections, but existing connections may still be processing, so throughput does not drop to zero immediately. Logging failures look like disk problems. Application open() failures look like permission errors.

flowchart TD
    A["fd count reaches ulimit -n"] --> B["accept/open/socket fail EMFILE"]
    B --> C["Connections rejected"]
    B --> D["Logging stops working"]
    B --> E["App open() calls throw"]
    C --> F["Looks like network failure"]
    D --> G["Looks like disk failure"]
    E --> H["Looks like permission error"]
    F --> I["Misdiagnosed as disk or network"]
    G --> I
    H --> I

Common causes

CauseWhat it looks likeFirst thing to check
Database connection pool leakWorkers accumulate socket fds over time; count grows monotonically per workerPer-worker fd count over time; compare workers that have served many requests vs recently respawned ones
File handle leak in app codeWorkers accumulate regular file fds; lsof shows many open handles to the same pathsls -la /proc/<pid>/fd and look for repeated file paths
Deleted-but-open filesfds point to (deleted) entries: files were unlinked but never closed`ls -la /proc//fd
Too many workers times connections per workerTotal fds across all workers approaches the per-process limit under loadSum fds across all workers; compare to ulimit -n
Subprocess fd leaksWorkers have pipe fds to child processes that exited but were not reapedlsof -p <pid> and look for pipe or chr fd types
Log rotation without fd closeOld log fds remain open after rotation; count jumps at each rotation cyclefd count jumps at each log rotation interval

Quick checks

All commands below are read-only and safe on production systems. Replace the pidfile path with your --pidfile directive.

# Soft limit for the current shell (not necessarily what uWSGI inherited)
ulimit -n

# Actual limit for a running uWSGI master process
cat /proc/$(cat /tmp/uwsgi.pid)/limits | grep "Max open files"

# Count open fds for the master process
ls /proc/$(cat /tmp/uwsgi.pid)/fd | wc -l

# Count open fds per worker, with soft limit for comparison
for pid in $(pgrep -P $(cat /tmp/uwsgi.pid)); do
    count=$(ls /proc/$pid/fd 2>/dev/null | wc -l)
    limit=$(awk '/^Max open files/ {print $4}' /proc/$pid/limits)
    echo "pid=$pid fds=$count limit=$limit"
done

# Find deleted-but-open file descriptors (leaked fds after unlink)
ls -la /proc/<worker_pid>/fd | grep "(deleted)"

# System-wide fd usage vs kernel limits
cat /proc/sys/fs/file-nr

# Detailed fd listing with lsof (slower; use /proc/<pid>/fd for exact counts)
lsof -p <worker_pid>

How to diagnose it

  1. Confirm the limit. Check /proc/<pid>/limits for the actual RLIMIT_NOFILE value. In containerized deployments, verify what the container runtime actually set. systemd services do not read /etc/security/limits.conf; use LimitNOFILE in the unit file or a drop-in override.

  2. Measure per-process usage. Run ls /proc/<master_pid>/fd | wc -l and per-worker using pgrep -P. If usage is above 80% of the soft limit, you are in the danger zone.

  3. Establish whether the count is growing. A single measurement tells you the current state. Two measurements over time tell you whether there is a leak. If the count grows monotonically per worker and never drops until respawn, you have a leak. Sample at 30-second intervals during active traffic.

  4. Categorize the open fds. Use ls -la /proc/<pid>/fd to determine what type is dominating. Socket fds point to connection pools. Regular file fds point to file handling. Pipe fds point to subprocess management. Deleted fds point to unlinked-but-unclosed files.

  5. Check for worker-to-worker divergence. If one worker has significantly more fds than others, that worker hit a code path that leaks. If all workers grow at the same rate, the leak is in shared initialization code or connection pool setup common to every worker.

  6. Correlate with respawn cycles. If max-requests is configured, workers respawn periodically. If fd count resets to baseline after respawn and then grows again, the leak is per-worker (in request handling). If it persists across respawns, the leak is in the master or inherited across forks.

  7. Verify it is not the high-fd-limit memory blowup. If uWSGI runs in a container with a very high fd limit (some runtimes set RLIMIT_NOFILE to very large values), uWSGI may allocate internal data structures sized by that detected limit, causing memory exhaustion rather than fd exhaustion. The symptom is OOM kills at startup, not EMFILE during traffic. Check startup logs for “detected max file descriptor number” and inspect the reported value. If it is in the billions, this is your problem.

The underlying issue remains unfixed upstream: unbit/uwsgi issue #2299 (“High memory usage if fs.nr_open is very high”) is still open, the commits referenced in its thread are in downstream projects, and no mitigation appears in the 2.0.29-2.0.31 changelogs. --max-fd (or a sane RLIMIT_NOFILE) remains the fix.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Per-worker fd count (/proc/<pid>/fd)Directly tracks the resource being exhaustedGrowth above 80% of soft limit, or monotonic growth without reset
Per-worker fd count trend (rate of change)Distinguishes a leak from a temporary spikeSustained positive slope over hours with no plateau
RLIMIT_NOFILE from /proc/<pid>/limitsThe ceiling; must be known to interpret fd countSoft limit below what workers need under peak load
System-wide fd usage (/proc/sys/fs/file-nr)Rules out system-level fd exhaustionAllocated count approaching system-wide limit
Worker RSSCorrelates with fd-driven memory issuesRSS growing in lockstep with fd count
Exception rate (from uWSGI stats)Application errors from failed open/socket callsSpike with no deployment change or downstream event
Write errors (from uWSGI stats, per-core)Client disconnects from rejected connectionsSpike correlating with external connection failure reports

Fixes

Raise the file descriptor limit

The immediate mitigation is to raise ulimit -n. How depends on how uWSGI is started:

  • Standalone (shell): Set ulimit -n 65536 in the shell before starting uWSGI.
  • systemd: Set LimitNOFILE=65536 in the [Service] section of the unit file or a drop-in override (systemctl edit uwsgi). The file /etc/security/limits.conf does not apply to systemd-managed services.
  • Docker: Use --ulimit nofile=65536:65536 in docker run or the equivalent in the compose file. Verify inside the container with cat /proc/1/limits because different runtimes apply different defaults.

Raising the limit does not fix a leak. It buys time. Use the raised limit as breathing room while you find and fix the leak.

Fix file descriptor leaks in application code

If fd count grows monotonically per worker and resets on respawn, the application is leaking fds. Common patterns:

  • Opening files without closing them (missing close() calls, not using context managers like with open(...) as f:).
  • Database connections borrowed from a pool but never returned. This usually happens when exception handling exits the function before the connection is released.
  • Subprocess pipes not closed after the child exits. Each subprocess.Popen call that is not properly cleaned up leaks two fds (stdin and stdout pipes).
  • Temporary files created with mkstemp or NamedTemporaryFile but never unlinked and closed.

To localize the leak, run ls /proc/<pid>/fd | wc -l before and after hitting specific endpoints. The endpoint that causes the count to grow without recovering is the culprit.

Tune connection pool sizes

Each database or downstream API connection holds a socket fd. If each worker maintains a pool of N connections, the steady-state fd cost from pools alone is workers x N, plus per-request connections, logging, and the stats server. If workers x pool_size is already a significant fraction of the fd limit, reduce the pool size per worker or raise the limit.

Use –max-fd to cap internal allocation

The --max-fd option tells uWSGI the maximum number of file descriptors to plan for internally. This is useful when the process inherits an extremely high fd limit from the container runtime or systemd (values in the millions or higher). uWSGI allocates internal arrays sized by the detected limit. Setting --max-fd 65536 caps those allocations without changing the kernel limit.

Enable close-on-exec

The close-on-exec option sets FD_CLOEXEC on file descriptors so they are not inherited by subprocesses. Without it, every fd the worker has open at fork() + exec() time is duplicated into the child. If the application spawns subprocesses frequently (shellouts, worker pools, image processing), child processes accumulate copies of the parent’s fds.

Use max-requests as a safety valve

If you cannot immediately find the leak, configure --max-requests so workers recycle after serving N requests. This resets the fd count periodically. Each recycling event increments respawn_count in the stats. This is a band-aid: the leak still occurs within each cycle, and workers near the end of their cycle operate with the highest fd counts. Set max-requests high enough to avoid excessive churn but low enough that fd count never approaches the limit.

Prevention

  • Monitor per-worker fd count at the OS level. This is the only signal that catches fd exhaustion before it becomes an outage. Without it, you are blind to the primary resource exhaustion mode that uWSGI cannot report itself.
  • Verify the fd limit is actually applied. Check /proc/<pid>/limits on the running process. 65536 is a reasonable production starting point, but the value set in configuration may differ from what the process actually inherits from the container runtime or service manager.
  • Audit connection pool sizing. Calculate workers x pool_size and ensure headroom for request-handling fds, logging, stats server, and spooler files.
  • Track fd count trends, not just snapshots. A point-in-time value of 500 open fds is meaningless without knowing the slope. Collect at regular intervals and alert on sustained growth.
  • Watch for deleted-but-open fds. These accumulate silently and only appear in /proc/<pid>/fd with a (deleted) suffix. A growing count is a definitive leak in file handling code.

How Netdata helps

  • Per-process file descriptor monitoring. Netdata collects open fd count per process from /proc/<pid>/fd, providing continuous visibility without manual polling. This is the signal uWSGI does not expose.
  • Correlation with uWSGI worker metrics. When fd count rises alongside worker busy ratio, response time, or exception rate, the correlation is visible on a single timeline.
  • Trend and anomaly detection. Per-second granularity and ML-based anomaly detection catch slow fd leaks (growth over hours or days) that point-in-time manual checks miss.
  • Memory pressure detection. Per-process RSS monitoring and OOM event tracking surface the memory blowup from oversized internal allocations before the process is killed.
  • System-wide fd usage. Netdata monitors /proc/sys/fs/file-nr, so you can distinguish per-process exhaustion from system-wide limits.