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 / clickhouse / clickhouse-connection-count-climbing

Operations Guides

ClickHouse client connections climbing: TCP 9000, HTTP 8123, and connection leaks

TCPConnection or HTTPConnection climbing on a ClickHouse node means each active socket consumes a file descriptor. When growth is uncorrelated with query throughput, it is usually a connection leak or pool misconfiguration rather than healthy concurrency. If the count approaches max_connections, the server rejects new client connections. If the Linux nofile limit is reached first, queries and merges fail with “too many open files.”

Unlike query concurrency, which is bounded by max_concurrent_queries, the connection count includes idle keep-alive sockets, health-check probes, interserver replication traffic, and short-lived retry attempts. A sustained upward trend while query throughput is flat is the signature of a leak. A step jump often points to a deploy changing a client pool, a load balancer configuration, or a retry storm after an upstream error such as TOO_MANY_PARTS or MEMORY_LIMIT_EXCEEDED.

The diagnostic goal is to separate connection pressure from real query pressure, identify the protocol responsible, and find the client or probe causing the growth.

What this means

ClickHouse exposes separate metrics for native TCP (port 9000), HTTP (port 8123), interserver replication (port 9009), and optional MySQL/PostgreSQL protocol connections in system.metrics. max_connections defaults to 4096 and caps the total number of client connections the server will accept. Each accepted connection consumes a handler thread, so very high connection counts can starve query execution even when CPU and memory are idle.

Because every socket is a file descriptor, connection growth also drives the process-wide /proc/<pid>/fd count. If a connection leak outruns the Linux nofile limit, the failure mode changes from connection rejection to file-open failures inside queries, merges, and replication fetches.

flowchart TD
    A[Connection count climbing] --> B{Growth correlates with query load?}
    B -->|Yes| C[Concurrent query pressure or retry storm]
    B -->|No| D{Which protocol?}
    D -->|TCP 9000| E[Native client pool leak or too many pools]
    D -->|HTTP 8123| F[Keep-alive probe flood or scraper]
    D -->|Interserver 9009| G[Replication catch-up or distributed query amplification]
    C --> H[Check system.processes, query errors, and throughput]
    E --> I[Audit client pool size and idle timeout]
    F --> J[Audit health checks and monitoring clients]
    G --> K[Check replication queue and distributed query plans]

Common causes

CauseWhat it looks likeFirst thing to check
Client connection leakTCPConnection or HTTPConnection grows steadily while query throughput and system.processes are flat; often concentrated in one application userClient pool config, idle timeout, and whether connections are explicitly closed
Oversized connection poolStep jump in TCPConnection after a deploy; count stays high but active queries do not increaseClient pool max size and the number of client instances multiplied by pool max
Retry stormSpiky connection count aligned with spikes in FailedQuery or insert rejections; many short-lived connectionsQuery error rate and exception codes; client timeout and backoff configuration
Load balancer or monitoring probe floodHTTPConnection grows without corresponding queries; many lightweight requests from the same sourceHealth check frequency and endpoint; monitoring scrapers running tight loops
Interserver traffic surgeInterserverConnection high while client connections are normal; replication lag or large distributed queriessystem.replication_queue depth and distributed query fan-out patterns
File descriptor limit too lowConnection counts are moderate but queries or merges fail with open-file errors; FD usage near the limit/proc/<pid>/limits and current /proc/<pid>/fd count

Quick checks

-- Active connection counts by protocol
SELECT metric, value
FROM system.metrics
WHERE metric IN (
    'TCPConnection',
    'HTTPConnection',
    'InterserverConnection',
    'MySQLConnection',
    'PostgreSQLConnection'
);
-- Server-wide connection and concurrency limits (system.server_settings is available in recent releases)
SELECT name, value
FROM system.server_settings
WHERE name IN ('max_connections', 'max_concurrent_queries');

Per-user and all-users query limits are profile settings, not server settings. Check max_concurrent_queries_for_user and max_concurrent_queries_for_all_users in system.settings when you need them.

# Open file descriptor count and process limit
PID=$(pgrep -f clickhouse-server | head -n 1)
test -n "$PID" || { echo "clickhouse-server PID not found"; exit 1; }
echo "open fds: $(ls -1 /proc/$PID/fd 2>/dev/null | wc -l)"
grep "Max open files" /proc/$PID/limits
-- Live query concurrency and long-running queries
SELECT
    count(*) AS running_queries,
    countIf(elapsed > 60) AS long_running
FROM system.processes;
-- Recent query throughput and failures
SELECT
    countIf(type = 'QueryFinish') AS finished,
    countIf(type = 'ExceptionWhileProcessing') AS failed
FROM system.query_log
WHERE event_time > now() - INTERVAL 5 MINUTE;
# Listening ports and interfaces
ss -tlnp | grep clickhouse
-- Recent client hosts to identify a source
SELECT
    client_hostname,
    count() AS queries
FROM system.query_log
WHERE event_time > now() - INTERVAL 5 MINUTE
  AND is_initial_query = 1
GROUP BY client_hostname
ORDER BY queries DESC
LIMIT 10;

