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 / pgbouncer / pgbouncer-pool-utilization-high ▌

Operations Guides

PgBouncer pool utilization high: sv_active approaching pool_size before clients queue

Your alert fired on sv_active / pool_size > 85%, or you spotted the ratio creeping up on a dashboard. No clients are waiting yet. cl_waiting is zero. Latency looks normal. This is exactly the moment this signal exists for: it is the last cheap warning you get before the pool goes over the cliff.

PgBouncer pool saturation is not a gradual degradation. Below 100% utilization, client wait time is approximately zero because server connection assignment is instant. At 100%, the next client request has nowhere to go and enters a FIFO queue with unbounded wait. There is no “slow but working” middle state. The ratio of sv_active to pool_size tells you how close you are to that edge, and it moves before cl_waiting, maxwait, and avg_wait_time show anything.

This article covers what the ratio means, why it degrades as a cliff, which checks to run, and how to decide whether to act now or just watch.

What this means

PgBouncer maintains one server connection pool per (database, user) pair. sv_active counts server connections currently linked to a client, executing a query or holding a transaction. pool_size (from SHOW DATABASES) is the cap on server connections for that pool. When sv_active equals pool_size, the pool is full: the next client request that needs a server connection must wait.

The normal-state invariant for the pool (absent reserve-pool use and cancellation traffic) is:

sv_active + sv_idle + sv_used + sv_tested + sv_login <= pool_size

Cancellation traffic is a bounded exception: PgBouncer can temporarily exceed the normal pool cap (up to roughly twice pool_size) so cancel requests are not stuck behind a full pool.

sv_active is the consumed capacity. sv_idle is the ready reserve: connections connected to PostgreSQL and immediately usable. The other states are transient inventory (recently returned connections awaiting reuse, connections being tested, connections logging in). When sv_active rises, sv_idle shrinks. When sv_idle hits zero and sv_active hits pool_size, queuing begins.

The operating bands:

RatioStateAction
< 70%Healthy headroomNone. Baseline capacity planning only.
70-85%WatchTrend it. Identify what is consuming connections.
> 85% sustainedActDiagnose the cause before the pool fills.
100% with waitersIncidentSee PgBouncer pool exhaustion.
flowchart LR
  A[sv_active / pool_size rising] --> B{ratio?}
  B -->|under 70%| C[healthy headroom]
  B -->|70-85%| D[watch: find the consumer]
  B -->|over 85% sustained| E[act: diagnose cause]
  B -->|100% sustained| F[cl_waiting grows, maxwait climbs]
  F --> G[app timeouts, retry cascade]

Two properties of this signal matter more than the number itself.

Per-pool beats aggregate. Pools are per (database, user). One pool at 100% while five others idle produces a global average that looks fine. If you chart sum(sv_active) / sum(pool_size) across pools, a saturated pool is invisible. Always alert and chart per pool, not on the global aggregate.

The pool mode changes what the ratio means. In transaction pooling mode, server connections are acquired and released per transaction, so sv_active fluctuates rapidly. Brief spikes to 1.0 under burst traffic are normal; sustained 1.0 with cl_waiting > 0 is the incident. In session mode, sv_active reflects active sessions and moves slowly, so a rising ratio there is a capacity trend, not noise.

Common causes

CauseWhat it looks likeFirst thing to check
Slow backend queriessv_active rising, avg_query_time above baseline, connections held longer per querySHOW STATS_AVERAGES query_time vs baseline
Long or idle-in-transaction holdsavg_xact_time much larger than avg_query_time, sv_active high with modest query rateRatio of xact_time to query_time; PostgreSQL pg_stat_activity for idle in transaction
Traffic growthsv_active tracking query rate up over days or weeks, everything else normalSHOW STATS_AVERAGES query_count trend
Undersized pool_sizeRatio routinely above 85% at normal peak, occasional brief cl_waiting blipsPeak sv_active vs pool_size over a week
Connection leak (session mode)sv_active climbing without matching traffic, connections never releasedSHOW SERVERS connect_time and request_time on active connections
Cold start or recycling wavesv_login elevated, pool churning, ratio temporarily highSHOW POOLS sv_login; recent restart or server_lifetime boundary

