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 / varnish / varnish-threads-limited ▌

Operations Guides

Varnish threads_limited climbing: hitting thread_pool_max

MAIN.threads_limited increments each time Varnish wanted to create a new worker thread but thread_pool_max prevented it. Movement during a traffic burst is expected. A sustained nonzero rate during steady-state operation means the configured thread pool ceiling is a binding constraint on concurrency, and if the bounded queue behind the pool fills, Varnish will drop sessions.

The default thread_pool_max is 5000 threads per pool. With the default thread_pools value of 2, the absolute ceiling is 10,000 worker threads. For most workloads that ceiling is high enough that the counter stays at zero. The problem arises when backends are slow: each thread is held longer per request, effective concurrency drops, and the pool fills at a request rate that would be trivial if backends responded in single-digit milliseconds.

What this means

When a client connection arrives, the accept thread hands it to an idle worker. If no worker is available and the pool has not reached thread_pool_max, Varnish creates a new thread. If the pool is at the maximum, the request enters a bounded queue tracked by MAIN.thread_queue_len. MAIN.threads_limited increments at the moment Varnish decides it cannot create a thread because the pool is full.

The failure cascade:

flowchart TD
    A["Client request"] --> B{"Idle worker?"}
    B -- yes --> C["Handled"]
    B -- no --> D{"Below thread_pool_max?"}
    D -- yes --> E["Thread created"]
    D -- no --> F["MAIN.threads_limited++"]
    F --> G["Queue: thread_queue_len grows"]
    G --> H{"Below thread_queue_limit?"}
    H -- yes --> I["Wait for worker"]
    H -- no --> J["sess_dropped / req_dropped"]
    I --> C

threads_limited by itself is not a user-facing failure. No client sees an error when this counter ticks up. The damage happens downstream: if requests queue faster than workers free up, thread_queue_len grows toward thread_queue_limit (default 20 per pool). When the queue fills, sessions are dropped for HTTP/1.1 (MAIN.sess_dropped) and requests are dropped for HTTP/2 (MAIN.req_dropped).

Key distinction during diagnosis:

  • MAIN.threads_limited incrementing: Varnish’s configuration ceiling (thread_pool_max) prevented thread creation. Fix: raise the ceiling or reduce demand.
  • MAIN.threads_failed incrementing: The OS refused pthread_create(). This is a system-level resource limit (nproc, insufficient memory for thread stacks, systemd TasksMax, or cgroup pids.max). Fix: raise OS limits.

Both can be nonzero at the same time. Check both.

Common causes

CauseWhat it looks likeFirst thing to check
Backends are slowthreads_limited climbs, threads sits at max, backend TTFB is elevated, CPU is idlevarnishadm backend.list and backend fetch timing
thread_pool_max too low for trafficthreads pinned at thread_pool_max x pools, drops starting, backends respond fast but pool still fillsvarnishadm param.show thread_pool_max against actual MAIN.threads
OS refusing thread creationthreads_failed is nonzero, threads below thread_pool_max x pools, threads_limited may also be nonzero/proc/<child_pid>/limits for Max processes, systemd TasksMax, cgroup pids.max
Traffic spike during cold startthreads_limited bumps briefly after restart while pool ramps from thread_pool_min, then settlesMAIN.uptime is low; transient, self-resolves
Varnish <= 6.5.1 race conditionthreads_limited increments even when threads is well below max, under spiky trafficVarnish version; fixed in 6.6+

Quick checks

All read-only and safe to run at any time.

# Current thread state: count, pool ceiling, queue depth, failure counters
varnishstat -1 -f MAIN.threads -f MAIN.pools -f MAIN.thread_queue_len -f MAIN.threads_limited -f MAIN.threads_failed

# Configured ceiling per pool
varnishadm param.show thread_pool_max
varnishadm param.show thread_pools

# Whether sessions or requests are being dropped
varnishstat -1 -f MAIN.sess_dropped -f MAIN.req_dropped

# Backend health
varnishadm backend.list -p