How to diagnose it

  1. Quantify the climb. Snapshot TCPConnection, HTTPConnection, and InterserverConnection from system.metrics over several minutes. A sustained upward slope on one protocol while the others are flat points to a specific client class.
  2. Compare to limits. Check max_connections and max_concurrent_queries. If connections are near max_connections, new client attempts will be rejected. If running queries are near max_concurrent_queries, the issue is query concurrency, not a connection leak.
  3. Correlate with query load. Compare connection count to running query count from system.processes and insert/select throughput from system.query_log. Leaks show climbing connections without climbing queries.
  4. Check file descriptor headroom. Count /proc/<pid>/fd and compare to the Max open files limit. If FD usage is rising with connections, the nofile limit may be the first cliff.
  5. Find the responsible clients. Query system.query_log for client_hostname and user over the growth window. A single host or service user dominating requests indicates the source.
  6. Look for retry drivers. Check system.query_log for ExceptionWhileProcessing and system.events for error counters. Spikes in TOO_MANY_PARTS, MEMORY_LIMIT_EXCEEDED, or TIMEOUT_EXCEEDED often trigger client retries that open new connections.
  7. Inspect external probes. Verify that load balancer health checks point to /ping and do not run heavy queries in tight loops. Monitoring scrapers should not open a new persistent connection per sample without closing the previous one.
  8. Investigate interserver growth. If InterserverConnection is high, check system.replication_queue for stuck or retrying entries and review distributed queries for missing shard-key filters or GLOBAL IN amplification.
  9. Verify OS and container limits. Ensure systemd LimitNOFILE, Docker/containerd ulimits, and Kubernetes pod limits are set high enough for production ClickHouse. The default 1024 is far too low.
  10. Capture a baseline after fix. Once the source is identified, snapshot the same metrics to confirm the derivative returns to zero.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
TCPConnectionNative client load and leak indicator> 80% of max_connections sustained
HTTPConnectionHTTP client and probe load> 80% of max_connections or uncorrelated with query load
InterserverConnectionReplication and distributed query trafficSustained high while client connections are low
Process open FD countTracks file handles including sockets> 70% of the process nofile limit
Query (running queries)Distinguishes concurrency from idle connectionsApproaches or exceeds max_concurrent_queries
Failed query rateReveals retry storms and upstream errors> 1% of total queries sustained
Query latency P99Captures impact of handler pool starvation> 2x baseline for more than 15 minutes

Fixes

Client connection leaks and oversized pools

Reduce the client pool max size and ensure connections are explicitly closed after use, including error paths. Set client idle timeouts so stale keep-alive sockets do not accumulate. If you have many service instances, reduce per-instance pool size rather than increasing the global pool. Tradeoff: smaller pools limit burst throughput; address that with larger insert batches rather than more connections.

Retry storms

Do not respond to transient errors by opening more connections. Add exponential backoff and circuit breakers on the client side, and fix the root cause in ClickHouse. Common drivers are TOO_MANY_PARTS, MEMORY_LIMIT_EXCEEDED, and TIMEOUT_EXCEEDED. Tradeoff: backoff increases perceived client latency but prevents connection exhaustion and amplification.

Health-check and monitoring floods

Configure load balancers and orchestration probes to use GET /ping on port 8123. Reduce probe frequency to the minimum required. Bind monitoring scrapers to internal interfaces and avoid opening a new connection per sample. Tradeoff: slower probes take longer to detect a dead process, but they avoid consuming handler threads.

Interserver traffic

For replication catch-up, relieve the bottleneck on the source replica (disk I/O, network, merge pool) so fetches complete and close connections. For distributed query amplification, enforce shard-key filters in WHERE clauses, avoid large GLOBAL IN subqueries, and review distributed_product_mode. See the related guide on distributed query amplification.

File descriptor pressure

Raise the process nofile limit to at least 100000 in production. In systemd, set LimitNOFILE. In containers, raise host and runtime ulimits. Do not rely on high limits alone; alert on the ratio of open FDs to the limit so leaks are still visible. Tradeoff: a very high limit can delay detection of a severe leak.

Prevention

  • Alert on TCPConnection / max_connections and HTTPConnection / max_connections above 0.7.
  • Alert on process FD usage above 50% of the nofile limit.
  • Enforce client idle timeouts and pool caps in application configuration standards.
  • Use /ping for liveness probes and keep monitoring queries lightweight.
  • Monitor failed query rate and insert rejections so retry storms are caught at the source.
  • Document per-service connection budgets and review them after any client-side deploy.
  • Keep nofile at 100000 or higher on production nodes and containers.

Netdata correlation

Netdata correlates TCPConnection, HTTPConnection, InterserverConnection, running query count, and process FD usage on the same timeline to distinguish leaks from load. Derivative alerts on connection metrics detect climbing counts even when absolute values are below max_connections. Query latency, failed query rate, and insert rejection events overlay to identify the upstream error driving a retry storm. Netdata tracks per-process file descriptor usage and OS limits without manual /proc checks, and alerts on connection count and FD ratios approaching configured limits.

The Netdata solution

ClickHouse monitoring with Netdata

Netdata monitors ClickHouse with per-second metrics and ML anomaly detection. Track merge debt, memory usage, replication lag, Keeper/ZooKeeper saturation, and disk headroom against the host signals that drive them.