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 / rabbitmq / rabbitmq-memory-usage-climbing

Operations Guides

RabbitMQ memory usage climbing toward the watermark: mem_used vs mem_limit

The memory alarm has not fired yet. Publishers are still running. But mem_used has been creeping up for hours and mem_used / mem_limit just crossed 0.7. This is the last quiet window you get: RabbitMQ’s memory failure mode is a cliff edge. When mem_used reaches mem_limit, the alarm fires and every publisher on every node in the cluster is blocked at once.

Two mistakes are common here. The first is treating mem_limit as raw RAM you should multiply by the watermark again. It is not; the watermark is already baked in. The second is dismissing a rising ratio because the alarm has not fired. By the time it fires, you have zero recovery headroom.

What this means

mem_used is the memory the node reports as in use. mem_limit is the effective limit computed from total RAM times vm_memory_high_watermark. The default watermark is 0.4 (40% of RAM) on RabbitMQ 3.x and 0.6 (60%) on 4.x. Because mem_limit already incorporates the watermark, the only number you need to watch is:

ratio = mem_used / mem_limit
  • ratio < 0.5: comfortable headroom.
  • 0.5 to 0.7: concerning. Paging is active or imminent.
  • ratio > 0.7 sustained: critical. Investigate now, before the alarm.
  • ratio = 1.0: memory alarm fires, publishers blocked cluster-wide.

Paging is the intermediate stage. On RabbitMQ 3.x, at vm_memory_high_watermark_paging_ratio (default 0.5, meaning 50% of the watermark), RabbitMQ starts moving queue contents from RAM to disk. With default settings that is a ratio of 0.5. The setting is deprecated and no longer used since RabbitMQ 4.0, so on 4.x there is no paging-ratio threshold to read. Paging does not block publishers, but it adds disk I/O, slows queue processes, and can trigger per-connection flow control. It is the earliest mechanical warning that the climb is real.

flowchart LR
  A["ratio < 0.5: normal"] --> B["ratio = 0.5 (3.x): paging to disk begins"]
  B --> C["ratio > 0.7: warning, investigate"]
  C --> D["ratio = 1.0: memory alarm"]
  D --> E["all publishers blocked cluster-wide"]

Two properties of this system surprise operators:

  1. The limit does not cap memory. The watermark only triggers publisher blocking. The node can still grow past it and get OOM-killed if consumers do not drain queues.
  2. There is no hysteresis. The alarm clears at the same threshold it triggered. If usage hovers at the watermark, the alarm flaps, so any alert on mem_alarm needs a sustained-duration condition.

Why memory climbs

CauseWhat it looks likeFirst thing to check
Unacked message accumulationmessages_unacknowledged growing, ack rate near zero, consumers connectedUnacked count vs prefetch x consumer count
Queue backlog (consumers too slow or absent)messages_ready growing, publish rate > deliver_get ratePer-queue ready counts and consumer counts
Connection and channel proliferationObject counts rising, each connection and channel holds process memoryobject_totals trend, churn rates
Binary heap retention after drainsQueues drained but mem_used stays high, binary category largerabbitmq-diagnostics memory_breakdown
Large message bodiesMemory growth disproportionate to message countMessage size distribution on top queues
Watermark too low for workloadAlarm fires under normal peak loadWatermark config vs actual working set
Container memory misdetectionmem_limit reflects host RAM, not the container limitCompare mem_limit with the container’s actual limit

The first two rows are not the same thing. Unacked messages are the more dangerous driver: they are pinned in memory because the broker must be able to redeliver them instantly if the consumer dies. In classic queues they cannot be paged to disk. A consumer holding 10,000 unacked messages is the most common precursor to memory alarms.

Quick checks

All read-only and safe to run during an incident.

# Current ratio per node - the gauge this article is about
curl -s -u guest:guest http://localhost:15672/api/nodes | \
  jq '.[] | {name, mem_used, mem_limit, ratio: (.mem_used / .mem_limit)}'

# Is the alarm already firing anywhere?
curl -s -u guest:guest http://localhost:15672/api/nodes | jq '.[].mem_alarm'

# Global queue totals: ready vs unacked
curl -s -u guest:guest http://localhost:15672/api/overview | jq '.queue_totals'

# Per-queue depth and consumer presence
rabbitmqctl list_queues name messages_ready messages_unacknowledged consumers