The two you most need to separate are “the database got slower” and “the pool got too small.” They produce the same sv_active curve but opposite fixes. That is what avg_query_time and avg_wait_time are for; see the diagnosis steps.

Quick checks

All read-only, run against the admin console.

# Per-pool snapshot: sv_active, sv_idle, cl_waiting, maxwait
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW POOLS;"

# Configured pool_size and administrative state (paused / disabled) per database
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW DATABASES;"

# Backend latency and wait latency, per database
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW STATS_AVERAGES;"

# Per-connection detail: which server connections are old
psql -h /var/run/postgresql -p 6432 -U pgbouncer pgbouncer -Atc "SHOW SERVERS;"

Notes on reading these:

  • In SHOW POOLS unaligned output on PgBouncer 1.18 and later, cl_waiting is the 4th field, sv_active the 7th, sv_login the 13th, and maxwait the 14th. Older releases lack the cancel-related fields, which shifts these positions. Column positions in SHOW STATS are also version-dependent (1.23 added server_assignment_count, 1.24 added prepared statement counters). Prefer SHOW STATS_AVERAGES and reference columns by name, not position.
  • paused = 1 or disabled = 1 in SHOW DATABASES changes the meaning of everything else. During PAUSE, cl_waiting spikes and sv_active drains to zero by design. Check this first before escalating.
  • A single SHOW POOLS is a point-in-time snapshot. Sample it a few times over a minute before drawing conclusions about “sustained.”

How to diagnose it

  1. Identify the pool. From SHOW POOLS, find which (database, user) rows have sv_active near pool_size. If you only track the aggregate, stop and fix that first; per-pool is where this signal lives.

  2. Confirm it is sustained, not a burst. In transaction mode, brief 1.0 spikes are normal. Sample SHOW POOLS several times over 1-5 minutes. Sustained high ratio, or a ratio that has been trending up over days, is what warrants action.

  3. Split wait time from query time. From SHOW STATS_AVERAGES, compare query_time and wait_time for the affected database:

    • query_time elevated above baseline: the backend is slow. Connections are held longer, so the pool fills. The fix is on PostgreSQL, not PgBouncer.
    • query_time normal, ratio still high: the pool is undersized for current concurrency, or transactions are holding connections without querying.
  4. Check for idle-in-transaction holds. If xact_time is much larger than query_time, clients are holding server connections while doing non-database work. In transaction mode this is the most common silent cause of high sv_active. Cross-check on PostgreSQL:

    # Find idle-in-transaction backends holding pool connections
    psql -h <postgres-host> -U <user> -d <db> -c \
      "SELECT pid, state, now() - xact_start AS xact_age, query
       FROM pg_stat_activity
       WHERE state = 'idle in transaction'
       ORDER BY xact_age DESC;"
    
  5. Trace the hold to a client. In SHOW SERVERS, active connections have a link column pointing at the client using them, and request_time showing how long the current work has run. Follow the link into SHOW CLIENTS to get the source address of the application holding the connection.

  6. Check headroom explicitly. Look at sv_idle for the pool. sv_idle = 0 with cl_waiting = 0 is the “looks green, is actually yellow” state: no one is waiting, but the next request when all connections are active will queue. Zero idle at peak means you are one slow query from an incident.

  7. Check reserve pool usage if configured. If reserve_pool_size > 0, compare total server connections in the pool (sv_active + sv_idle + sv_used + sv_tested + sv_login) against pool_size. Totals above pool_size, or "taking connection from reserve_pool" in the log, mean the base pool is already overflowing. Reserve is for brief spikes; sustained use means pool_size is chronically undersized.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
