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-workspace-overflow-types ▌

Operations Guides

Varnish workspace overflow types: client, backend, thread, and session

Varnish allocates small, fixed-size memory regions called workspaces to hold HTTP headers, VCL string operations, and intermediate request state during processing. Each stage of the request lifecycle draws from a different workspace type, with its own size parameter and overflow counter. When a delivery-side workspace runs out of room, Varnish commonly returns HTTP 500 because it cannot safely deliver the response. Client-side VCL failures are normally 503, and backend workspace exhaustion can fail the fetch or serve stale content; the exact response depends on where the workspace overflowed.

Since Varnish 6.2, four dedicated counters break workspace exhaustion down by type: ws_client_overflow, ws_backend_overflow, ws_session_overflow, and ws_thread_overflow. Each points at a different runtime parameter and a different stage of request processing. Knowing which counter is firing tells you immediately whether the problem is oversized request headers, oversized backend response headers, ESI pressure, or thread delivery workspace.

The four workspace types at a glance

CounterParameterDefault (Varnish 7.x)Allocated perWhat lives in it
ws_client_overflowworkspace_client96kRequestClient request headers, cookies, VCL string operations
ws_backend_overflowworkspace_backend96kBackend fetchBackend response headers
ws_session_overflowworkspace_session0.75k (768 bytes)SessionSession structure and workspace, primarily TCP connection addresses
ws_thread_overflowworkspace_thread2k (max 8k)Worker threadThread-level delivery buffers

The defaults above are the Varnish Cache 7.x defaults. Distribution packages and Varnish Enterprise builds can differ; verify the running installation with the param.show commands below.

The following diagram shows where each workspace type is used in the request lifecycle:

flowchart LR
    A["Client connects"] --> B["workspace_session"]
    B --> C["workspace_thread"]
    C --> D["workspace_client"]
    D --> E["vcl_recv, vcl_hash"]
    E --> F{"Cache hit?"}
    F -->|"miss / pass"| G["workspace_backend"]
    G --> H["vcl_backend_response"]
    F -->|"hit"| I["vcl_deliver"]
    H --> I
    I --> J["Response sent"]

ws_client_overflow: request headers, cookies, and VCL

Parameter: workspace_client (default 96k in Varnish 7.x)

What lives here: Everything Varnish needs to process the incoming client request: the request URL, all client request headers (including Cookie), any headers your VCL adds synthetically, and the working memory for VCL string operations in vcl_recv, vcl_hash, and vcl_deliver.

What causes it to overflow:

  • Large Cookie headers. The single most common cause. Applications that accumulate tracking cookies, session tokens, and analytics identifiers can push the Cookie header past the workspace allocation. A single request with a multi-kilobyte cookie string is enough.
  • VCL adding many synthetic headers. Each header injected for logging, tracing, or backend communication consumes workspace_client.
  • Long URLs. Deeply nested query strings or REST paths with many path segments can exhaust the workspace with the request line alone.
  • Deep proxy chains appending forwarding headers. Each hop adds X-Forwarded-For entries and Via headers, growing the header block.

Client-visible effect: HTTP 500. The client_resp_500 counter increments in lockstep.

Sizing note for HTTP/2: workspace_client must be at least 20k to receive full-size (16k) frames from the client, typically POST or PUT bodies. If you have reduced workspace_client below 20k and serve HTTP/2 traffic, this is a likely failure source.

ws_backend_overflow: backend response headers and proxy chains

Parameter: workspace_backend (default 96k in Varnish 7.x)

What lives here: Everything Varnish needs to process the backend response: all backend response headers, Set-Cookie chains, Vary headers, Cache-Control directives, and VCL operations in vcl_backend_response.

