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-server-lifetime-recycling ▌

Operations Guides

PgBouncer server_lifetime recycling waves: synchronized reconnects and capacity dips

Your dashboards show a repeating pattern: every hour (or whatever server_lifetime is set to), sv_login spikes, sv_idle drops, and there is a brief bump in cl_waiting or avg_wait_time. It lasts seconds to a couple of minutes, then everything is green again. Application latency ticks up at the same moment. It looks like a flaky backend, but PostgreSQL is fine and the timing is suspiciously regular.

This is the server_lifetime recycling wave. PgBouncer closes each server connection once it has been connected longer than server_lifetime (default 3600 seconds) and opens a replacement. If a large share of your server connections were created at roughly the same moment, which is exactly what happens after a PgBouncer restart, a PostgreSQL failover, or a cold start under load, they all hit the lifetime limit together and reconnect in lockstep. The pool briefly runs short on backend connections while the replacements authenticate.

The wave is self-inflicted, predictable, and fixable. It is also easy to misread as an incident, and easy to make worse with a well-intentioned server_idle_timeout setting.

What this means

server_lifetime exists to bound how long PgBouncer holds a backend connection. Recycling is useful: it prevents indefinite connection age, picks up DNS changes, and redistributes connections across backends. The problem is not the recycling itself but the synchronization.

The trigger is almost always one of these:

  • PgBouncer restart. All server connections are re-established in a tight window as traffic arrives. One server_lifetime later, they all expire together.
  • PostgreSQL restart or failover. Every existing server connection dies at once and is recreated at once.
  • Cold start under burst load. A traffic spike creates a large batch of new server connections within seconds of each other.

The dip is usually brief: the pool loses some fraction of its server connections for the time it takes to reconnect and authenticate, then recovers. But if authentication is slow (SCRAM with many simultaneous logins, TLS handshakes, a loaded backend), the reconnect burst itself becomes the bottleneck and the dip deepens into real queuing.

One mitigating behavior worth knowing: lifetime disconnects are spaced by roughly server_lifetime / pool_size seconds per pool, precisely to avoid reconnect floods. This spreads a full pool’s recycling across one lifetime period rather than firing all closes in the same instant. It softens the wave but does not eliminate it: with connections created in a tight cluster, you still see a rolling window of reconnects, an sv_login blip, and a sag in available connections. A side effect of the spacing logic is that in the worst case a connection can live close to 2x server_lifetime before being closed.

flowchart TD
    A[Restart, failover, or cold-start burst] --> B[Many server connections created in a tight window]
    B --> C[Connections age together]
    C --> D[All hit server_lifetime in the same window]
    D --> E[Synchronized close and reconnect]
    E --> F[sv_login spike, sv_idle dip]
    F --> G[Brief capacity dip: cl_waiting and avg_wait_time bump]
    G --> H[Pool recovers... and the cohort repeats every server_lifetime]
    H --> C

Recycling wave vs real incident

Before tuning anything, confirm you are looking at recycling and not at a backend problem that happens to be periodic. The distinguishing tests are periodicity and the direction of the server connection counts.

PatternRecycling waveBackend connection failurePool exhaustion
PeriodicityRepeats every ~server_lifetime, phase-locked to last restartAperiodicFollows traffic, not the clock
sv_loginBrief spike, then back to zeroElevated and staying up, connections failing to establishLow; connections exist, all busy
Total server connectionsDips briefly, recovers fullyDeclining over time, not replacedStable at pool_size, all sv_active
sv_active during eventDrops as connections closeDrops as connections diePinned at pool_size
cl_waitingBrief bump at mostGrows as pool drainsGrows with maxwait climbing
avg_query_timeUnchangedUnchanged until pool is emptyOften elevated if backend is the cause

The strongest tell: measure the interval between dips. If it matches server_lifetime and the first dip happened roughly one lifetime after the last PgBouncer or PostgreSQL restart, you have a recycling wave.

Quick checks

All read-only, run against the admin console.