sv_active / pool_size per poolLeading saturation indicator; moves before clients queue>85% sustained for >5 minutes
sv_idle per poolReady reserve; zero means no headroom0 sustained, or trending toward 0 over days
cl_waiting per poolClients blocked now; the trailing confirmation of saturationAny sustained nonzero with maxwait growing
maxwait per poolAge of the oldest waiter; user-facing pain>5s noticeable, >15s likely app failures
avg_wait_time (SHOW STATS) or wait_time (SHOW STATS_AVERAGES)Pooling-induced latencySustained above zero; >100ms is serious
avg_query_time (SHOW STATS) or query_time (SHOW STATS_AVERAGES)Backend speed as seen by PgBouncer>2x baseline: root cause is PostgreSQL
avg_xact_time vs avg_query_timeGap measures idle-in-transaction hold timexact_time much larger than query_time
Reserve pool usageOverflow engaged; base pool undersizedTotal server connections > pool_size, or reserve log lines
paused / disabled per databaseContext that inverts alert meaningSuppress other alerts when set

Fixes

Backend is slow (avg_query_time elevated)

The pool is a symptom, not the cause. Fix the query or the database: missing indexes, lock contention, I/O saturation. Canceling a single long-running query on PostgreSQL (pg_cancel_backend) can free a held pool connection, but coordinate with the application team first and treat it as a tactical move, not the fix. Do not grow pool_size to compensate for a slow database; that multiplies load against an already struggling backend and consumes more max_connections slots on PostgreSQL.

Idle-in-transaction holds

Fix the application pattern: do not hold BEGIN open across HTTP calls or computation. As a guardrail, PostgreSQL’s idle_in_transaction_session_timeout can auto-terminate these, which releases the PgBouncer server connection as a side effect, but clients receive an error, so roll it out deliberately.

Pool genuinely undersized

Raise pool_size for the affected database (per-database override or default_pool_size) and RELOAD. Check two budgets before you do:

  • The sum of all pools’ pool_size (plus reserve, if configured) across every PgBouncer instance targeting this PostgreSQL must fit inside max_connections with room for direct connections, replication, and admin access. Keep PgBouncer capacity under about 80% of max_connections.
  • File descriptors: each server connection is an FD. Confirm the process is nowhere near its limit (compare Max open files in /proc/<pid>/limits against ls /proc/<pid>/fd | wc -l).

Do not shrink the pool because sv_idle is high

Idle server connections in transaction mode are the ready reserve, not waste. Reducing pool_size because sv_idle “looks unused” removes burst capacity and moves the cliff closer. The correct response to high idle with low waiting is nothing, or slower capacity planning, not a smaller pool.

Prevention

  • Alert per pool on the ratio, with duration. sv_active / pool_size > 85% sustained for 5 minutes, per (database, user). Do not alert on the global aggregate, and do not alert on instantaneous spikes: transaction-mode bursts hit 1.0 legitimately.
  • Gate alerts on administrative state. Every PgBouncer saturation alert must check paused/disabled in SHOW DATABASES and suppress during maintenance. High cl_waiting during PAUSE is expected behavior.
  • Trend headroom, not just utilization. Chart sv_idle per pool over weeks. A linear trend toward zero gives you runway: (pool_size - current sv_active) / daily growth rate is roughly your days-to-queuing estimate.
  • Pair wait time and query time on every dashboard. They are the attribution pair. One tells you the pool is too small, the other tells you the database is too slow. Never look at either alone.
  • Audit applications for transaction-mode hazards. Idle-in-transaction patterns and long multi-statement transactions are application bugs that present as pool saturation. avg_xact_time / avg_query_time is the cheap detector.
  • Size against PostgreSQL first. Pool capacity planning is constrained by max_connections on the backend, not by how many connections PgBouncer can technically hold.

How Netdata helps

  • Per-pool sv_active vs pool_size as a ratio chart, so the 70/85/100% bands are visible per (database, user) rather than hidden in a global average.
  • cl_waiting and maxwait on the same timeline as the ratio, so you can see the leading indicator (ratio rising) and the trailing confirmation (waiters appearing) in one view and judge how much runway you have.
  • avg_wait_time next to avg_query_time, which is the attribution split: pooling-induced latency versus backend latency. This is the correlation that prevents the wrong fix.
  • sv_idle trending, turning “zero headroom at peak” from an incident discovery into a capacity ticket weeks earlier.
  • Anomaly detection on per-pool utilization, which catches the single-pool-at-100% case that aggregate dashboards and static thresholds on averages miss.
  • Paused/disabled state collected alongside saturation metrics, giving alerts the maintenance context they need to avoid paging during a planned PAUSE.