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-high-miss-rate ▌

Operations Guides

Memcached high miss rate: separating cold start, new key patterns, and memory pressure

A high miss rate on memcached is frequently misdiagnosed. The instinct is to assume the cache is too small and add memory. That instinct is usually wrong. Random or unique key access produces a near-0% hit rate no matter how healthy the cache is. A freshly restarted cache legitimately runs near 0% until it warms. A deploy that changed key naming produces instant misses on the new keys without any memory pressure.

The real diagnostic question is not “why is the miss rate high?” but “is the miss rate high because of memory pressure, or because of something the application is doing?” The answer determines whether you resize the cache or fix the application.

The fastest discriminator is the eviction counter. High misses combined with high evictions points to memory pressure: the cache is full and discarding items the application still wants. High misses with zero evictions means the cache has free headroom and the misses are coming from application behavior: cold start, new key patterns, write-only workloads, or natural TTL expiry of items nobody re-reads.

What this means

A miss in memcached is a GET request that did not find a key in cache. The miss rate alone tells you only that lookups are failing. It tells you nothing about why. The global hit ratio formula is:

hit_ratio = get_hits / (get_hits + get_misses)

These are cumulative counters since process start. Compute the ratio from deltas over a recent window, not from absolute cumulative values, which average over the entire lifetime and obscure recent changes.

The three root causes this article separates are:

  1. Cold start or flush. The cache was recently emptied by a restart, an OOM kill, or a flush_all. Every request misses until the cache warms.
  2. New key patterns. The application started requesting keys that were never stored, changed key naming, or is doing flag-existence checks against non-existent keys. This inflates get_misses without any memory pressure.
  3. Memory pressure. The working set exceeds the allocated memory, or one slab class does, and evictions are discarding items the application would have hit. This is the only case where adding memory helps.

The decision tree below shows the diagnostic branch points. The eviction counter is the first fork: it separates memory-pressure causes from everything else.

flowchart TD
    A[High miss rate detected] --> B{uptime recently reset?}
    B -- yes --> C[Cold start after restart]
    B -- no --> D{cmd_flush incremented?}
    D -- yes --> E[flush_all event]
    D -- no --> F{evictions increasing?}
    F -- no --> G[Application behavior]
    G --> H{cmd_set near cmd_get?}
    H -- yes --> I[Write-heavy or unique keys]
    H -- no --> J[New key patterns or existence checks]
    F -- yes --> K{one slab class full?}
    K -- yes --> L[Slab imbalance]
    K -- no --> M{evicted_time low?}
    M -- yes --> N[Working set exceeds cache]
    M -- no --> O[Healthy eviction of cold items]

Common causes

CauseWhat it looks likeFirst thing to check
Cold start after restartuptime recently reset, hit ratio climbing from near-zero, curr_items building upuptime stat
flush_all eventcmd_flush incremented, get_flushed spiking (present since 1.4.x), curr_items near zerocmd_flush counter
New key patternsHigh get_misses, zero evictions, stable curr_items, memory well below limitevictions rate
Write-only workloadHigh cmd_set relative to cmd_get, high evicted_unfetchedcmd_set / cmd_get ratio
Memory pressure (global)bytes near limit_maxbytes, evictions increasing, hit ratio decliningbytes / limit_maxbytes
Slab imbalanceGlobal bytes at 50-70%, evictions concentrated in one slab class, other classes idlePer-slab stats items evictions
Cache stampedecmd_get and get_misses spike together, evictions low, backend load spikescmd_get rate and backend metrics

Quick checks

These are read-only and safe to run against production.

# Check daemon responsiveness and uptime
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT (uptime|version)"
# Hit rate components - compute ratio from deltas between two samples
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT get_(hits|misses)"
# Eviction counter and memory utilization
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT (evictions|bytes|limit_maxbytes)"
# Check for flush_all events and their read-side impact
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT (cmd_flush|get_flushed)"
# Command ratio - read-heavy vs write-heavy
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT cmd_(get|set)"
# Waste indicators - items evicted or expired without ever being read
echo "stats" | nc -w 2 localhost 11211 | grep -E "STAT (evicted_unfetched|expired_unfetched)"
# Per-slab eviction distribution - which classes are under pressure?
echo "stats items" | nc -w 2 localhost 11211 | grep -E "evicted|evicted_time"
# Per-slab free chunks - which classes have headroom?
echo "stats slabs" | nc -w 2 localhost 11211 | grep -E "used_chunks|free_chunks|total_pages"
# Direct reclaims - is the LRU maintainer falling behind?
echo "stats" | nc -w 2 localhost 11211 | grep "STAT direct_reclaims"

