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-lru-crawler ▌

Operations Guides

Memcached LRU crawler: crawler_reclaimed, disabled crawlers, and lazy expiry

Memcached does not remove items when their TTL expires. An expired item holds its slab slot until something touches it: a client request, an eviction scan, or the LRU crawler. The crawler is a background thread that walks LRU chains, finds expired items, and frees their memory before eviction pressure forces the issue.

A working crawler keeps slab slots available for new writes without evicting live data. Every expired item it reclaims is one fewer item evicted under pressure. Without it, expired items that are never accessed and never reach the eviction tail waste memory indefinitely.

This article covers the two primary counters (crawler_reclaimed and crawler_items_checked), the related lrutail_reflocked diagnostic, how lazy and active expiry interact, and how to tell whether the crawler is healthy, disabled, or stuck.

Lazy and active expiry coexist

Expired items leave memcached through three paths:

PathTriggerCounter
Lazy expiry on accessClient GET, SET, or touch hits an expired itemreclaimed (if a SET reuses the slot)
Active expiry by crawlerBackground crawler scan finds an expired itemcrawler_reclaimed
Eviction-driven reclaimMemory pressure forces an LRU tail scanreclaimed or evictions

reclaimed counts store operations that reused an expired item’s slot rather than allocating fresh memory. crawler_reclaimed counts items the crawler freed proactively. Both can be nonzero simultaneously, and both should be on a healthy cache with expiring items.

A well-tuned cache with an active crawler shows a healthy reclaimed rate, a modest crawler_reclaimed rate, and low or zero evictions. A cache where evictions climbs while crawler_reclaimed sits flat at zero is the signature of a crawler that is disabled, stuck, or unable to keep up.

How the crawler works

flowchart TD
    A["Item TTL expires"] --> B{"Client accesses it?"}
    B -- "yes" --> C["Lazy expiry: reclaimed++"]
    B -- "no" --> D{"Crawler enabled?"}
    D -- "yes" --> E["Crawler reclaims: crawler_reclaimed++"]
    D -- "no" --> F{"Eviction pressure?"}
    F -- "yes" --> G["Eviction scan: reclaimed++ or evicted++"]
    F -- "no" --> H["Wastes memory until touched"]

In memcached 1.5.0 and later with the default -o modern mode, each slab class has a segmented LRU with HOT, WARM, and COLD tiers. The optional TEMP tier is off unless temporary_ttl is enabled. The LRU maintainer thread moves items between the active tiers based on access patterns. The LRU crawler is a separate thread that walks these same queues looking for expired items.

The crawler inserts crawler items at the tail of each selected sub-LRU, then walks backward from tail to head. For its automatic expiration scans it records a histogram of remaining TTLs in one-minute buckets and uses that history to choose the next scan interval.

Two settings control crawler pacing:

  • lru_crawler_sleep sets a microsecond sleep after every crawls_persleep items; the default sleep is 100 microseconds and the default batch is 1,000 items.
  • lru_crawler tocrawl sets the maximum items to examine per slab per run.

These prevent the crawler from consuming excessive CPU on large caches.

The crawler and maintainer are distinct threads. The maintainer moves live items between tiers. The crawler frees expired items. Their stats are reported separately.

Checking whether the crawler is enabled

# Crawler enabled in settings?
echo "stats settings" | nc -q1 localhost 11211 | grep lru_crawler

# Is a crawl currently running?
echo "stats" | nc -q1 localhost 11211 | grep lru_crawler_running

# Crawler work counters
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT crawler_(reclaimed|items_checked)"

stats settings reports lru_crawler as yes or no. If no, the crawler is disabled and crawler_reclaimed stays at zero regardless of how many items expire.

Version history and defaults

The crawler’s default state has changed across versions:

  • 1.4.18: Introduced experimentally. Enable explicitly via lru_crawler enable at runtime or -o lru_crawler at startup.
  • 1.4.23: Recommended startup flags become -o lru_maintainer,lru_crawler.
  • 1.4.31: The default background job launches less aggressively, and crawler rate-limit sleeps now take effect.
  • 1.5.0: Segmented LRU and LRU maintainer become default with -o modern. The crawler works with segmented LRU.
  • 1.6.9: The background item crawler thread walks LRUs and actively reclaims expired items by default. This is a separate default-on decision from the 1.4.31 launch refinements.

