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 / microsoft-sql-server / microsoft-sql-server-max-server-memory-configuration

Operations Guides

SQL Server max server memory: setting it so the OS and buffer pool both survive

SQL Server is built to consume memory until something stops it. On a dedicated box with no cap, the engine will eat nearly all physical RAM for the buffer pool and keep going until the OS pushes back. That is not a leak; it is the design. max server memory is the one knob that turns that behavior into something safe to run next to other processes.

The default is 2147483647 MB, effectively unlimited. Many production instances run with that default because setup never forced a choice. On Windows, SQL Server 2019 and later setup offers a recommended value based on available system memory if you pick the recommended configuration path. On every other path, including in-place upgrades, the old default survives.

For the broader memory pressure mental model and failure catalogue, see how Microsoft SQL Server works in production.

What the cap controls

max server memory (MB) is a server-level configuration option (sp_configure) that sets an upper bound on most allocations SQL Server makes through its own memory manager. Since SQL Server 2012 consolidated single-page, multi-page, and CLR allocations into one page allocator, the cap governs:

  • The buffer pool (the 8 KB data page cache, by far the largest consumer)
  • The plan cache (compiled plan storage for ad-hoc and procedural workloads)
  • Query execution memory grants (sort and hash workspace)
  • Compile memory
  • The lock manager
  • CLR memory

It does not govern everything. Outside the cap but inside sqlservr.exe, you will find thread stacks, extended stored procedure DLLs, OLE DB providers used by linked servers, automation objects, and any allocation by non-SQL Server DLLs the engine has loaded. On x64 the per-thread stack is 2,048 KB, so on a host with thousands of max worker threads the stack footprint alone can be hundreds of MB. None of that counts against the cap.

The practical consequence: max server memory is not the same number as process size in Task Manager. It is a budget for the engine’s own allocations. A SQL Server process at 90 percent of physical RAM is normal if the cap was set correctly. It is a problem if the cap was never set.

How the cap is enforced

The engine treats max server memory as a soft ceiling for the clerks listed above. When the budget is reached, the memory broker asks consumers to shrink. The buffer pool is the largest and most elastic consumer, so most trimming happens there: the lazy writer evicts data pages until total committed memory drops below the cap. The plan cache is the next most elastic target and gets pruned under sustained pressure.

The cap is enforced cooperatively, not by the OS. That is why LPIM (Lock Pages in Memory) and the cap must be configured together. Grant LPIM to the service account but leave max server memory at the default, and SQL Server can lock enough physical pages to starve the OS. The OS cannot page the working set out to recover because the pages are locked. Microsoft explicitly recommends setting max server memory to a specific value whenever LPIM is enabled.

Conversely, set the cap but leave LPIM off, and the OS is free to page SQL Server’s working set out under its own memory pressure. The engine does not see this through its normal counters. The only signal is error 17890 in the SQL Server error log: “A significant part of sql server process memory has been paged out.” By the time you see it, throughput has already collapsed, and buffer pool hit ratio and PLE will not explain why.

flowchart TD
    RAM["Total physical RAM"] --> OS["OS + non-SQL processes (keep headroom)"]
    RAM --> SQL["SQL Server process"]
    SQL --> CAP["max server memory (configurable cap)"]
    SQL --> EXT["Outside cap: thread stacks, extended proc DLLs, OLE DB providers"]
    CAP --> BP["Buffer pool: target 70-85% of cap"]
    CAP --> PC["Plan cache: warn if above 10-15% of cap"]
    CAP --> MG["Memory grants, lock manager, CLR, compile memory"]

Where it shows up in production

Two failure modes dominate. Both come from the same setting going wrong in opposite directions.

Cap too high: OS starvation

When max server memory is set close to physical RAM, or left at the default on a host with other workloads, the OS eventually runs out of pages for its own file cache, process working sets, and kernel allocations. Symptoms:

  • Available physical memory drops below a few hundred MB.
  • sys.dm_os_sys_memory.system_memory_state_desc flips to Available physical memory is low.
  • sys.dm_os_process_memory.process_physical_memory_low goes to 1, telling the engine to shrink.
  • If LPIM is on, the engine cannot give pages back fast enough and the host becomes unresponsive.
  • If LPIM is off, the OS pages the SQL Server working set out and you see error 17890.