How to diagnose it

Step 1: Check uptime and cmd_flush.

If uptime is low (minutes when it should be hours or days), the cache is warming after a restart. A near-zero hit ratio is expected and will climb. If cmd_flush has incremented, someone or something issued flush_all. Both are transient causes. Focus on whether the backend can survive the warm-up load rather than on fixing the cache.

Step 2: Check the eviction rate.

This is the single most important branch point. If evictions is zero or flat, the cache is not discarding anything. The misses are coming from application behavior, not memory pressure. Skip to step 5.

If evictions is increasing, the cache is full in at least one slab class and discarding valid, non-expired items. Proceed to step 3.

Step 3: Check per-slab eviction distribution.

Global evictions can be driven by a single saturated slab class while others sit idle. Run stats items and look for which classes have active evictions. Then run stats slabs and check free_chunks across all classes. If one class is at zero free chunks and evicting while others have significant free chunks, you have a slab imbalance, not a global memory shortage. Adding memory will not help unless it is accompanied by slab rebalancing.

Step 4: Check evicted_time per slab class.

evicted_time (from stats items, not from plain stats) reports the seconds since last access of the most recently evicted item in each slab class. This is the critical discriminator:

  • High values (hours or days): the cache is evicting genuinely cold items. This is healthy LRU turnover.
  • Low values (under 300 seconds): the cache is evicting recently-active items. This is harmful thrashing where the working set exceeds the cache size for that class.
  • Under 60 seconds: severe thrash. Items are evicted almost immediately after last access.

When evictions are zero in a slab class, evicted_time is 0 and meaningless.

Step 5: If evictions are zero, investigate the application.

Zero evictions with high misses means the application is requesting keys that were never stored or have already expired naturally. Check the following:

  • Did a deploy change key naming? Old keys in the cache will never match new key requests.
  • Is the application doing existence checks (flag lookups) for keys that may not exist? These inflate get_misses legitimately. This is a common trap in workloads that treat memcached as a presence oracle.
  • Is cmd_set high relative to cmd_get? A write-heavy pattern with unique keys, such as per-request tokens or session IDs written but rarely re-read, will never produce hits regardless of cache size.

Step 6: Check waste indicators.

evicted_unfetched counts items evicted without ever being read after their last set. expired_unfetched counts items that expired naturally without ever being read. High values for either mean the application is caching data nobody requests. This inflates miss rates by filling the cache with useless items that displace useful ones, or by contributing to the miss count on lookups that were never going to hit.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
get_hits, get_missesCompute hit ratio from deltasDrop of more than 15 percentage points from rolling average
evictionsPrimary memory pressure indicatorSustained non-zero rate with declining hit ratio
evicted_time (per slab)Age of most recently evicted itemUnder 300 seconds with active evictions
evicted_unfetchedItems cached but never readHigh ratio to total evictions (over 50%)
expired_unfetchedItems expired without being readHigh rate relative to cmd_set
uptimeDetects restarts and cold startsSudden reset to low value
cmd_flushDetects flush_all eventsAny increment in production
get_flushedMeasures actual flush impact (present since 1.4.x)Spike after cmd_flush
cmd_set, cmd_getWorkload profile and ratiocmd_set approaching cmd_get
bytes, limit_maxbytesMemory utilizationOver 85% with active evictions
direct_reclaimsLRU maintainer falling behindAny sustained non-zero rate
Per-slab free_chunks, evictedSlab imbalance detectionOne class full and evicting while others idle

Fixes

Cold start or flush

No cache fix is needed. The cache will warm as traffic flows. Focus on the backend:

  • Confirm the backend can absorb the full miss load during warm-up.
  • If you have cache-warming scripts, run them.
  • For future restarts, consider stampede protection such as distributed locks or probabilistic early refresh to prevent thundering herd on the backend.

