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 / proxysql / proxysql-transactions-pinning-connections ▌

Operations Guides

ProxySQL Active_Transactions pinning backend connections: multiplexing lost to open transactions

Active_Transactions is climbing in stats_mysql_global. ConnUsed is growing across backends. But the Questions rate hasn’t changed. You check for slow queries, backend errors, new traffic patterns. Nothing explains it.

An open transaction pins a backend connection for its entire duration. ProxySQL disables multiplexing on that session until the client issues COMMIT or ROLLBACK. If transactions are long-running, or if sessions hold transactions open and never commit, backend connections accumulate in ConnUsed with no corresponding query throughput increase. ConnFree trends toward zero. Eventually queries queue, ConnPool_get_conn_failure starts climbing, and new queries hit the max connect timeout.

The proxy isn’t erroring. Backends aren’t down. Queries aren’t slow. But the multiplexing ratio degrades toward 1:1, and the capacity model that assumed 10:1 multiplexing is fiction.

What this means

Active_Transactions is a gauge in stats_mysql_global that counts client connections currently inside an open transaction. Each of those connections has a backend connection pinned to it: removed from the pool, unavailable for reuse by other clients.

Under normal multiplexing, ProxySQL borrows a backend connection, routes the query, returns the result, and puts the connection back in the pool. N clients share M backend connections, where M is much less than N. A transaction breaks this. From the moment the transaction begins (explicitly via BEGIN or START TRANSACTION, or implicitly when autocommit is 0 and mysql-autocommit_false_is_transaction is true), the backend connection stays assigned to that client session until the transaction ends.

The signature pattern: Active_Transactions rises, and Client_Connections_hostgroup_locked rises with it. ConnUsed grows per backend while ConnFree shrinks. The Questions rate stays flat because the queries themselves are fine. The connection holding pattern is the problem.

flowchart TD
    A["Client session enters transaction\nBEGIN or SET autocommit=0"] --> B["Backend connection pinned\nto client session"]
    B --> C["Multiplexing disabled\nuntil COMMIT or ROLLBACK"]
    C --> D{"Transaction ends promptly?"}
    D -- Yes --> E["Connection returned to pool\nConnFree recovers"]
    D -- No: long or abandoned --> F["ConnUsed grows\nwithout query volume growth"]
    F --> G["ConnFree trends toward 0"]
    G --> H["Queries queue\nConnPool_get_conn_failure rises"]
    H --> I["Pool exhaustion or\nmax connect timeout"]

The cascade from a few stuck transactions to pool exhaustion is gradual. With 500 client connections and a healthy 10:1 multiplexing ratio, you need roughly 50 backend connections. If 200 of those clients are holding open transactions, you need 250 backend connections. That is a 5x increase with zero additional query throughput.

Common causes

CauseWhat it looks likeFirst thing to check
Long-running transactionsActive_Transactions sustained at high count; individual sessions in stats_mysql_processlist with high time_msstats_mysql_processlist for sessions with time_ms well above baseline
Abandoned transactions (never committed)Active_Transactions grows slowly over hours; connections creep up without releasestats_mysql_processlist for sessions idle inside a transaction
autocommit=0 treated as transactionActive_Transactions high but no explicit BEGIN in query traffic; affects all sessions from one applicationValue of mysql-autocommit_false_is_transaction in global_variables
SET autocommit=1 not forwarded to backendBackend stays in autocommit=0 after client re-enables autocommit; multiplexing stays offextended_info in stats_mysql_processlist for MultiplexDisabled status
ORM session initialization disabling multiplexingMany sessions show MultiplexDisabled permanently; multiplexing ratio near 1:1extended_info JSON for the disable reason across all sessions

Quick checks

All commands connect to the admin interface (default port 6032) using default credentials. In production, prefer a credentials file over inline passwords. These are read-only queries and are safe to run.

# Check Active_Transactions count
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT Variable_Name, Variable_Value FROM stats_mysql_global WHERE Variable_Name = 'Active_Transactions';"

# Compare Active_Transactions to client connections and hostgroup-locked count
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT Variable_Name, Variable_Value FROM stats_mysql_global WHERE Variable_Name IN ('Active_Transactions','Client_Connections_connected','Client_Connections_hostgroup_locked');"

# Check backend pool pressure per backend
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT hostgroup, srv_host, srv_port, ConnUsed, ConnFree, ConnOK, ConnERR FROM stats_mysql_connection_pool;"

# Check for delayed connections (queries waiting for a free backend connection)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT Variable_Name, Variable_Value FROM stats_mysql_global WHERE Variable_Name = 'Server_Connections_delayed';"

