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 / bind-dns / bind-dns-tcp-clients-exhaustion ▌

Operations Guides

BIND tcp-clients exhaustion: the TCP connection limit, transfers, and truncation fallback

BIND is up. rndc status shows “running.” Your UDP health check returns NOERROR in under 2ms. But zone transfers are failing, some DNSSEC-validated queries time out, and clients receiving large responses report intermittent connection refused on TCP/53. If your monitoring only probes UDP, you will not know anything is wrong until a secondary’s zone expires or a downstream resolver escalates a ticket.

The likely cause is tcp-clients exhaustion. BIND caps concurrent inbound TCP connections at a configurable limit (150 by default in 9.16, 9.18, and 9.20). When that quota is full, new TCP connections to port 53 are refused. Zone transfers (AXFR/IXFR) cannot complete. DNSSEC answers that exceed the EDNS0 UDP buffer size are truncated, forcing clients to retry over TCP, and that retry fails too. The named process stays healthy and UDP resolution continues for everything that fits in a single UDP datagram.

The monitoring gap makes this hard to catch early. Most DNS health checks probe UDP only. TCP is the minority protocol for typical recursive traffic, normally under 5% of queries, so it is rarely checked independently. When the TCP quota fills, there is no BIND counter that surfaces “TCP is broken.” The QryTCP counter stops incrementing because connections are refused before the query is parsed. The evidence is in the OS-level TCP socket table, BIND’s internal quota tracking, and log messages reporting the quota is reached.

What this means

The tcp-clients option limits the total number of simultaneous TCP connections named will accept. This is a single shared pool. Zone transfers, client TCP queries, DNSSEC truncation fallback, and TCP-based control connections all draw from it. BIND cannot prioritize a zone transfer over a client query or vice versa.

When the pool is full, the listener stops accepting new TCP connections. The kernel may still complete the TCP handshake (the socket sits in the listening backlog), but named will not pick up the connection. From the client side, this looks like a connection timeout or connection refused, depending on timing and backlog depth.

The connection limit also interacts with file descriptor limits. Each accepted TCP connection consumes an FD. If FDs are the binding constraint rather than tcp-clients, the symptoms are similar but the fix is different.

flowchart TD
    A[Large response or DNSSEC answer] --> B[UDP truncated - TC bit set]
    B --> C[Client retries over TCP]
    C --> D[TCP connections accumulate]
    D --> E{tcp-clients quota full?}
    E -->|No| F[Connection accepted]
    E -->|Yes| G[New TCP connections refused]
    G --> H[Zone transfers and DNSSEC fallback fail]
    K[UDP health check] -.->|Still green| G

Common causes

CauseWhat it looks likeFirst thing to check
DNSSEC truncation driving TCP fallbackQryTCP share jumps above 10%, many connections from validating resolversdig +dnssec a large signed zone, check for TC bit on UDP responses
Zone-transfer burstMany ESTABLISHED connections from secondary IPs, serial mismatches appearingss -tan '( sport = :53 )', correlate source IPs with known secondaries
TCP SYN flood or slow connection attackMany connections from unknown or distributed source IPs, low query volume per connectionSource IP distribution in ss output
Idle connections not drainingConnections in ESTABLISHED with no recent activity, count stays near limitCheck tcp-idle-timeout setting
Known quota accounting bugCounter stuck at limit even after connections close, specific BIND versionsCheck BIND version against known bugs

Quick checks

# Check current TCP connections on port 53
ss -tan '( sport = :53 )' | head -30

# Count TCP connections by state
ss -tan '( sport = :53 )' | awk 'NR>1 {print $1}' | sort | uniq -c | sort -rn

# Check tcp-clients utilization via rndc
rndc status | grep -i tcp

# Count established TCP connections on port 53
ss -tn state established '( sport = :53 )' | wc -l

# Check file descriptor usage
CURRENT=$(ls /proc/$(pgrep -x named)/fd 2>/dev/null | wc -l)
MAX=$(grep "Max open files" /proc/$(pgrep -x named)/limits | awk '{print $4}')
echo "FDs: $CURRENT / $MAX"