If flush_all was accidental, investigate who or what issued it. Memcached does not log the source of commands, so check network-level logging or application code paths that call flush_all.

New key patterns or write-only workload

No cache fix will help. Adding memory or instances will not change the hit ratio if the application is requesting keys that were never stored. The fix is in the application:

  • If a deploy changed key naming, ensure the application writes and reads with the same key scheme.
  • If the application does existence checks for keys that may not exist, consider whether those lookups belong in memcached at all.
  • If the workload is inherently write-heavy with unique keys, accept the low hit ratio or reconsider whether memcached is the right store for that data.

Memory pressure (global undersizing)

If bytes is near limit_maxbytes, evictions are sustained across multiple slab classes, and evicted_time is low, the cache is genuinely undersized for the working set:

  • Increase the -m memory limit. This requires a restart, which means total data loss and a fresh cold start.
  • Consider adding more instances to the cluster rather than making one larger, to distribute connection load and network bandwidth.
  • Before resizing, verify via per-slab analysis that the problem is genuinely global and not a slab imbalance masquerading as global pressure.

Slab imbalance

If global memory is moderate (50-70%) but one slab class is full and evicting while others have free chunks, the problem is memory distribution, not total memory:

  • Check if slab_automove is enabled: echo "stats settings" | nc -w 2 localhost 11211 | grep slab_automove. It is default-on at mode 1 since 1.5.0.
  • If automove is off, enable it at runtime: slabs automove 1. This changes daemon state live; it is safe to run in production but will start moving memory pages between slab classes.
  • For urgent relief, manually move a page from an idle class to a starving one: slabs reassign <source_class> <dest_class>. Warning: this is destructive to items in the moved page. Those items are evicted immediately.
  • For a structural fix on the next restart, review the slab growth factor (-f, default 1.25). A lower factor creates more classes with finer granularity, reducing internal fragmentation at the cost of more classes competing for pages.

Cache stampede

If the miss spike correlates with a single hot key expiring and backend load spiking, memcached itself is not broken. The fix is application-level stampede prevention:

  • Probabilistic early refresh: refresh keys slightly before they expire, with randomness to avoid synchronized refreshes.
  • Distributed lock pattern: when a miss occurs, one request acquires a lock to fetch and repopulate the key while others wait or serve stale data.

Prevention

  • Alert on hit ratio with context, not in isolation. A raw hit-ratio alert is noisy. Correlate with evictions, uptime, and cmd_flush before paging. A hit-ratio drop with zero evictions is an application signal, not a cache crisis.
  • Track the cmd_set / cmd_get ratio. A rising ratio means the workload is becoming more write-heavy, which will depress hit ratio regardless of cache health.
  • Monitor per-slab utilization. Global memory metrics hide slab imbalance. Track per-slab free_chunks and evicted to catch calcification before it degrades hit ratio.
  • Track evicted_time per slab class. This is the single best signal for distinguishing healthy eviction of cold items from harmful thrashing of active items.
  • Monitor evicted_unfetched and expired_unfetched. High values indicate the application is caching data nobody reads, which wastes memory and inflates miss rates.
  • Alert on cmd_flush. Any increment in production should trigger investigation. An accidental flush_all is indistinguishable from a cache restart in terms of impact, but harder to detect because the process stays up.
  • Have a warming strategy. Every restart is complete data loss. Know how long warm-up takes for your workload and whether the backend can survive the cold period.

How Netdata helps

  • Netdata collects get_hits, get_misses, evictions, and computed hit ratio at per-second resolution, letting you see the exact moment the miss rate changes and correlate it with eviction rate, uptime, and cmd_flush in the same time window.
  • Per-second eviction and memory utilization charts let you distinguish a gradual eviction-driven decline from an instant cold-start drop within seconds of the event.
  • cmd_set and cmd_get are tracked independently, so write-to-read ratio shifts are visible alongside hit-ratio changes without manual sampling.
  • ML-based anomaly detection flags unusual changes in hit ratio, eviction rate, and command rates, helping separate expected warm-up curves from genuinely anomalous degradation.
  • uptime discontinuities and cmd_flush increments appear as discrete events in the same dashboard, making restart and flush causes immediately visible without manual correlation across tools.