On Linux the failure is sharper. SQL Server on Linux uses a separate memory.memorylimitmb setting via mssql-conf, which defaults to roughly 80 percent of physical RAM and is enforced as a hard cgroup ceiling. Leave the default and let the host run dry, and the kernel OOM killer selects a process to terminate. SQL Server is usually the largest process, so it is usually the target. On older builds of SQL Server 2017 in Docker, a known issue caused the engine to compute 80 percent of host memory instead of 80 percent of the container limit, so the container could be OOM-killed even with a small limit. KB4347055 documents the fix, which shipped in SQL Server 2017 CU10; afterwards SQL Server limits itself to 80 percent of the container’s allocated memory.

Cap too low: needless physical I/O

Set the cap too conservatively and the buffer pool never grows into the working set. Pages that would have been cached get evicted and re-read from disk. Symptoms:

  • Page Life Expectancy is lower than the buffer-pool-size heuristic suggests.
  • Buffer cache hit ratio drops below 99 percent on an OLTP workload that used to be above it.
  • PAGEIOLATCH_* waits show up as a meaningful fraction of total wait time.
  • Physical read IOPS on data files rises above baseline at the same batch request rate.

The degradation is gradual until the I/O subsystem saturates, at which point it becomes a memory pressure spiral.

Columnstore and in-memory OLTP over-commit

Even with a correct cap, large columnstore queries, batch mode operations, and index rebuilds can push total engine memory above max server memory temporarily. In-Memory OLTP tables have their own memory clerks and can consume memory outside the buffer pool portion of the cap. SQL Server 2022 enabled over-commitment cleanup by default, so the engine trims these clerks without intervention. Microsoft documents trace flag 8121 in SQL Server 2019 as speeding up this cleanup, and notes the flag has no effect on SQL Server 2022 and later.

Setting it: the headroom calculation

Microsoft’s current guidance is to set max server memory to 75 percent of available system memory not consumed by other processes. SQL Server 2022 setup applies that recommendation if you accept the recommended configuration. For a dedicated single-instance host with no other major workload, 75 percent of total physical RAM is a safe starting point.

The 75 percent rule does not scale linearly. On a 1 TB host, 250 GB for the OS is excessive. On a 16 GB host, 4 GB is tight if you also run an AG secondary, an SSIS package, or an agent job. A common community refinement for larger hosts: leave roughly 10 percent of physical RAM or 4 GB, whichever is greater, then subtract any memory reserved for other instances or major co-located processes.

Multi-instance hosts need the most care. Each instance has its own max server memory. Two instances each set to 75 percent of physical RAM leaves the OS nothing. Size each instance’s cap as a fraction of the host, sum the caps, leave OS headroom, and account for thread stacks and DLLs per instance.

Checklist for picking a value

  • Start from physical RAM, not the current process size. Process size is a consequence of the current cap, not an input.
  • Subtract co-located workloads first. Other SQL instances, SSAS, SSIS, antivirus, backup agents, monitoring agents.
  • Leave OS headroom. 25 percent on small hosts, tapering toward 10 percent or 4 GB minimum on large hosts.
  • Account for thread stacks and linked server DLLs. These live outside the cap but inside the process.
  • Re-evaluate after edition or version changes. Standard edition has a buffer pool size limit. It was 128 GB through SQL Server 2022 and was raised to 256 GB in SQL Server 2025, per Microsoft’s compute capacity limits. Setting max server memory above the edition limit does not help the buffer pool.
  • Pair every LPIM grant with a concrete cap. Never grant LPIM without also setting max server memory to a specific value.

Linux specifics

On Linux, memory.memorylimitmb and max server memory both apply. The mssql-conf setting is the hard cgroup ceiling for the process. The sp_configure setting is the engine’s internal budget and should be at or below memory.memorylimitmb so the engine self-limits before the cgroup does. If the engine self-limits first, you get graceful shrinkage. If the cgroup ceiling is hit first under burst, you risk OOM-kill. The default 80 percent for memory.memorylimitmb is reasonable for a dedicated single-instance host but should be lowered if other processes share the host or if you want explicit headroom for kernel page cache.

Verifying the setting

Confirm the engine actually lives within the cap and the internal allocation mix is healthy.

-- OS-level memory state and available headroom:
SELECT
    total_physical_memory_kb / 1024 AS total_physical_mb,
    available_physical_memory_kb / 1024 AS available_physical_mb,
    system_memory_state_desc
FROM sys.dm_os_sys_memory;