# Confirm the configured lifetime and idle timeout
psql -h 127.0.0.1 -p 6432 -U pgbouncer pgbouncer -Atc "SHOW CONFIG;" | grep -E "server_lifetime|server_idle_timeout|min_pool_size|default_pool_size|reserve_pool"
# Watch pool states during a suspected wave: sv_login blip, sv_idle dip
psql -h 127.0.0.1 -p 6432 -U pgbouncer pgbouncer -Atc "SHOW POOLS;"
# Inspect connection ages: a synchronized cohort shows many connections
# with nearly identical connect_time
psql -h 127.0.0.1 -p 6432 -U pgbouncer pgbouncer -c "SHOW SERVERS;"
# Rule out maintenance state before treating any dip as an incident
psql -h 127.0.0.1 -p 6432 -U pgbouncer pgbouncer -Atc "SHOW DATABASES;"
# Check queuing pain during the dip
psql -h 127.0.0.1 -p 6432 -U pgbouncer pgbouncer -Atc "SHOW STATS_AVERAGES;"

Two things to look for in SHOW SERVERS: the state column (a wave shows a cluster of connections in new while others are active or idle) and connect_time. If a large fraction of your server connections share nearly the same connect_time, they were born together and will die together. That is the cohort.

How to diagnose it

  1. Get the configured values. From SHOW CONFIG, note server_lifetime, server_idle_timeout, default_pool_size, and any per-database pool_size overrides. Also check min_pool_size.

  2. Confirm periodicity. Compare the observed dip interval against server_lifetime. Check whether the phase aligns with the last PgBouncer restart, PostgreSQL restart, or failover. The first wave arrives roughly one lifetime after the mass creation event.

  3. Check the cohort. In SHOW SERVERS, eyeball connect_time. A tight cluster of identical ages confirms synchronized creation. After a wave passes, look again: the ages will have reset together, which is how the wave perpetuates itself.

  4. Measure the actual impact. During a dip, sample SHOW POOLS a few times: how far does sv_idle fall, does cl_waiting go above zero, what does maxwait reach? Check avg_wait_time in SHOW STATS_AVERAGES. If the dip costs a few seconds of slightly reduced headroom and zero waiters, it is cosmetic. If maxwait climbs into seconds, the wave is hurting users and worth fixing properly.

  5. Check the reconnect cost. If sv_login stays elevated for more than a few seconds during the wave, reconnection itself is slow: TLS handshakes, SCRAM computation under many simultaneous logins, or an overloaded backend. A slow reconnect path turns a cosmetic blip into a real capacity dip, and it gets worse as the cohort grows.

  6. Audit server_idle_timeout. If it is set aggressively low, you may have the opposite pathology layered on top: idle connections destroyed during quiet periods, then recreated on demand when traffic returns, adding connection establishment latency to the first queries of every burst. Check whether sv_idle collapses during troughs and rebuilds during peaks.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
sv_login (SHOW POOLS)Counts connections currently authenticating to PostgreSQL; the wave’s fingerprintPeriodic spikes on a fixed interval; or sustained elevation, which means reconnects are slow or failing
sv_idle (SHOW POOLS)Ready capacity; dips as the cohort closesPeriodic sag toward zero; also collapse during traffic troughs if server_idle_timeout is too aggressive
cl_waiting (SHOW POOLS)Whether the dip actually starves clientsAny sustained nonzero value during the wave window
maxwait (SHOW POOLS)Age of the oldest waiter; the user-facing cost of the dipAbove a few seconds during recycling events
avg_wait_time (SHOW STATS_AVERAGES)Pooling-induced latency averaged over the stats periodPeriodic bumps aligned with the lifetime interval
connect_time distribution (SHOW SERVERS)Reveals the synchronized cohort directlyMany connections with nearly identical ages
avg_query_time (SHOW STATS_AVERAGES)Rules out backend degradation as the cause of the dipElevated values mean the problem is PostgreSQL, not recycling

Fixes

Stagger the lifetimes