# Check ConnPool failures (queries that could not get a backend connection)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT Variable_Name, Variable_Value FROM stats_mysql_global WHERE Variable_Name = 'ConnPool_get_conn_failure';"

# Review autocommit-related variables
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT variable_name, variable_value FROM global_variables WHERE variable_name IN ('mysql-autocommit_false_is_transaction','mysql-autocommit_false_not_reusable','mysql-forward_autocommit','mysql-enforce_autocommit_on_reads');"

# Check transaction timeout settings
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT variable_name, variable_value FROM global_variables WHERE variable_name IN ('mysql-max_transaction_idle_time','mysql-max_transaction_time');"

# Find sessions with long-running or stuck transactions
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT SessionID, user, db, command, time_ms, info FROM stats_mysql_processlist WHERE command != 'Sleep' OR time_ms > 10000 ORDER BY time_ms DESC LIMIT 20;"

How to diagnose it

  1. Confirm the pinning pattern. Check whether Active_Transactions is high relative to Client_Connections_connected. The more client sessions holding transactions, the more backend connections are pinned. Check Client_Connections_hostgroup_locked alongside it. This metric counts connections pinned to a hostgroup for any reason: transactions, SET variables, temporary tables, user-defined variables, LOCK TABLES, GET_LOCK, or prepared statements. A hostgroup_locked to connected ratio above 50% indicates serious multiplexing degradation.

  2. Enable extended_info to see multiplexing status per session. By default, the extended_info column in stats_mysql_processlist is empty. Set mysql-show_processlist_extended to 1 or 2 to populate it:

# Enable extended_info (runtime only - SAVE TO DISK to persist)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SET mysql-show_processlist_extended=1; LOAD MYSQL VARIABLES TO RUNTIME;"

The extended_info column returns JSON that includes the session fields autocommit, active_transactions, and transaction_time_ms, plus backends[].conn.MultiplexDisabled, MultiplexDisabled_ext, and backends[].conn.status.* flags. Use MultiplexDisabled_ext and active_transactions for transaction-related pinning.

  1. Find the offending sessions. Query stats_mysql_processlist for sessions with extended_info populated:
# Find sessions with extended_info (multiplexing disabled for some reason)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT SessionID, user, db, hostgroup, time_ms, extended_info FROM stats_mysql_processlist WHERE extended_info != '' ORDER BY time_ms DESC LIMIT 30;"

Sort by time_ms descending. Sessions with the highest time_ms and disabled multiplexing are holding backend connections the longest.

  1. Identify the user or application. Group by user to see if one application is responsible:
# Count pinned sessions by user
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT user, COUNT(*) as pinned_sessions FROM stats_mysql_processlist WHERE extended_info != '' GROUP BY user ORDER BY pinned_sessions DESC;"
  1. Check the backend pool impact. Correlate the pinned session count with ConnUsed per backend. If a single hostgroup is saturated while others have free connections, the issue is specific to queries routing to that hostgroup.

  2. Review autocommit configuration. If no explicit BEGIN or START TRANSACTION appears in query traffic but Active_Transactions is high, check whether mysql-autocommit_false_is_transaction is set to true. When enabled, any session with autocommit=0 is treated as a transaction, disabling multiplexing even without an explicit BEGIN.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Active_TransactionsDirect count of sessions holding pinned backend connectionsSustained high count relative to Client_Connections_connected
Client_Connections_hostgroup_lockedBroader measure of multiplexing degradation across all causesRatio to connected above 50%
ConnUsed per backendBackend connections held by ProxySQLGrowing without corresponding Questions rate growth
ConnFree per backendAvailable backend connections in the poolTrending to 0
ConnPool_get_conn_failureProxySQL tried to get a backend connection and failedAny sustained increase from zero
Server_Connections_delayedQueries waiting for a free backend connectionAny value above 0 sustained
Multiplexing ratio (Client_Connections_connected / Server_Connections_connected)Whether pooling is providing benefitDeclining toward 1:1

Fixes

Long-running or abandoned transactions

The most direct fix: find and address the application code holding transactions open too long. If a session is stuck in a transaction for hours, the application has a bug (missing COMMIT, connection leak, or deadlock retry loop).

ProxySQL has two built-in timeouts that kill stuck transactions:

  • mysql-max_transaction_idle_time (default 14400000 ms, or 4 hours): kills client connections with an idle transaction.
  • mysql-max_transaction_time (default 14400000 ms, or 4 hours): kills sessions with active transactions running longer than this timeout.

Both default to 4 hours. For most production workloads, that is too generous. Lower them to a value matching your application’s expected maximum transaction duration:

# Lower transaction timeouts (review with your application team first)
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SET mysql-max_transaction_idle_time=300000; SET mysql-max_transaction_time=300000; LOAD MYSQL VARIABLES TO RUNTIME; SAVE MYSQL VARIABLES TO DISK;"