What causes it to overflow:

  • Long Via or X-Forwarded-For chains in deep proxy stacks. Each proxy hop (CDN, load balancer, application proxy) appends forwarding headers. In a multi-tier setup with three or four proxy layers, these chains can grow large enough to exhaust workspace_backend.
  • Backend adding excessive response headers. Applications emitting many Set-Cookie headers, custom analytics headers, or verbose Link headers can push the response header block past the allocation.
  • Backend returning very large Vary header values. An overly broad Vary header with many tokens is stored in workspace_backend.

Client-visible effect: The fetch fails. Depending on VCL and grace configuration, the client may receive a 503 (if Varnish has no cached or stale object) or a stale object served from grace. The fetch_failed counter may also increment.

This counter is easy to miss because it looks like a backend problem. The backend is healthy and responding, but Varnish cannot fit the response headers into workspace. If you see ws_backend_overflow incrementing alongside fetch_failed with healthy backends, the response headers are too large.

ws_session_overflow: session state and ESI pressure

Parameter: workspace_session (default 0.75k, or 768 bytes, in Varnish 7.x; was 0.50k in 6.x)

What lives here: Session-level state that persists across requests within the same client connection. This is the smallest workspace, associated with the session (per TCP connection), not the request object.

What causes it to overflow:

  • Delivery and bookkeeping paths that touch the session workspace. The current source logs workspace_session overflow during delivery when the session workspace is already exhausted. A precise non-ESI traffic profile is workload-specific: correlate the counter with request and connection traces before changing it.
  • Legacy configurations. Older Varnish versions used the name sess_workspace; panics or documentation using that name refer to this area of the configuration. Client-visible effect: Request failure. With ESI, this can manifest as a child process panic (crash and automatic restart by the management process), which empties the cache. Check MGT.child_panic if you suspect this path. See the related guide on Varnish ESI errors for more detail.

The default of 768 bytes is adequate for non-ESI workloads. If you enable ESI, plan to increase it. The minimum allowed value is 384 bytes.

ws_thread_overflow: per-thread delivery workspace

Parameter: workspace_thread (default 2k, hard maximum 8k)

What lives here: Per-thread working memory used during request delivery, including write buffers for sending responses to clients.

What causes it to overflow:

  • The least commonly seen overflow. The workspace is small but so is the data it holds. If it fires, something in the delivery path is allocating more thread-level memory than expected.

Sizing considerations:

  • workspace_thread has a hard maximum of 8k. You cannot set it higher.
  • Setting it too low may increase writev() syscall count during delivery, because Varnish has less buffer space to batch outgoing writes. This is a performance tradeoff, not an overflow risk.
  • Total memory cost is workspace_thread * total_threads. At default 2k with 10,000 threads (2 pools x 5,000 max), that is approximately 20 MB. Even at the 8k maximum, the cost is around 80 MB. This is the cheapest workspace to increase.

Identifying which counter is firing

All four counters in a single varnishstat invocation:

# Check all workspace overflow counters plus downstream effects
varnishstat -1 -f 'MAIN.ws_*_overflow' -f MAIN.client_resp_500 -f MAIN.losthdr

Live curses view (press q to quit):

varnishstat -f 'MAIN.ws_*_overflow' -f MAIN.client_resp_500

To find the specific requests triggering the overflow, use varnishlog:

varnishlog -q 'Error ~ "workspace" or VCL_Error ~ "Workspace overflow" or FetchError ~ "Workspace overflow"' -g request

To check current parameter values:

# Show current workspace parameter values
varnishadm param.show workspace_client
varnishadm param.show workspace_backend
varnishadm param.show workspace_session
varnishadm param.show workspace_thread

All four overflow counters should be zero in steady state. Any nonzero rate means active client-facing errors or request failures.

Sizing workspace parameters

The general approach

  1. Identify which ws_*_overflow counter is incrementing.
  2. Increase the corresponding parameter.
  3. Verify the counter stops incrementing.
  4. Check process RSS to confirm the memory cost is acceptable.

Changing values at runtime

You can change any workspace parameter without restarting Varnish:

