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 / memcached / memcached-eviction-cascade-backend-overload ▌

Operations Guides

Memcached eviction cascade: when a full cache overloads the backend

The most common memcached-related production incident is not a memcached crash. The process stays up, serves hits at sub-millisecond latency, CPU is flat, and memory looks fine in aggregate. What breaks is the backend.

An eviction cascade starts when the working set outgrows the cache. Memory fills, evictions accelerate, and every evicted item becomes a future miss. Those misses fall through to the database, which was sized for cache-assisted load, not raw traffic. The backend saturates, latency climbs stack-wide, and slow responses drive retries that add still more load. It is a positive feedback loop, and memcached is not where it closes.

The distinguishing signal is the shape of the hit ratio collapse. An eviction cascade degrades hit ratio gradually, over minutes, as evictions compound. An instant drop to near-zero is a flush or a restart, not eviction pressure. A slow slide rather than a cliff points to this pattern.

What this means

Memcached is behaving correctly: when memory is full and a new SET arrives, it evicts something. The problem is that the evicted item is data the application still wants. When misses outpace the backend’s capacity to absorb them, the cascade begins.

Two things make this incident hard to catch early. First, memcached itself looks healthy. The items it does serve come back fast, CPU is normal, and stats returns clean numbers. The victim is downstream, not in the cache process. Second, global memory utilization is a poor early signal. With a slab allocator, a single hot slab class can be 100% full and evicting aggressively while global bytes sits at 60% of limit_maxbytes. If you only watch global memory, you miss the pressure until hit ratio has already slipped.

The cascade is self-reinforcing: evictions produce misses, misses produce backend load, backend load produces latency, latency produces timeouts and retries, and retries produce more SET traffic as applications refresh stale data.

flowchart TD
    A[Working set exceeds cache] --> B[Hot slab class fills]
    B --> C[Evictions accelerate]
    C --> D[Evicted items become future misses]
    D --> E[Misses fall through to backend]
    E --> F[Backend saturates]
    F --> G[Latency climbs stack-wide]
    G --> H[Timeouts drive retries]
    H --> E

Common causes

CauseWhat it looks likeFirst thing to check
Traffic spike exceeding cache capacitycmd_get rises, evictions rise in proportion, hit ratio slides over minutesstats slabs for the saturated class; compare to baseline cmd_get
Item size growth (serialization change, schema growth)Slab classes that held the working set now hold fewer items; evictions concentrate in mid-size classesRecent deploys; bytes / curr_items trend
Slab calcificationGlobal memory 50-80% but one or two slab classes are full and evicting while others have free chunksstats slabs for free_chunks imbalance; stats items per-class evicted
Cache warming stopped or brokenHit ratio slides after a schedule change or deploy; cold items never get re-cachedWarming job logs; curr_items trend
TTL shortenedreclaimed rises, expired_unfetched rises, evictions begin soonerRecent TTL config changes; cmd_set vs expiration rate

Quick checks

These are read-only. Run them against the memcached port (default 11211). The -q1 flag is netcat-openbsd syntax; adjust for your variant.

# Confirm process is alive and responding
echo "version" | nc -q1 localhost 11211

# Check uptime - a recent restart means cold cache, not eviction pressure
echo "stats" | nc -q1 localhost 11211 | grep "STAT uptime"

# Confirm cmd_flush is not the cause - any increment means a flush_all happened
echo "stats" | nc -q1 localhost 11211 | grep "STAT cmd_flush"

# Hit and miss counters - compute ratio from deltas, not absolutes
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT get_(hits|misses)"

# Global eviction rate - sustained non-zero means pressure somewhere
echo "stats" | nc -q1 localhost 11211 | grep "STAT evictions"

# Global memory utilization - misleading for slab-allocated caches, but a sanity check
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT (bytes |limit_maxbytes)"

# Per-slab eviction distribution - the single most important check
echo "stats items" | nc -q1 localhost 11211 | grep -E "(evicted|evicted_time|outofmemory)"

# Per-slab memory distribution - find the imbalance
echo "stats slabs" | nc -q1 localhost 11211 | grep -E "(used_chunks|free_chunks|total_pages)"

# Direct reclaims - worker threads doing the LRU maintainer's job
echo "stats" | nc -q1 localhost 11211 | grep "STAT direct_reclaims"

# Is slab automove enabled?
echo "stats settings" | nc -q1 localhost 11211 | grep "slab_automove"