# threads_limited rate: two readings 10 seconds apart
varnishstat -1 -f MAIN.threads_limited; sleep 10; varnishstat -1 -f MAIN.threads_limited

# OS thread limits for the child process (newest varnishd is the child)
CHILD_PID=$(pgrep -n varnishd)
cat /proc/$CHILD_PID/status | grep Threads
cat /proc/$CHILD_PID/limits | grep -i processes

# systemd TasksMax if running under systemd
systemctl show varnish.service | grep TasksMax

How to diagnose it

Step 1: Confirm the pool is actually at the ceiling.

Compare MAIN.threads against thread_pool_max x MAIN.pools. If threads is at or near the ceiling, the pool is genuinely full. If threads is well below the ceiling but threads_limited is still incrementing, you may be hitting the race condition on older Varnish (see step 5) or threads_failed is the real problem.

Step 2: Check whether drops are happening.

If sess_dropped or req_dropped is incrementing, users are being rejected. Treat this as urgent.

Step 3: Distinguish threads_limited from threads_failed.

Run varnishstat -1 -f MAIN.threads_limited -f MAIN.threads_failed. If threads_failed is nonzero, the OS is refusing thread creation. This is a different problem with a different fix (OS limits, not Varnish config). If threads_failed is zero and threads_limited is climbing, the issue is the Varnish config ceiling.

Step 4: Check backend response time.

Backend latency is the most common root cause. Slow backends hold each worker thread longer, reducing effective concurrency. Use varnishlog to inspect fetch timing:

# Backend fetch timing (Bereq to Beresp delta)
varnishlog -g request -i Timestamp -q 'BerespStatus gt 0'

If backend TTFB is in the hundreds of milliseconds or higher during the threads_limited event, slow backends are consuming your thread budget. Raising thread_pool_max buys time but does not fix the root cause.

Step 5: Check Varnish version for the known race condition.