# Increase workspace_client to 128k (runtime only, does not persist across restarts)
varnishadm param.set workspace_client 128k

This runtime change has delayed effect; it is accepted immediately but may not affect all existing sessions and workers at once. To make it permanent, add the -p flag to the Varnish startup command in your service definition (systemd unit, Docker CMD, or equivalent).

Sizing rules

  • Increase in 64k increments for workspace_client and workspace_backend. Large enough to absorb typical header growth without trial-and-error cycles.
  • Use multiples of 4k for all workspace parameters larger than 4k. This aligns allocations with virtual memory page boundaries.
  • For ESI workloads, increase workspace_session from the 768-byte default. Start with 4k and increase if session overflow persists.
  • workspace_thread is capped at 8k. There is no reason to go lower than the 2k default unless you are severely memory-constrained.

Memory cost calculation

Workspace memory scales with concurrency, not with traffic. The cost formula is:

total_workspace_memory = (workspace_client + workspace_backend) * concurrent_threads
                       + workspace_session * concurrent_sessions
                       + workspace_thread * total_threads

At default values with a fully saturated thread pool (2 pools, 5,000 threads each = 10,000 threads):

  • workspace_client: 96k x 10,000 = approximately 937 MB
  • workspace_backend: 96k x 10,000 = approximately 937 MB
  • workspace_thread: 2k x 10,000 = approximately 19 MB

That is nearly 1.9 GB for client and backend workspace alone at maximum thread count. In practice, not all threads are active simultaneously, so actual usage is lower. But doubling workspace_client to 192k doubles the client workspace cost across all concurrent threads. On a memory-constrained host, this can push process RSS toward OOM.

On 32-bit systems, the defaults are lower: workspace_client is 24k and workspace_backend is 20k. This limits the per-thread cost but also makes overflow more likely with large headers.

Common sizing mistakes

  • Setting workspace_client too high across all nodes. Not every Varnish instance handles requests with oversized cookies. Profile first. If only one application behind Varnish generates large cookies, consider stripping non-essential cookies in VCL before they consume workspace.
  • Increasing workspace instead of fixing the root cause. If an application is sending 40 kB of cookies per request, the fix is to reduce the cookies, not to keep raising workspace. Workspace increases treat the symptom.
  • Forgetting that workspace_backend overflow looks like a backend problem. The backend is fine. The response headers are too large. Check ws_backend_overflow before chasing backend latency or health issues.

Signals to watch

SignalWhy it mattersWarning sign
ws_client_overflow rateRequest headers or cookies exceed workspace_clientAny nonzero sustained rate
ws_backend_overflow rateBackend response headers exceed workspace_backendAny nonzero sustained rate
ws_session_overflow rateSession workspace exhausted (often ESI-related)Any nonzero rate
ws_thread_overflow rateThread delivery workspace exhaustedAny nonzero rate
client_resp_500 rateClients receiving 500 errors from workspace failuresAny nonzero rate
losthdr rateA header could not be set: no header slot or workspace for its valueAny nonzero rate
MGT.child_panic rateSession workspace exhaustion in ESI can panic the childAny increment

The losthdr counter is related but not independent. It increments when a header cannot be set: the header-slot limit (http_max_hdr, default 64 header lines, including slots used by the first line) has been reached, or workspace cannot hold the value. Some of these paths also mark the workspace as overflowed, so losthdr and a ws_*_overflow counter can increment together. Inspect LostHeader and Error records for the affected request.

How Netdata helps

Netdata collects all four ws_*_overflow counters, client_resp_500, losthdr, and process RSS per second, so you can correlate workspace pressure with client-visible errors and memory cost without running varnishstat during an incident. The same dashboard shows overflow spikes alongside request rate, helping you distinguish a traffic pattern shift (a new endpoint generating large cookies) from a single abusive client. Anomaly detection on workspace counters can surface gradual header growth before it causes hard overflows.