-- SQL Server process footprint and pressure flags:
SELECT
    physical_memory_in_use_kb / 1024 AS sql_physical_mb,
    locked_page_allocations_kb / 1024 AS locked_pages_mb,
    process_physical_memory_low,
    process_virtual_memory_low
FROM sys.dm_os_process_memory;

-- Current configured cap:
SELECT value_in_use AS max_server_memory_mb
FROM sys.configurations
WHERE name = 'max server memory (MB)';

The internal breakdown tells you whether the buffer pool is getting its share:

-- Top memory clerks by size:
SELECT
    type, name,
    pages_kb / 1024 AS size_mb
FROM sys.dm_os_memory_clerks
WHERE pages_kb > 0
ORDER BY pages_kb DESC;

Healthy patterns on a dedicated OLTP host:

  • MEMORYCLERK_SQLBUFFERPOOL is the dominant clerk, sitting at 70 to 85 percent of the configured cap.
  • CACHESTORE_SQLCP (ad-hoc and prepared SQL plan cache) is well under 10 to 15 percent of the cap. Above that range, suspect plan cache pollution from non-parameterized ad-hoc queries, not a memory cap problem.
  • system_memory_state_desc reads Available physical memory is high or Physical memory usage is steady under normal load.
  • process_physical_memory_low stays at 0. A value of 1 means the OS has signalled pressure and the engine is shrinking.
  • available_physical_memory_mb stays above a few hundred MB on a dedicated host.

On Linux, also check that the engine’s cap is below the cgroup ceiling:

# Show the configured process ceiling:
sudo /opt/mssql/bin/mssql-conf get memory.memorylimitmb

LPIM status matters for interpreting the numbers. On SQL Server 2019 and later, LPIM is granted via Windows Local Security Policy or Group Policy, not through setup. Confirm the memory model in effect:

SELECT sql_memory_model_desc
FROM sys.dm_os_sys_info;

LOCK_PAGES means LPIM is active and the working set cannot be paged. CONVENTIONAL means it is not, and error 17890 is a real risk under OS pressure.

Signals to watch in production

SignalWhy it mattersWarning sign
available_physical_memory_mb from sys.dm_os_sys_memoryDirect measure of OS headroom the cap left behindSustained below a few hundred MB on a dedicated host
system_memory_state_descEngine’s view of OS memory healthAnything other than Available physical memory is high under normal load
process_physical_memory_lowOS has told SQL Server to shrinkValue of 1 sustained
Buffer pool clerk as a fraction of capConfirms the buffer pool got the memory, not the plan cacheBelow 70 percent of cap after warmup
Plan cache clerk as a fraction of capDetects pollution masquerading as memory pressureAbove 10 to 15 percent of cap
Page Life Expectancy per NUMA nodeEarly indicator the buffer pool is undersized or unbalancedSudden 50 percent drop from baseline, or one NUMA node far below the others
Buffer cache hit ratioConfirms the working set fitsBelow 99 percent on OLTP after warmup
Error 17890 in the SQL Server error logWorking set was paged out because LPIM was not setAny occurrence
OOM-kill events in the Linux kernel logThe cgroup ceiling or host ran drymssql-server in the killed-process list

How Netdata helps

  • Correlate SQL Server memory clerks with host-level available_memory and process_physical_memory_low on the same timeline, so you can tell whether a PLE drop is caused by an undersized cap or OS page reclaim.
  • Surface per-NUMA-node PLE alongside the instance-wide value, exposing imbalances the aggregate buffer manager counter hides.
  • Track system_memory_state_desc and process_physical_memory_low as discrete states, making OS pressure episodes visible as events instead of buried in a line chart.
  • Watch memory grants pending next to buffer pool clerk size. A growing grant queue with a healthy buffer pool points to query workspace pressure, not a cap problem.
  • Alert on error 17890 and Linux OOM-kill events involving the SQL Server process.
  • Trend the plan cache clerk as a fraction of the cap over time, catching plan cache pollution before it is misdiagnosed as a memory shortage.

Microsoft SQL Server monitoring with Netdata brings these signals together with per-second metrics and ML anomaly detection.

The Netdata solution

Microsoft SQL Server monitoring with Netdata

Netdata monitors SQL Server with per-second metrics, pre-built dashboards, and ML-powered anomaly detection. Correlate wait statistics, blocking chains, transaction-log and TempDB pressure, Page Life Expectancy, memory grants, per-file I/O stalls, and AlwaysOn send/redo queues against the rest of your stack so you catch the incidents in these runbooks before they page anyone.