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-vm-memory-high-watermark

Operations Guides

RabbitMQ vm_memory_high_watermark: setting the memory alarm threshold correctly

Your publishers are blocked cluster-wide because one node crossed its memory watermark. Or the alarm is firing and clearing every few seconds, and every flap sends a wave of connection.blocked / connection.unblocked notifications through your clients. Both investigations land on the same setting: vm_memory_high_watermark.

This threshold is easy to get wrong in both directions. Set it too low and normal peak traffic trips a cluster-wide publishing halt. Set it too high (or inherit the new 0.6 default on a small node) and the OS OOM killer gets to the broker before the alarm ever fires, which is how you end up with Mnesia corruption instead of a clean circuit breaker.

Three things make this setting more subtle than it looks: the default changed from 0.4 in RabbitMQ 3.x to 0.6 in 4.x, the value is computed from detected RAM (which is not always your container limit), and the alarm has no hysteresis, so it flaps when usage hovers near the line. This guide walks through checking the effective value, choosing relative vs absolute, and leaving the right headroom.

What this means

vm_memory_high_watermark defines when the memory resource alarm fires. It can be a relative fraction of total detected RAM (0.6 = 60%) or an absolute value with units. When the node’s memory usage (mem_used) crosses the resulting limit (mem_limit), the node raises the memory alarm, and that alarm propagates to every node in the cluster: all publishers everywhere are blocked. Consumers keep working and can drain queues. This is the emergency circuit breaker described in RabbitMQ memory resource limit alarm; this article is about positioning the breaker itself.

Two properties of the mechanism drive most of the operational confusion:

  • No hysteresis. The alarm clears at exactly the same value where it triggered. If usage oscillates around the watermark, the alarm flaps, and each transition churns publisher connections. There is no built-in dampening in current versions.
  • The alarm is not a cap. The watermark only blocks publishers. It does not stop memory growth: unacked messages, connection churn, and GC transients can push the node past the watermark and into OOM territory even while the alarm is active.

One API detail that trips people up: mem_limit in the Management API already incorporates the watermark. Do not multiply it by the fraction again. To recover the RAM RabbitMQ detected, divide mem_limit by your configured fraction.

flowchart TD
  A[mem_used rises] --> B[paging zone
classic queues page to disk
disk I/O rises] B --> C[watermark reached
mem_used = mem_limit] C --> D[mem_alarm = true
all publishers blocked cluster-wide] D --> E{consumers drain?} E -->|yes| F[mem_used drops below watermark
alarm clears immediately] F -.->|no hysteresis: usage hovers| C E -->|no| G[memory keeps growing
OOM risk: alarm does not cap usage]

On 3.x with classic queues v1, paging to disk starts at vm_memory_high_watermark_paging_ratio (default 0.5 of the watermark), which is your earliest warning. In 4.x that knob went away with CQv1, but the pattern holds: rising disk I/O and messages_paged_out precede the alarm. For the broader resource model, see How RabbitMQ actually works in production.

Common causes

CauseWhat it looks likeFirst thing to check
Default changed after upgradeAfter moving to 4.x, the alarm fires later than it used to (0.6 vs 0.4), or small nodes now OOM before alarmingRabbitMQ version; compare mem_limit to pre-upgrade value
Container sees host RAM, not the cgroup limitmem_limit is enormous relative to the pod (e.g. 60% of a 256 GB host on a 4 GB container); OOM kill with no alarm ever firingmem_limit from the API vs the container memory limit
Watermark too low for the workloadAlarm fires during normal peak traffic; flapping near the linemem_used / mem_limit trend during daily peaks
Watermark too high for the node sizeOOM kill before the alarm on nodes with roughly 4 GB RAM or lessdmesg for OOM kills; node RAM size
Absolute value left behind after a resizeInstance or container was resized but an absolute watermark still reflects the old sizerabbitmq.conf for an absolute setting
Memory calculation strategy mismatchOS RSS is far higher than mem_used; the alarm fires “late” relative to what the OS seesvm_memory_calculation_strategy in config