On versions that support -o no_modern, that flag disables the crawler. stats settings will show lru_crawler: no.

On AWS ElastiCache for Memcached, the crawler is controlled via the parameter group, not command-line flags. Check the parameter group setting rather than assuming the upstream default applies.

When the crawler is stuck

If lru_crawler shows yes but crawler_reclaimed stays at zero while evictions are active, the crawler may be stuck. Check lru_crawler_running: if it stays true indefinitely without crawler_reclaimed increments, the crawler thread may be wedged.

A stuck crawler is rare. More commonly, crawler_reclaimed is zero because the cache has no expiring items (all items have long or no TTLs), or because the crawler is disabled.

lrutail_reflocked: items the crawler cannot reclaim

lrutail_reflocked (since 1.4.21) counts times the server found an item at the LRU tail with an active reference (refcount greater than zero). An item with a positive refcount is being read or modified by a worker thread and cannot be freed or evicted.

When this counter climbs, items at the eviction end of the LRU are hot: they are accessed frequently enough that the server cannot reclaim their memory. The internal code walks up the LRU tail looking for the next unlocked item; 1.4.21 through 1.6.x use a five-item try limit.

High lrutail_reflocked with active evictions means the cache is undersized for its working set, or large-value reads are holding tail items open during eviction scans.

tail_repair_time: the dangerous escape hatch

The -o tail_repair_time option forcefully reclaims an LRU tail item whose refcount has leaked (stuck at a nonzero value due to a bug, not a legitimate read). It is disabled by default and documented as dangerous. Enabling it can free stuck tail items, but it can also free items legitimately in use, causing data corruption. Do not enable it without understanding the risk.

metadump: inspecting what the crawler sees

lru_crawler metadump dumps metadata for items in the cache: key, expiration time, last accessed time, CAS, fetch status, class, and size. It is the most direct way to inspect what the crawler would find.

# Dump metadata for all items (expensive on large caches)
echo "lru_crawler metadump all" | nc -q1 localhost 11211 | head -20

Two operational warnings:

  • Cannot be pipelined. The protocol returns ERROR cannot pipeline other commands before metadump if you send other commands first on the same connection.
  • Connection close crash (pre-1.6.26). Prior to 1.6.26, closing the client connection early during lru_crawler metadump could crash the server; 1.6.26 fixed the corruption. Let the dump complete before closing the connection on older versions.

On large caches, expect significant output and server overhead. Run it during low-traffic periods or on a non-production instance.

Signals to watch

SignalWhy it mattersWarning sign
crawler_reclaimedItems the crawler freed proactivelyFlat at zero while evictions is active
crawler_items_checkedItems the crawler examinedZero means the crawler is not scanning
crawler_reclaimed / crawler_items_checkedFraction of scanned items that were expiredVery low ratio with high scan rate means TTLs are longer than scan frequency expects
lrutail_reflockedTail items locked, cannot be reclaimedClimbing rate under eviction pressure
reclaimedLazy and eviction-driven slot reuseHigh with zero crawler_reclaimed suggests crawler is off but lazy expiry works
evictionsLive items forcibly removedNon-zero while crawler_reclaimed is zero is the crawler-problem signature
lru_crawler (stats settings)Whether the crawler is enabledno means expired items only leave via lazy expiry or eviction
lru_crawler_runningWhether a crawl is in progressStuck true with no crawler_reclaimed progress

The key diagnostic pattern: if evictions climbs and crawler_reclaimed is flat at zero, check lru_crawler in stats settings first. If no, the crawler is disabled. If yes, check lru_crawler_running and crawler_items_checked to see whether it is actually scanning.

How Netdata helps

Netdata collects crawler_reclaimed and crawler_items_checked per second, so you see the crawler’s work rate rather than cumulative counters. A flat line on crawler_reclaimed while evictions rises is visible on a correlated timeline.

Correlating crawler stats with evictions and memory utilization makes the disabled-crawler signature obvious: evictions climbing, crawler_reclaimed flat, reclaimed flat or modest. lrutail_reflocked tracked alongside eviction rate reveals when tail-lock contention contributes to pressure versus when the cache is simply full of live data.

Anomaly detection on crawler_reclaimed rate flags sudden drops to zero without a static threshold, which matters because a healthy crawler’s rate varies with TTL distribution. Polling stats settings surfaces a lru_crawler: no misconfiguration before it becomes an incident, especially after a restart with changed startup flags.