The goal is to decorrelate connection ages so recycling arrives as a trickle instead of a wave.

  • Use a non-round lifetime value. The classic operator practice is a prime number (for example, 3599 instead of 3600). The point is not primality itself but avoiding a value that aligns with other periodic events in your system: cron jobs on the hour, connection pool max-lifetime settings in your application, monitoring scrape intervals. Two synchronized clocks beat as one; a value that shares no common period with your other timers keeps the wave from re-synchronizing with traffic patterns.
  • Stagger per database. Since PgBouncer 1.23.0, server_lifetime can be set per database in the [databases] section. Giving each pool a different lifetime (for example 3300, 3600, 3900) means no single moment recycles more than one pool’s cohort.

No native randomization/jitter for server_lifetime exists in PgBouncer 1.25.2; the built-in spacing and per-database overrides are the available smoothing mechanisms.

Retune the lifetime itself

  • Shorter lifetime, smaller waves. A lower server_lifetime recycles more often but in smaller, more frequent events that the built-in spacing smooths out more effectively. It also redistributes connections across load-balanced backends faster. The cost is more connection churn against PostgreSQL.
  • Longer lifetime, rarer but bigger waves. Raising it reduces churn frequency but each wave touches the same cohort when it fires. This trades frequency for amplitude; it does not fix synchronization.
  • Do not set it to zero expecting “never recycle.” server_lifetime = 0 means the connection is closed after first use, which is maximum churn, not minimum.

Fix the idle-timeout churn

If server_idle_timeout (default 600 seconds) is set very low, the pool sheds idle connections during quiet periods and pays reconnection latency when traffic returns. Set it high enough that your normal traffic troughs do not drain the pool, or set min_pool_size so a warm floor of connections is always maintained. Note that server_idle_timeout does not close connections when the pool is at or below min_pool_size, so the two settings work together; that floor has existed since PgBouncer 1.6.0.

Reduce the cost of each reconnect

If the wave hurts because reconnection is slow, attack the reconnect path: check TLS handshake overhead, whether the backend is loaded during the wave window, and whether authentication is the bottleneck. A wave that closes 20 connections and reopens them in 200 ms is invisible; the same wave with a 3-second auth path is an outage.

Break the cohort at the source

After any event that mass-creates connections (restart, failover), the cohort persists until you break it. A RELOAD does not recreate server connections, so it will not help or hurt here. Where operationally acceptable, rolling restarts of multi-process PgBouncer deployments (one process at a time, spaced apart) naturally stagger connection ages across processes. Otherwise, accept the first wave after a restart as expected behavior, verify it is benign, and let per-database staggered lifetimes decorrelate subsequent ones.

Prevention

  • Treat post-restart waves as expected, then eliminate them. The first server_lifetime period after any restart will produce a synchronized recycle. Verify it stays cosmetic, then apply the staggering fixes so later periods are smooth.
  • Set server_lifetime to a non-round value by default in your configuration management, and use different values per database on 1.23.0 or later.
  • Keep server_idle_timeout conservative and pair it with min_pool_size so quiet periods do not drain the pool.
  • Alert on impact, not on the wave. Alerting on sv_login > 0 will page you every lifetime period. Alert on maxwait and sustained cl_waiting (with paused/disabled state checked), which only fire when recycling actually starves clients.
  • Watch the cohort after restarts. A quick SHOW SERVERS review of connect_time clustering after any restart or failover tells you whether a wave is scheduled in your future.

How Netdata helps

  • Periodicity made visible. Netdata charts sv_login, sv_idle, and per-pool connection states at per-second resolution, so a repeating hourly blip stands out immediately against aperiodic backend failures.
  • Cohort impact correlation. Overlaying sv_login with cl_waiting and maxwait on one dashboard answers the only question that matters: did the recycling wave actually starve clients, and by how much.
  • Wait vs query time separation. Netdata tracks avg_wait_time and avg_query_time independently, so you can confirm the dip is pooling friction (wait time bump, flat query time) rather than PostgreSQL slowing down.
  • Restart correlation. Because Netdata also monitors process uptime and system events on the same host, aligning the wave phase with the last PgBouncer restart is a two-chart comparison.
  • Alert hygiene. Alert on sustained maxwait and queue depth rather than transient sv_login activity, which keeps the benign recycling wave from paging you while still catching waves that turn into real capacity dips.