Quick checks

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

# Check effective limit, current usage, and alarm state
curl -s -u guest:guest http://localhost:15672/api/nodes | jq '.[] | {name, mem_used, mem_limit, mem_alarm, ratio: (.mem_used / .mem_limit)}'
# List currently active alarms on the node
rabbitmqctl eval 'rabbit_alarm:get_alarms().'
# See what is actually holding memory (binary heap, queue procs, connections, mnesia)
rabbitmq-diagnostics memory_breakdown
# Identify the heaviest queues
curl -s -u guest:guest 'http://localhost:15672/api/queues?sort=memory&sort_reverse=true' | jq '.[] | {name, vhost, memory, messages_ready, messages_unacknowledged}'
# Compare RabbitMQ's view with the container limit
# cgroup v2:
cat /sys/fs/cgroup/memory.max
# cgroup v1:
cat /sys/fs/cgroup/memory/memory.limit_in_bytes
# Check whether the OOM killer has already visited the beam process
dmesg | grep -i "out of memory\|killed process"

How to diagnose it

  1. Establish the effective threshold. Read mem_limit from GET /api/nodes. This is the real line the alarm fires at, regardless of what you think the config says. Divide it by your configured fraction to get the RAM RabbitMQ detected (e.g. mem_limit of 4.8 GiB at 0.6 means it detected 8 GiB).
  2. Check detection against reality. Compare detected RAM to the node or container limit. If RabbitMQ running in a container detected host RAM, the relative watermark is meaningless: the kernel will OOM-kill the broker long before usage reaches the computed limit. Older releases did not reliably detect cgroup limits; verify after any runtime or version change rather than assuming.
  3. Look at the shape of the trend. A slow, days-long climb in mem_used / mem_limit is workload growth or a leak. A vertical spike is a flood or consumer outage. A sawtooth right at the watermark is flapping, and the fix is headroom, not the alarm.
  4. Attribute the memory. Use rabbitmq-diagnostics memory_breakdown and the heaviest-queues query above. Rising messages_unacknowledged is the dangerous case: unacked messages are pinned in RAM and cannot be paged out, so they push you through the watermark fast.
  5. Decide which problem you have. If memory is consumed by legitimate backlog and stuck consumers, the watermark is doing its job and the fix is on the workload side: see RabbitMQ memory resource limit alarm. If the workload is healthy and the line itself is wrong for this node, fix the threshold as below.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
mem_used / mem_limit ratioDirect predictor of the alarm; the only trend that tells you how much runway is leftSustained above 0.7; peaks regularly above 0.6
mem_alarm state transitionsThe cliff edge itself; transitions, not just the current state, reveal flappingMore than a couple of transitions per hour
messages_paged_outPaging is the leading indicator before the alarm on classic queuesSustained page-out during active traffic
mem_limit vs container limitConfirms the watermark is computed from the right RAM figuremem_limit larger than the cgroup limit allows
messages_unacknowledgedUnacked messages hold RAM and cannot be paged; the fastest path through the watermarkGrowth without matching ack rate
Node uptimeMemory spikes during restart warm-up are normal; alerts should not fire thereUptime under ~10 minutes during any memory alert

Fixes

Set the watermark explicitly, relative

Do not inherit the default silently. Pin it in rabbitmq.conf:

# rabbitmq.conf
vm_memory_high_watermark.relative = 0.6

The documented production range is 0.4 to 0.7. The tradeoffs:

  • Lower end (0.4-0.5): safer on small nodes and shared hosts; you give up usable RAM. The old 3.x default of 0.4 was considered overly conservative on modern Erlang/OTP, which is why 4.x moved to 0.6.
  • Upper end (0.6-0.7): more headroom for message backlog, but less room for the Erlang VM’s transients. Erlang GC can transiently use up to roughly double the reported memory during collection, and RSS normally exceeds mem_used because the VM allocator retains freed memory. Above 0.7 you need careful monitoring and at least 30% of RAM left for the OS.
  • Small nodes: on nodes with about 4 GB of RAM or less, the 0.6 default leaves thin absolute headroom, and an OOM kill risks Mnesia corruption and a cluster rebuild. Consider staying at 0.4-0.5 there.