Warning: lowering these values will kill sessions that legitimately need long transactions. Coordinate with the application team before changing.

If the issue is sessions with autocommit=0 being treated as transactions, review these variables:

  • mysql-autocommit_false_is_transaction (default false in documented current releases): When true, ProxySQL treats any session with autocommit=0 as a transaction, disabling multiplexing. The maintainer strongly discourages changing this from its default. This variable affects multiplexing and pooling, not routing. A session with autocommit=0 still routes normally; the variable only determines whether the backend connection is returned to the pool.

  • mysql-autocommit_false_not_reusable (default false): When true, a connection with autocommit=0 is destroyed when returned to the pool rather than reused. This does not fix multiplexing loss during the session, but it prevents stale autocommit state from persisting on pooled connections.

  • mysql-forward_autocommit (deprecated in ProxySQL v2.1.1): This variable was intended to forward SET autocommit to the backend. Current releases reject true and log issue #3253. Do not rely on it. If it is currently set to true in your configuration, consider removing it as part of cleanup.

  • mysql-enforce_autocommit_on_reads (default false): When true, SELECT statements on reader nodes execute with autocommit=0, which may start a transaction on the reader. The maintainer strongly discourages changing this from its default.

ORM session initialization disabling multiplexing

Some ORM frameworks and connection libraries issue session initialization queries that permanently disable multiplexing. Queries containing session-level system variables (those with @@ in them, such as SELECT @@version_comment) or user-defined variables (single @, such as SET @rownum=0) can disable multiplexing permanently on that connection. Java/JDBC connectors are a known source of this pattern: they issue SELECT @@session.tx_isolation or similar on connect.

The fix is to add a query rule with the multiplex column set to 2, which forces multiplexing to remain enabled for matching query digests:

# Create a query rule to prevent multiplexing disable for session-init queries
# Replace <rule_id> with an appropriate unused rule_id
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "INSERT INTO mysql_query_rules (rule_id, active, match_digest, multiplex, apply) VALUES (<rule_id>, 1, '^SELECT @@version', 2, 1); LOAD MYSQL QUERY RULES TO RUNTIME; SAVE MYSQL QUERY RULES TO DISK;"

Verify the rule matches by checking stats_mysql_query_rules for hits after deployment.

Temporary capacity relief

If the pool is saturated and you need immediate relief while investigating root cause:

# Check current per-backend max_connections
mysql -u admin -padmin -h 127.0.0.1 -P 6032 \
  -e "SELECT hostgroup_id, hostname, port, max_connections FROM runtime_mysql_servers;"

Increasing max_connections in mysql_servers gives ProxySQL more backend connections to work with. Verify the backend MySQL can handle the additional connections, considering its own max_connections limit, thread pool size, and memory.

Prevention

  • Monitor the ratio of Active_Transactions to Client_Connections_connected. A growing ratio means more sessions are pinning backend connections. Track this trend over time, not just the absolute count.
  • Set transaction timeouts below your incident detection window. The 4-hour defaults mean a stuck transaction can pin a connection for hours before ProxySQL kills it. Set mysql-max_transaction_idle_time and mysql-max_transaction_time to values your application team considers safe for their longest legitimate transaction.
  • Keep autocommit-related variables at their defaults. Changing mysql-autocommit_false_is_transaction or mysql-enforce_autocommit_on_reads has subtle effects on multiplexing and pooling. The maintainer strongly discourages changing them.
  • Audit ORM connection initialization. Check what SET commands and variable queries your application framework issues on connection setup. Use query rules with multiplex=2 to override permanent multiplexing disable for known-safe patterns.
  • Track the hostgroup_locked to connected ratio as a capacity metric. If this ratio trends upward over weeks, an application change is slowly eroding multiplexing efficiency. A ratio above 50% sustained indicates serious degradation.

How Netdata helps

  • Per-second Active_Transactions collection shows transaction accumulation as it happens, not minutes later. The rate of change is often more diagnostic than the absolute count.
  • Active_Transactions correlated with ConnUsed, ConnFree, and Client_Connections_hostgroup_locked in a single view reveals the pinning cascade without manual cross-referencing of admin queries.
  • ConnPool_get_conn_failure and Server_Connections_delayed appear alongside transaction metrics, showing when pool pressure translates to query queuing.
  • Questions rate next to connection metrics makes the signature pattern visible: connections growing without throughput growing.
  • ML anomaly detection on Active_Transactions and the hostgroup_locked ratio catches gradual erosion that static thresholds miss. This failure mode is gradual, which makes baseline-relative detection essential.