On Varnish <= 6.5.1, a race condition (GitHub issue #3531) could cause threads_limited to increment even when thread_pool_max had not been reached. The maintainer noted: “There is a race in current code which can lead to the counter being increased even if everything is ok.” The fix landed in commit 2bd5d2a (February 2021) and shipped in Varnish 6.6.0; it was never backported to the 6.5.x point releases, so every 6.5.x and earlier remains affected.

If you are on an older version and threads_limited is incrementing while threads is well below thread_pool_max x pools, this is a known false positive.

Step 6: Check for cold-start transients.

After a child process restart, the thread pool ramps up from thread_pool_min (default 100 per pool). If traffic hits during warmup, threads_limited may bump briefly. This is normal and self-resolves. Check MAIN.uptime to rule this out.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
MAIN.threads_limited ratePool ceiling is a binding constraintSustained nonzero rate during steady traffic
MAIN.threadsCurrent thread count; compare against thread_pool_max x poolsPinned at or near the ceiling
MAIN.thread_queue_lenRequests waiting for a workerAny sustained nonzero value
MAIN.threads_failedOS refused thread creationAny nonzero value (different fix)
MAIN.sess_dropped / MAIN.req_droppedUsers being rejectedAny sustained nonzero rate
MAIN.fetch_no_threadThread starvation affecting backend fetchesAny nonzero rate
Backend TTFB (via varnishlog)Slow backends hold threads longerElevated fetch time correlates with thread growth
MAIN.client_req rateDemand baseline for capacity sizingRate increasing beyond what the pool can serve
Process RSSMemory consumed by thread stacks and workspaceRSS growing when thread_pool_max is raised

Fixes

Raise thread_pool_max

The direct fix when the pool ceiling is genuinely too low for your traffic volume.

# Live change, takes effect immediately, no restart required
varnishadm param.set thread_pool_max 8000

This does not persist across restarts. Add the parameter to your startup configuration:

  • In the systemd unit file or command line: -p thread_pool_max=8000
  • Verify after restart: varnishadm param.show thread_pool_max

Memory implications. Each thread consumes a stack of thread_pool_stack (80k on 64-bit systems in Varnish 7.0 and later; older lines used 64k on 6.0 LTS and 56k on 6.4–6.6, which is where the 64k figure in older documentation comes from).

With the defaults of thread_pools=2 and thread_pool_max=5000, thread stacks alone account for 2 x 5000 x 80k = 800 MB. Raising thread_pool_max to 8000 per pool increases stack memory to 2 x 8000 x 80k = 1.28 GB. Verify the system has headroom before raising the limit. Do not starve the cache store (-s malloc,SIZE) or transient storage.

Increase thread_pools

Controls how many independent thread pools Varnish maintains. Increasing it can reduce per-pool lock contention at very high concurrency.

# Live change
varnishadm param.set thread_pools 4

Can be increased on the fly. Decreasing it requires a restart. Each pool maintains its own thread_pool_min through thread_pool_max range, so adding pools also adds thread_pool_min threads at minimum. The total thread ceiling changes accordingly: with thread_pool_max=5000 and thread_pools=4, the ceiling is 20,000 threads.

Reduce demand: fix slow backends

If backend response time is the root cause, raising thread_pool_max is a stopgap. Each thread held for 500ms on a slow backend fetch is unavailable for the next 500ms. Reducing backend TTFB from 500ms to 50ms lets the same pool handle 10x the request rate.

Check for:

  • Backend database slowdowns
  • Backend connection pool exhaustion (MAIN.backend_busy)
  • Missing cache grace or stale configuration (without grace, every cache miss hits the backend synchronously)
  • VCL performing blocking operations (DNS lookups, external calls in VMODs)

Fix OS-level thread limits (if threads_failed is nonzero)

The OS refused pthread_create(). The fix is at the OS level.

Common causes on modern Linux:

  • systemd TasksMax: The Varnish unit may have TasksMax set too low. Set it in a unit override:
    [Service]
    TasksMax=infinity
    
    This removes the per-unit task safety net. Only do this if you have verified that system-wide PID and memory limits are sufficient for the thread counts you expect.
  • ulimit -u (RLIMIT_NPROC): Check /proc/<child_pid>/limits for the actual effective limit on the Varnish child process.
  • cgroup pids.max: If Varnish runs in a cgroup with a PID limit, thread creation fails when the limit is reached.
  • Memory for thread stacks: Under memory pressure, pthread_create() can fail because there is no room for the new thread’s stack.

Prevention

  • Monitor the rate, not the counter. MAIN.threads_limited is cumulative and never decreases. Track the delta per second. A counter at 5000 since the last restart that is not growing is not a problem.
  • Watch thread_queue_len as the leading indicator. thread_queue_len > 0 means the pool is saturated. If it grows toward thread_queue_limit (default 20), drops are imminent.
  • Correlate with backend latency. The most common root cause of thread pool pressure is not an undersized pool but slow backends. Track backend TTFB alongside thread metrics.
  • Capacity-plan for peak concurrency. Estimate peak concurrent requests as (request_rate x average_response_time). If that number approaches thread_pool_max x pools, you need a bigger pool, faster backends, or better caching.
  • Account for thread stack memory. Before raising thread_pool_max, verify system memory can absorb the additional stack allocation.
  • Keep Varnish current. The threads_limited race condition in <= 6.5.1 produced false positives. Running 6.6+ or 7.x eliminates this source of noise.

How Netdata helps

Netdata collects Varnish counters at per-second resolution, which matters because thread_queue_len is a point-in-time gauge that can spike and resolve between coarser polling intervals.

  • threads_limited rate: Netdata computes the per-second rate automatically, so you see the climb as it happens rather than discovering a stale cumulative counter.
  • threads and thread_queue_len correlation: Thread count pinned at the ceiling alongside a growing queue confirms pool saturation in a single view.
  • threads_failed separation: Surfaced independently, so you can distinguish a Varnish config ceiling from an OS-level resource limit immediately.
  • sess_dropped and req_dropped: Confirm when thread pool pressure has escalated to user-visible failures. Correlating their onset with threads_limited growth identifies exactly when the queue filled.
  • Backend latency correlation: Backend latency spikes alongside thread pool growth identify slow backends as the root cause.