Use an absolute value in containers

In containers, an absolute watermark removes the dependency on RAM detection:

# rabbitmq.conf - absolute limit sized to the container, not the host
vm_memory_high_watermark.absolute = 4GB

Set it below the container’s cgroup limit with room for non-VM overhead, and revisit it whenever the container size changes. Absolute values do not track resizes.

If you must keep a relative value but detection is wrong, total_memory_available_override_value pins the total RAM figure RabbitMQ uses for the calculation (an integer byte count or a value with units, e.g. 8GB).

Change it at runtime during an incident

# Emergency runtime change: takes effect immediately, does NOT survive restart
rabbitmqctl set_vm_memory_high_watermark 0.4
# or as an absolute value
rabbitmqctl set_vm_memory_high_watermark absolute "4GB"

Use this to buy time (for example, lowering the threshold on a node that keeps OOM-killing before alarming, or briefly raising it while consumers catch up). Two caveats: the change is lost on restart, so follow it with a config change; and the command re-queries total system RAM, so on systems with hot-swappable memory even re-applying the same fraction can move the absolute limit.

Fix the memory calculation strategy

# rabbitmq.conf
vm_memory_calculation_strategy = rss

rss (resident set size) is the default on Linux and the most accurate reflection of what the OS will act on. The legacy erlang strategy underreports and is deprecated; if you inherited it, your alarm fires later than the OS view of memory would suggest.

Move off cgroup v1 for memory-heavy nodes

On cgroup v1 kernels, the page cache can be counted toward the container’s memory usage, producing false memory pressure and OOM kills, particularly with streams. Current guidance is to run on cgroup v2 (generally available in Kubernetes since 1.25, or a distribution that defaults to it). If you are stuck on cgroup v1, prefer the rss strategy and validate against the cgroup limit directly.

Prevention

  • Explicit configuration. Set the watermark in rabbitmq.conf on every node rather than relying on the default. The default changed between 3.x and 4.x, so upgrades silently move your alarm line.
  • Absolute limits in containers. Use an absolute watermark or an override so the threshold tracks the container limit, not whatever RAM the host happens to have. Detection behavior is exactly the kind of thing that changes across runtime upgrades.
  • Headroom budget. Keep peak mem_used / mem_limit below 0.6 in normal operation. This leaves room for traffic spikes, GC transients, and the gap between RSS and mem_used before you reach the cliff.
  • Ratio alerting before alarm alerting. Alert on the ratio sustained above 0.7, and treat paging activity as an early warning. By the time the boolean alarm fires, publishers are already stopped.
  • Flap-aware alarm alerts. Page only when mem_alarm has been active for more than 60 seconds and the node has been up for more than 10 minutes. The no-hysteresis design guarantees flapping near the line, and restart warm-up spikes are normal.
  • Post-upgrade verification. After any RabbitMQ or Erlang/OTP upgrade, check mem_limit against expectations on every node. Defaults and detection behavior both change across versions.

How Netdata helps

Netdata’s RabbitMQ collector surfaces the signals this setting interacts with, per node and per second:

  • Memory used vs limit as a continuous ratio, so you see the approach to the watermark minutes before the alarm instead of after.
  • Alarm state over time, which makes flapping visible as repeated transitions rather than a single boolean.
  • Queue depth and unacked messages alongside memory, so you can tell whether the watermark is being approached by backlog, by stuck consumers, or by something else.
  • Paged-out message counts on classic queues, the leading indicator that the broker is already shedding memory pressure.
  • Node uptime on the same dashboards, which lets you discount warm-up spikes after restarts without disabling alerts.

Because the watermark incident is always a correlation problem (memory plus queues plus consumers plus alarm state), having all four on one timeline is what shortens the diagnosis.