# Check UDP vs TCP query ratio from statistics channel.
# Requires statistics-channels configured in named.conf, e.g.:
#   statistics-channels { inet 127.0.0.1 port 8653 allow { 127.0.0.1; }; };
curl -s http://localhost:8653/json/v1/server | \
  python3 -c "import sys,json; d=json.load(sys.stdin); ns=d.get('nsstats',{}); \
  u=ns.get('QryUDP',0); t=ns.get('QryTCP',0); \
  print(f'UDP: {u} TCP: {t} TCP%: {t/(u+t+1)*100:.1f}%')"

# Test TCP resolution directly
dig +tcp +time=2 +tries=1 @127.0.0.1 example.com A

# Test UDP for comparison
dig +time=2 +tries=1 @127.0.0.1 example.com A

# Check for quota-related log messages
journalctl -u named --since "30 min ago" | grep -i "tcp.*client\|quota"

How to diagnose it

  1. Confirm the symptom. Run dig +tcp +time=2 +tries=1 @127.0.0.1 example.com A. If it times out or gets connection refused while the same query over UDP succeeds, the TCP path is the issue.

  2. Check the tcp-clients quota. Run rndc status | grep -i tcp. The output shows the current count and configured limit. If the count is at or near the limit, the quota is exhausted.

  3. Inspect who holds the connections. Run ss -tan '( sport = :53 )' and examine source IPs and connection states. Many ESTABLISHED connections from secondary nameserver IPs points to transfer pressure. Connections from many distributed, unknown IPs suggest an attack. Long-lived idle connections suggest a timeout configuration problem.

  4. Check file descriptor usage. If the FD count is near the limit, FD exhaustion may be the binding constraint rather than tcp-clients. Both produce similar symptoms but require different fixes. Configure FD limits via ulimit or systemd LimitNOFILE.

  5. Check the TCP share in BIND statistics. Pull QryTCP and QryUDP from the statistics channel. A TCP share above 10% (normal is under 5%) indicates elevated TCP fallback or transfer activity.

  6. Correlate with DNSSEC. If ValAttempt is high and signed zones produce large responses, truncation is likely driving TCP fallback. Test with dig +dnssec +time=2 +tries=1 @127.0.0.1 <signed-zone> and look for the TC bit set in the response flags.

  7. Check BIND version for known bugs. Run rndc status | head -1 to get the version. Several versions have quota accounting bugs that cause the counter to get stuck (see Fixes below).

Metrics and signals to monitor

SignalWhy it mattersWarning sign
rndc status tcp-clients countDirect measure of TCP quota utilizationCount at or near configured limit (default 150)
TCP connection count on port 53OS-level view of actual connectionsSustained count near the tcp-clients limit
FD usage (/proc/<pid>/fd)TCP connections consume FDs; FD exhaustion mimics tcp-clients exhaustionAbove 70% of Max open files
QryTCP / QryUDP ratioTCP share elevation indicates truncation, transfers, or attackTCP share above 10% sustained
Zone serial consistencyTransfer failures are the downstream symptom of TCP exhaustionSecondary serial lags primary
SOA expire runwayTransfer failure has a time-delayed cliff at expiryRunway below 50% of SOA expire value
XfrSuccess / XfrFailZone transfer success rateXfrFail increasing
RateSlipped counterRRL “slip” truncates responses, forcing TCP retryNon-zero RateSlipped during traffic spikes

Fixes

Raise tcp-clients

The direct fix. Increase tcp-clients in named.conf:

options {
    tcp-clients 500;
};

Apply with rndc reconfig. Consider the FD budget: each TCP connection uses an FD, so the new limit should not exceed what your FD budget supports. If Max open files is 1024, raising tcp-clients to 500 may just move the cliff from tcp-clients to FD exhaustion.

Tune TCP timeouts at runtime

BIND exposes rndc tcp-timeouts for runtime adjustment without restart:

# View current TCP timeout settings
rndc tcp-timeouts
# Set all four values (units of 100 ms in BIND 9.16-9.20):
rndc tcp-timeouts initial idle keepalive advertised