# Heaviest queues by memory
curl -s -u guest:guest 'http://localhost:15672/api/queues?sort=memory&sort_reverse=true' | \
  jq '.[:10] | .[] | {name, memory, messages_ready, messages_unacknowledged}'

# Category-level breakdown from the CLI
rabbitmq-diagnostics memory_breakdown

# OS-side view: is RSS far above mem_used?
grep VmRSS /proc/$(pgrep -f beam.smp | head -1)/status

The guest:guest credentials only work over localhost by default; substitute your monitoring user on remote nodes.

How to diagnose it

  1. Compute the ratio and the trend. One sample tells you where you are; the slope tells you how long you have. Estimate runway: runway_minutes = (mem_limit - mem_used) / memory_growth_rate_per_minute. If the ratio is above 0.7 and the runway is under an hour, treat it as an active incident even though the alarm has not fired.

  2. Split the driver: ready vs unacked. Check queue_totals. If messages_unacknowledged is the growing component, consumers are receiving but not completing. If messages_ready is growing, consumers are absent, too few, or too slow. The fix paths are different.

  3. Get the memory breakdown. Query the node with ?memory=true:

curl -s -u guest:guest 'http://localhost:15672/api/nodes/rabbit@myhost?memory=true' | \
  python3 -c "
import sys,json; d=json.load(sys.stdin)
print('used:', d['mem_used']//1024//1024, 'MB')
print('limit:', d['mem_limit']//1024//1024, 'MB')
print('alarm:', d['mem_alarm'])
for k,v in sorted(d.get('memory',{}).items(), key=lambda x: -x[1]):
    print(f'  {k}: {v//1024//1024} MB')
"

The breakdown shows binary, queue process, connection, and Mnesia contributions. Match the dominant category to a cause: large binary means message bodies in flight or retained references, large queue process memory means deep queues, large connection categories mean object proliferation.

  1. Check binary heap retention explicitly. If queues have drained but mem_used stayed high, inspect the binary heap:
rabbitmqctl eval 'erlang:memory(binary).'

Erlang binaries are reference counted. A process that touched a message body but has not garbage collected since pins that binary in memory. rabbitmq-diagnostics force_gc triggers GC across all processes and reclaims this if retention is the issue. Warning: it forces GC on every process at once, so expect a pause on a busy node. If memory drops and stays down, the “leak” was lazy GC. If it does not drop, the memory is genuinely in use.

  1. Verify the limit itself is sane. mem_limit is calculated at startup from detected system RAM. In containers, RabbitMQ may read the host’s RAM rather than the container limit, producing a watermark far above what the cgroup will allow. Compare mem_limit against the container’s memory limit. If they disagree, the container can be OOM-killed before the alarm ever fires. Use total_memory_available_override_value or set an absolute vm_memory_high_watermark.absolute to correct the detection, then restart so mem_limit is recomputed.

  2. Check whether paging is already active. Look for messages_paged_out on queues and rising disk I/O on the data partition (3.x classic queues; 4.x does not emit the per-queue field). Paged-out messages mean the ratio crossed the paging threshold at some point, and throughput is already paying for it even though publishers are not blocked.

RSS vs mem_used: do not chase the wrong number

The OS often reports more memory for the beam.smp process than RabbitMQ reports as mem_used. This is normal. The Erlang VM allocators reserve memory from the OS and do not return it eagerly after queues drain, so RSS can sit well above mem_used indefinitely. That is not a leak.

The inverse case is the dangerous one: RSS climbing while mem_used is flat, or the host swapping while RabbitMQ thinks it is fine. That means allocator overhead itself has become the problem. Alert on mem_used / mem_limit for broker behavior, but watch RSS at the OS level for OOM risk, because the OOM killer acts on RSS, not on RabbitMQ’s self-reported figure.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
mem_used / mem_limitThe leading gauge before the alarmRatio > 0.7 sustained, or steady upward trend
mem_alarmPublishers blocked cluster-widetrue sustained > 60s with traffic impact
queue_totals.messages_unacknowledgedPinned-in-RAM messages, cannot be pagedGrowing without bound, or > prefetch x consumers
queue_totals.messages_readyBacklog building toward memory pressureSustained positive growth over 10+ minutes
messages_paged_out per queue3.x: paging threshold crossed, disk I/O follows (not emitted on 4.x)3.x: appearing or growing on active queues
Memory breakdown categories (binary, queue procs, connections, Mnesia)Tells you what is consuming, not just how muchOne category growing out of proportion to traffic
object_totals (connections, channels)Each object holds process memoryGrowth without matching client growth
Publish vs deliver_get ratesThe imbalance that drives backlogPublish > deliver_get sustained
Disk I/O on the data partitionPaging is the pre-alarm stageRising I/O concurrent with rising ratio

Bringing usage down

Do not restart the broker as a first response: restart loses in-memory state, triggers queue repopulation from disk, and memory often spikes higher during warm-up than before the restart.

Unacked accumulation. Fix the consumers. Check consumer application health, downstream dependencies, and whether a few consumers are hoarding prefetch buffers while others idle. Closing zombie connections (client process dead, socket still open) requeues their unacked messages, which converts pinned memory into pageable memory. Tradeoff: requeued messages go back to the queue head and may be redelivered to the same broken code path, so fix the consumer logic first or lower prefetch.

Ready-message backlog. Add or restore consumers if processing capacity is the gap. If no consumer exists and the data is expendable, purging non-critical queues is legitimate emergency relief. Warning: purging is destructive and irreversible. Confirm the queue’s contents are safe to lose first.

Object proliferation. Identify the source of connection or channel growth (leaks, channel-per-message anti-patterns, reconnect storms) and fix the client. See the related guides on connection storms and channel churn for the diagnostic path.

Binary retention. Use force_gc as described above, then watch whether the binary category regrows without matching traffic. If it does, a process is genuinely holding references, usually a plugin or a long-lived consumer, and the breakdown points at which.

Watermark misconfiguration. If the alarm fires under normal peak load, raise vm_memory_high_watermark or set an absolute limit so the broker can use the RAM the machine actually has. If the node routinely runs far below the watermark while other resources starve, lowering it is rarely the right move; fix the driver instead. Leave headroom for the OS and for the allocators’ tendency to retain memory above mem_used.

Container misdetection. Make RabbitMQ’s view of total RAM match the container limit, then restart so mem_limit is recomputed. Until you do, the watermark protects against a ceiling that does not exist while the real ceiling (the cgroup limit, enforced by the OOM killer) goes unmonitored.

Prevention

  • Alert at ratio > 0.7 sustained, not at the alarm. The alarm is the outage; the ratio is the warning. Add a low-severity alert on any consistent upward trend over hours, even below 0.7.
  • Monitor messages_unacknowledged separately from messages_ready. Total queue depth hides the unacked component, which is the one that cannot be paged and most often precedes the alarm.
  • Track messages_paged_out and data-partition I/O. Stable memory with growing queue depth and rising page-outs means performance is degrading while every alarm stays silent.
  • Set prefetch deliberately. Worst-case unacked memory is prefetch x consumer count x average message size. Size prefetch so a full buffer across all consumers cannot, by itself, push the node past the paging threshold.
  • Suppress ratio alerts during warm-up. After a restart, memory spikes while queues repopulate and consumers reconnect. Gate the alert on uptime (for example, ignore the first 5 to 30 minutes) to avoid paging someone for normal cold-start behavior.
  • Verify memory detection in containers. Confirm mem_limit reflects the container’s limit, not the host’s RAM, on every node after provisioning changes.
  • Correlate depth with age. Depth alone does not tell you urgency. A queue with 1,000 messages that are seconds old is healthy; 1,000 that are hours old is a stalled consumer. Pair depth with head_message_timestamp where publishers set it.

How Netdata helps

  • Netdata charts mem_used against mem_limit per node, so the ratio trend and its slope are visible at a glance rather than computed by hand during an incident.
  • Alerting on the ratio crossing 0.7, with a sustained-duration condition, fires before mem_alarm and gives you the runway window this article is about.
  • Queue totals (ready and unacknowledged) on the same dashboard as memory let you see which component is driving the climb without switching tools.
  • Per-queue metrics, including messages_paged_out, surface the paging stage where memory pressure starts costing disk I/O and throughput before any alarm fires.
  • Correlating memory with object totals (connections, channels) and churn rates distinguishes backlog-driven growth from object proliferation, which have different fixes.
  • OS-level RSS and disk I/O from the same host close the gap between RabbitMQ’s self-reported mem_used and what the kernel (and the OOM killer) actually sees.