How to diagnose it

  1. Confirm the shape. Pull get_hits and get_misses at two points 60-120 seconds apart and compute the ratio. A gradual slide means eviction territory. An instant drop means check uptime and cmd_flush first.

  2. Rule out flush and restart. If uptime is low or cmd_flush incremented, the cause is a cold cache, not an eviction cascade. Treat that differently. See Memcached unexpected restart.

  3. Find the saturated slab class. Run stats items and look for classes with non-zero evicted counters. Cross-reference with stats slabs to see which classes have free_chunks == 0.

  4. Check eviction quality. For each evicting slab class, read evicted_time. This is the number of seconds since the last access of the most recently evicted item. Below 300 seconds means the cache is evicting recently-active data. Below 60 seconds means severe thrash. If evicted items are old, the LRU is doing its job and the hit ratio drop has a different cause.

  5. Check whether pressure is global or local. If only one or two slab classes are evicting while others have free chunks, you have slab calcification on top of the cascade. If every active class is evicting, the cache is undersized for the working set.

  6. Correlate with backend load. The defining signal of the cascade is that miss rate tracks backend load. Plot miss rate against database queries per second; they should move together.

  7. Check for direct reclaims. Non-zero direct_reclaims means the LRU maintainer thread is falling behind and worker threads are evicting inline. This is acute pressure, not background churn.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
evictions ratePrimary memory pressure indicatorSustained non-zero, especially rising
evicted_time per slab classDistinguishes healthy cold-item turnover from harmful thrashBelow 300 seconds in an evicting class
Hit ratio (from get_hits / get_misses deltas)User-visible cache effectivenessGradual slide over minutes
bytes / limit_maxbytesSanity check on global memoryAbove 0.85 with rising evictions
Per-slab used_chunks, free_chunksReveals slab calcification hiding behind healthy global memoryOne class at 0 free chunks while others have many
direct_reclaimsLRU maintainer falling behindAny sustained non-zero rate
cmd_get rateConfirms clients are still requesting (closes the loop on backend load)Stable or rising while hit ratio falls
Backend load (external)Confirms the cascade has moved downstreamTracks miss rate with little lag

Fixes

If the cache is globally undersized

If every active slab class is evicting and there is no slab imbalance, the working set has outgrown the allocation. The cleanest fix is more memory.

# Raise memcached memory limit at runtime (1.4.27+)
echo "cache_memlimit 8192" | nc localhost 11211

If this command is unavailable, restart memcached with a higher -m value, accepting a cold cache. Either way, the host needs the RAM. Moving memcached to a larger host, or adding instances to the consistent hashing ring, is the structural fix.

If the problem is slab calcification

Memory is available globally but locked in the wrong slab classes. This is the most under-diagnosed cause of eviction cascades.

# Check if automove is on
echo "stats settings" | nc -q1 localhost 11211 | grep slab_automove

# Enable conservative automove at runtime
echo "slabs automove 1" | nc localhost 11211

slab_automove mode 1 is conservative. It moves pages slowly and only from classes with low recent eviction activity. Mode 2 is more aggressive but can cause jitter and is not recommended for sustained use. If you cannot wait for automove, you can move a page manually:

# Manually move one page from source slab class to destination.
# OK schedules an asynchronous move; it is not completion confirmation.
# WARNING: this is destructive. All items in the source page are evicted.
# Only move from classes with free chunks and no recent evictions.
echo "slabs reassign <src_class> <dst_class>" | nc localhost 11211

If the problem is TTL or warming

If TTLs were recently shortened, expired items free memory but useful items also expire sooner, accelerating effective eviction. Revert the TTL change if you can.

If a warming job stopped, the working set now relies on organic traffic to repopulate. Restart the warmer. Watch cmd_set rate climb and hit ratio recover.

If the backend is already saturating

The cascade has moved downstream. Memcached fixes will not help in the seconds that matter. Buy the backend room first:

  • Shed load at the edge if you can (rate limit, circuit break).
  • Disable non-critical read paths that hit the backend.
  • If you have a cache-warming script, run it.
  • Once backend latency stabilizes, work the memcached side.

Prevention

  • Per-slab eviction distribution. The single most common miss is treating global memory as the capacity signal.
  • Alert on low evicted_time. Below 300 seconds in any active slab class plus sustained evictions is the early warning before the cascade closes.
  • Track hit ratio as rate of change. A 15-point slide over 10 minutes is the signal; a stable 85% is just your baseline.
  • Keep 15-20% global headroom. With slab_automove active, global headroom is meaningful; without it, per-slab headroom is what matters.
  • Confirm slab_automove is mode 1 at boot. Mode 1 is the 1.5.0+ default, but startup flags such as -o no_slab_automove can override it. Do not assume the default if your startup scripts were written years ago.
  • Keep a cache-warming path operational. The cascade is much worse when warming is broken and nobody notices until traffic spikes.
  • Watch direct_reclaims. It is a late signal, but it confirms the LRU maintainer is no longer keeping up.

How Netdata helps

  • Per-second collection of evictions, get_hits, get_misses, and cmd_get shows the hit-ratio slide as it starts, not minutes after the backend is already saturated.
  • Per-slab metrics (evicted_time, used_chunks, free_chunks per class) make slab calcification visible without running stats items by hand during the incident.
  • Anomaly detection flags the gradual hit-ratio decline and rising eviction rate against the instance’s own baseline, which is the shape of this incident.
  • Correlating memcached signals with backend metrics (database queries per second, database latency) confirms whether misses have reached the database yet.
  • Alerting on cmd_flush and uptime resets rules out the two other causes of sudden hit-ratio collapse.
  • Alerting on low evicted_time with sustained evictions catches the cascade before hit ratio visibly slips.