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-rss-memory-overhead ▌

Operations Guides

Memcached RSS above the -m limit: connection buffers, hash table, and fragmentation

Operators set -m to cap cache memory, then notice RSS is 40 percent or more above that number. This is not a leak. The -m flag bounds only the slab allocator, the pool that stores cached items. RSS also includes the hash table, per-connection buffers, worker thread stacks, and allocator overhead.

The bytes / limit_maxbytes gauge in memcached stats describes cache memory: the keys and values your application stores. RSS, reported as VmRSS in /proc/<pid>/status, describes the entire process. They measure different scopes and will almost never match.

Expect roughly 1.4x the -m limit under normal conditions. RSS above approximately 1.6x signals investigation: a high connection count consuming buffer memory, an oversized or mid-expansion hash table, or glibc malloc fragmentation in a long-running process. RSS approaching host or cgroup limits risks the OOM killer terminating memcached entirely.

What RSS contains beyond the slab allocator

The -m flag controls one component: the slab allocator. At startup, memcached divides this memory into 1 MB pages, assigns pages to slab classes, and stores items in class-specific chunks. The bytes stat tracks how much is in use. The limit_maxbytes stat reflects the configured ceiling. Everything beyond that is overhead the -m flag does not bound.

flowchart TD
    RSS["Process RSS (VmRSS)"]
    Slabs["Slab cache
bounded by -m"] Hash["Hash table
hash_bytes"] Conn["On-demand network buffers"] Threads["Thread stacks
worker + maintenance"] Frag["Allocator overhead
glibc fragmentation"] RSS --> Slabs RSS --> Hash RSS --> Conn RSS --> Threads RSS --> Frag

Slab cache memory. Bounded by -m. This is what bytes and limit_maxbytes report. With -L (large pages), memcached pre-allocates the full -m at startup. Without -L, it allocates on demand as items arrive, so RSS grows as the cache fills.

Hash table. Tracked by the hash_bytes stat. Keys live in an expandable hash table sized as a power of two (hash_power_level). The table never shrinks, even if item count drops. When it grows, a background thread performs incremental expansion while both old and new tables exist simultaneously. During that window, hash_bytes temporarily doubles. Expansion runs on a dedicated thread and does not block request processing, but the memory spike is real.

Connection buffers. Since 1.6.0, network buffers are allocated on demand instead of being assigned statically to every client. An idle client connection uses roughly 400-500 bytes rather than a fixed 10 KB; active requests allocate read and response buffers as needed. That memory is outside the slab allocator and does not appear in bytes or limit_maxbytes. The default connection limit (-c 1024) bounds idle overhead naturally, but high connection counts and stalled pipelines can still make buffer memory material.

Thread stacks. Memcached runs a main listener thread, -t worker threads (default 4), and several maintenance threads (LRU crawler, slab automover, hash table expander). Each carries a stack. On default configurations this is minor, but high -t values add up and each resident stack page counts toward RSS.

Allocator overhead. When memcached is linked against glibc malloc (the default on most Linux distributions), long-running processes accumulate fragmentation. The allocator requests memory via brk and mmap, serves slab and internal allocations from that arena, and frequently cannot return freed memory to the OS. RSS creeps upward over days or weeks even when the working set has not changed. This is a well-known glibc malloc behavior for long-lived daemons, not a memcached-specific defect.

How the contributors scale

Each overhead component scales differently, which is why RSS can jump suddenly or drift slowly.

Hash table growth and the expansion spike

The hash table grows in powers of two as item count increases. Expansion triggers when the load factor crosses a threshold, and hash_is_expanding flips to 1 during the process. The expansion is incremental with fine-grained locking, so requests are never blocked. But both tables exist in memory for the duration, and hash_bytes is effectively doubled.

For a cache with millions of items, the hash table itself can be tens of megabytes. A doubling event adds that much again on top of slab memory. If the process is already close to a memory ceiling, the expansion spike can push it over.

The hash_power_level stat reports the current table size as 2^N. It only increases; the table never shrinks. A cache that once held 50 million items but now holds 5 million still carries the full hash table from its peak. To pre-size the table and avoid runtime expansion spikes, memcached 1.4.8 and later support -o hashpower=N, which sets the initial power level at startup.

# Check hash table state
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT hash_(is_expanding|power_level|bytes)"

Connection buffer scaling

Since 1.6.0, idle connection overhead is roughly 0.4-0.5 KB per connection, not a fixed 10 KB. Active connections vary with request size, pipelining depth, and how long responses wait to be written. Read the daemon-side gauges before sizing:

# Inspect allocated and in-use network buffer memory
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT (read_buf_count|read_buf_bytes|read_buf_bytes_free|response_obj_count|response_obj_bytes|response_obj_oom)"
echo "stats settings" | nc -q1 localhost 11211 | grep -E "(read_buf_mem_limit|resp_obj_mem_limit)"

At very high connection counts, memory can still exceed the cache on small instances. response_obj_oom means the server closed connections because it could not allocate response buffer objects. If you raise -c significantly, measure buffer use under production-shaped load and budget for it in the host or cgroup limit.

glibc fragmentation over time

The slowest contributor. A freshly started memcached has clean allocator state. Over weeks of operation, the pattern of allocations and frees (items set and evicted, connections opened and closed, hash table expansions) fragments the glibc heap. The allocator holds freed regions internally but cannot return them to the kernel because they are interleaved with still-used regions.

The result is RSS that never decreases even when curr_items drops or flush_all is issued. The slab allocator returns pages to its own pool on eviction, but glibc malloc does not necessarily release those pages back to the OS. RSS that climbed to 1.8x over a month, with no corresponding increase in bytes or connection count, is typically fragmentation.

Two mitigations exist. Linking memcached against jemalloc or tcmalloc at build time provides allocators that return memory more aggressively. Setting MALLOC_ARENA_MAX in the environment limits the number of glibc allocation arenas, reducing per-thread fragmentation at the cost of some lock contention. Neither changes memcached’s behavior; they change how the underlying allocator manages the heap.

When RSS is expected vs when to investigate

Expected overhead is approximately 30 to 40 percent above -m, accounting for the hash table, connection buffers, and internal structures. The ratio RSS / (limit_maxbytes * 1.4) should be close to 1.0.

Normal: RSS between 1.0x and 1.4x of -m. The slab cache dominates and overhead is proportionate.

Expected but worth noting: RSS between 1.4x and 1.6x. Common for instances with many connections, large item counts (big hash table), or moderate fragmentation. Not necessarily a problem, but worth identifying which contributor is responsible.

Investigate: RSS above 1.6x of -m. Something is consuming more memory than the typical overhead profile. Check connection count, hash table size, and process age. If none explain it, fragmentation is the likely culprit.

Dangerous: RSS approaching the host or cgroup memory limit. The OOM killer will terminate memcached if it cannot reclaim memory elsewhere. A memcached kill means total cache loss and a cold-start thundering herd on the backend. The -k flag enables mlockall to prevent swapping but does not protect against OOM kills from cgroup limits.

# Compare cache gauge to process RSS
echo "stats" | nc -q1 localhost 11211 | grep -E "STAT (bytes |limit_maxbytes)"
PID=$(pgrep -x memcached | head -1)
grep -E "Vm(RSS|Size|Swap)" /proc/$PID/status

Where this shows up in production

Container and Kubernetes memory limits. The most common incident pattern: operators set a pod memory limit to -m plus 10 percent headroom, assuming RSS tracks limit_maxbytes closely. The container gets OOM-killed within hours or days. Size the cgroup limit for the full RSS envelope: -m plus hash table overhead, connection buffer overhead at expected peak connections, and a fragmentation buffer for long-running processes. A practical starting point is -m * 1.5 for the cgroup limit, adjusted upward for high connection counts.

Long-running bare-metal or VM deployments. RSS drifts upward over weeks. Operators may not notice until monitoring alerts on system memory pressure or the OOM killer fires during an unrelated traffic spike. The drift is fragmentation, not a leak: bytes and curr_connections are stable, but VmRSS keeps climbing. A planned restart with a cache warming strategy resets allocator state but causes temporary cold-cache impact. Migrating to jemalloc eliminates the drift without restarts.

High-connection-count deployments. Applications with many instances, each maintaining its own connection pool, can push curr_connections into the tens of thousands. Each connection adds buffer overhead outside the slab allocator. Idle 1.6.x connections add roughly 0.4-0.5 KB each; active and stalled connections can add much more. Measure read_buf_bytes and response_obj_bytes before converting connection counts into a fixed RSS allowance.

Hash table expansion during cache warming. After a restart, the cache fills from empty. Item count climbs rapidly, potentially triggering multiple hash table expansions in succession. Each expansion temporarily doubles hash_bytes. If the host is sized tightly, this post-restart spike can cause an OOM kill before the cache finishes warming.

Signals to watch

SignalWhy it mattersWarning sign
VmRSS (/proc/<pid>/status)Total process memory from the OS view. The number that triggers OOM kills.Exceeds 1.6x limit_maxbytes without explanation
bytes / limit_maxbytesCache memory gauge. Distinct from RSS.Does not move while RSS climbs (indicates overhead, not cache growth)
hash_bytesHash table memory consumption. Overhead on top of slab storage.Sudden doubling (expansion in progress) or large value relative to -m
hash_is_expandingWhether the table is mid-expansion. Both tables exist simultaneously.Stuck at 1 for extended periods
hash_power_levelCurrent table size as 2^N. Never decreases.High value relative to curr_items (table sized for a past peak)
curr_connections, read_buf_bytes, response_obj_bytesConnection count and daemon-side network buffer use are outside the slab pool.Buffer bytes disproportionate to expected client pool size or workload
VmSwap (/proc/<pid>/status)Any swap for an in-memory cache is a performance catastrophe.Any non-zero value
Process uptimeLong uptime correlates with glibc fragmentation accumulation.RSS climbing over weeks with stable bytes and curr_connections

How Netdata helps

  • Per-second RSS tracking alongside bytes and limit_maxbytes surfaces the gap between cache memory and process memory without manual polling.
  • Correlating RSS with curr_connections at per-second resolution reveals whether connection buffer overhead is driving RSS growth.
  • Hash table stats (hash_bytes, hash_is_expanding, hash_power_level) plotted against RSS make expansion spikes immediately visible. A sudden RSS jump coinciding with a hash table doubling event stands out.
  • VmSwap monitoring for the memcached process catches any portion of the cache paged to disk.
  • ML-based anomaly detection on RSS trends flags slow fragmentation drift before it reaches the OOM threshold.
  • Cgroup memory pressure signals alongside process RSS provide early warning when RSS approaches the container or pod limit.