Shortening tcp-idle-timeout causes idle connections to be reaped sooner, freeing quota slots. This is the least disruptive intervention during an active incident. Be cautious with tcp-initial-timeout: a bug in BIND 9.17 development releases through 9.17.11 caused it to apply to the entire connection lifetime rather than just the initial query, which could prevent large zone transfers from completing. BIND 9.17.12 fixed it.

Address DNSSEC truncation at the source

If DNSSEC answers are driving TCP fallback, review EDNS0 buffer sizing:

options {
    edns-udp-size 1232;
    max-udp-size 1232;
};

The 1232-byte value follows DNS Flag Day 2020 guidance and is also the default for both options in BIND 9.16, 9.18, and 9.20. If an older or customized build advertises 4096, oversized UDP responses can be fragmented, dropped by intermediate firewalls, and retried over TCP. Setting to 1232 avoids fragmentation but may increase truncation for responses between 1232 and 4096 bytes. If truncation persists at 1232, the responses genuinely exceed the buffer and the fix is raising tcp-clients.

Manage zone-transfer scheduling

If secondary-initiated transfer bursts are consuming the quota:

  • Spread NOTIFY timing or transfer schedules across secondaries.
  • Use also-notify with staggered intervals.
  • Ensure secondaries use IXFR (incremental) rather than AXFR for routine updates.

On the primary side, serial-query-rate and transfer timing are controlled by the secondary. The primary controls how many simultaneous transfers it will accept via tcp-clients, transfers-out, and transfers-per-ns.

Mitigate TCP-based attacks

If the connections are abusive rather than legitimate:

  • Apply ACLs to restrict TCP/53 to known secondaries and client ranges.
  • Use rate-limit (RRL) to constrain response volume. Note that RRL “slip” truncates responses, which can itself increase TCP retries if the TCP path is also constrained.
  • Deploy firewall-level SYN cookie protection or connection rate limiting at the network edge.

Check for known version bugs

Several BIND versions have bugs in TCP client quota accounting:

  • BIND 9.15.6-9.15.8 and 9.16.0: The libuv quota counter could fail to decrement after failed accepts, especially with multiple interfaces, so named could refuse TCP after hitting the quota even when active connections had dropped. BIND 9.16.1 fixed it; upgrading is preferable to permanently raising tcp-clients.
  • Through BIND 9.18.27: The TCP4Clients/TCP6Clients statistics could be overcounted when accept failed because the counter was incremented before the point of no failure. BIND 9.18.28 fixed the statistics; this was a reporting defect, not proof that every reported count represented live connections.

If connections are stuck at the limit and do not drain after the triggering load subsides, a version bug is the likely cause. Check the changelog for your specific release.

Prevention

  • Monitor TCP independently. Add a TCP-specific health check (dig +tcp) alongside your UDP check. If TCP fails while UDP passes, you have a tcp-clients or FD problem. This is the single most important preventive step.
  • Track tcp-clients utilization. Parse rndc status for the tcp-clients count and alert before it reaches 80% of the configured limit.
  • Monitor FD usage. Track FD count against the Max open files limit. Peak usage should stay below 50% of the limit.
  • Alert on TCP share. Monitor QryTCP as a percentage of total queries. Sustained TCP share above 10% warrants investigation.
  • Set generous FD limits. The default ulimit -n of 1024 is too low for a DNS server handling TCP traffic. Configure at least 65536 via systemd LimitNOFILE or /etc/security/limits.conf.
  • Stagger zone transfers. If you operate many secondaries, spread their transfer schedules to avoid simultaneous connection bursts that fill the shared pool.

How Netdata helps

  • Per-second TCP connection tracking. Netdata collects TCP connection states at per-second resolution, surfacing burst patterns that minute-level polling misses.
  • FD usage alongside connection counts. Per-process FD tracking lets you distinguish tcp-clients exhaustion from FD exhaustion without manual cross-referencing.
  • UDP/TCP query ratio. The BIND collector surfaces QryTCP and QryUDP, making a protocol shift immediately visible as a ratio change rather than a raw counter delta.
  • Anomaly detection on connection counts. Catches unusual TCP accumulation before the quota is exhausted, complementing static thresholds.
  • Correlated dashboards. TCP connection count, FD usage, zone transfer counters, and QrySERVFAIL in a single view shortens the path from symptom to root cause.