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 / tomcat / tomcat-connection-refused ▌

Operations Guides

Tomcat connection refused: maxConnections and acceptCount both exhausted

Clients are getting “connection refused” or connections hanging until timeout. The Tomcat JVM is up, the HTTP port is bound, heap looks fine, and there is nothing in catalina.out. Manager status shows the connector alive. From Tomcat’s perspective, nothing is wrong. From the kernel’s perspective, the listening socket’s accept queue is full and new SYNs are being dropped or RST’d.

This happens when two limits stack: the NIO poller has hit maxConnections (default 8192 for all connector types since Tomcat 9.0) and the OS accept queue, bounded by acceptCount (default 100) and clamped by net.core.somaxconn, is also full. No JMX counter exposes this state. Tomcat logs nothing. Detection is either client-side connection error monitoring or ss -tnl showing Recv-Q stuck at the accept queue limit.

Tomcat is silent for a structural reason. Once maxConnections is reached, the acceptor thread stops calling accept() on the server socket. The kernel keeps completing TCP handshakes and queuing the resulting connections in the listen backlog. Those queued connections live entirely in kernel space. Tomcat cannot see them, count them, or log them. When the backlog fills, kernel behavior depends on net.ipv4.tcp_abort_on_overflow: with the default of 0, SYNs are silently dropped and clients retry until they time out; set to 1, the kernel sends RST immediately and clients get an immediate refusal.

What this means

A client connection passes through two gates before any worker thread processes it.

  1. The kernel completes the TCP handshake and places the connection in the accept queue. The queue depth is bounded by min(acceptCount, net.core.somaxconn).
  2. Tomcat’s acceptor thread calls accept(), removes the connection from the queue, and registers it with the NIO poller.
  3. The poller watches for read readiness and dispatches to a worker thread when data arrives.

Two limits gate this path:

  • maxConnections (default 8192 for NIO): bounds how many connections the poller tracks. When reached, the acceptor stops calling accept().
  • acceptCount (default 100): passed to listen() as the backlog. The kernel caps the effective backlog at net.core.somaxconn.

When the acceptor stops draining, the OS queue fills. When the OS queue fills, the kernel refuses further connections. The accept queue itself is invisible to JMX. The only Tomcat-side signal is connectionCount approaching maxConnections, which tells you the poller is near its limit but says nothing about whether the OS queue is backing up behind it.

flowchart TD
    A["Client SYN"] --> B{"maxConnections reached?"}
    B -- No --> C["Poller tracks connection"]
    B -- Yes --> D{"acceptCount queue full?"}
    D -- No --> E["Kernel queues in backlog"]
    E --> C
    C --> F["Dispatch to worker thread"]
    D -- Yes --> G["Kernel drops SYN or sends RST"]
    G --> H["Client sees refused or timeout"]

Common causes

CauseWhat it looks likeFirst thing to check
Thread pool exhaustion feeding connection pile-upcurrentThreadsBusy == maxThreads sustained, then connectionCount climbs toward maxConnectionsjstack to see what worker threads are blocked on
Slow client or keepalive floodconnectionCount high but request rate low, many idle keepalive sockets from few source IPsss -tn state established 'sport = :8080' grouped by peer
Backend dependency stallWorker threads blocked on socket read to one backend, processing time climbing before refusal startsThread dump stack traces, backend latency metrics
acceptCount too low for burst trafficRecv-Q hits the configured limit during normal peaks but connectionCount never approaches maxConnectionsss -tnl 'sport = :8080' Recv-Q vs Send-Q
net.core.somaxconn capping acceptCountYou raised acceptCount but Recv-Q still maxes out at 128 or 4096cat /proc/sys/net/core/somaxconn
WebSocket connection leakconnectionCount climbs monotonically, never drops, no corresponding request throughputCheck Tomcat version against CVE-2024-23672 fixed releases

Quick checks

These are read-only and safe to run during an incident.

# Check accept queue depth on the listening socket.
# Recv-Q is current backlog depth; Send-Q is the configured max (acceptCount, clamped by somaxconn).
# If Recv-Q equals Send-Q, the queue is full and connections are being refused.
ss -tnl 'sport = :8080'

# Check effective somaxconn (caps acceptCount).
cat /proc/sys/net/core/somaxconn

# Check kernel overflow behavior (0 = silent drop, 1 = RST).
cat /proc/sys/net/ipv4/tcp_abort_on_overflow

# Current connection count vs maxConnections via JMX (requires JMX enabled).
java -jar jmxterm.jar -l localhost:9090 -n -v silent -e \
  "get -b Catalina:type=ThreadPool,name=\"http-nio-8080\" connectionCount maxConnections"

# Thread pool state (if connections pile up because threads are stuck).
java -jar jmxterm.jar -l localhost:9090 -n -v silent -e \
  "get -b Catalina:type=ThreadPool,name=\"http-nio-8080\" currentThreadsBusy maxThreads"

# Count established connections to the connector.
ss -tn state established '( sport = :8080 )' | wc -l

# Top peer IPs by connection count (slowloris or keepalive flood indicator).
# Note: cut -d: -f1 extracts IPv4 peer IPs only. For IPv6 peers, use a more robust parser.
ss -tn state established 'sport = :8080' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -rn | head

# Recent SYN drops or overflow events in kernel log.
# May require root. On some modern kernels this produces no output for accept backlog overflow.
dmesg -T | grep -iE 'syn|overflow|backlog' | tail

# Confirm Tomcat version (relevant for CVE-2024-23672 WebSocket DoS).
${CATALINA_HOME}/bin/version.sh

How to diagnose it

  1. Confirm the accept queue is full. Run ss -tnl 'sport = :8080' and compare Recv-Q to Send-Q. Recv-Q stuck at or near Send-Q while clients report errors confirms the OS is refusing connections. If Recv-Q is zero, the problem is upstream of Tomcat: DNS, firewall, load balancer, or client-side.

  2. Find the Tomcat-side limit driving it. Pull connectionCount and maxConnections via JMX. If connectionCount is at maxConnections, the NIO poller is full and the acceptor has stopped draining the OS queue. If connectionCount is well below maxConnections but the accept queue is still full, the acceptor thread itself is stalled, usually by a long GC pause.

  3. Check whether the thread pool is the root driver. Pull currentThreadsBusy and maxThreads. If busy equals max, threads are stuck on a backend and connections are accumulating because requests cannot be processed. Take a thread dump with jstack <pid> and look for http-nio exec threads blocked on the same socket read or connection pool acquire. That identifies the failing dependency.

  4. Check for keepalive or slow clients filling the poller. Compare connectionCount to request throughput. High connection count with low request rate means many idle keepalive connections. Group established connections by peer IP. A handful of IPs holding thousands of connections points to a misconfigured reverse proxy keepalive pool or a slowloris-style attack.

  5. Verify the effective accept queue size, not just the configured one. acceptCount is clamped by net.core.somaxconn. If you set acceptCount=1000 but somaxconn=128, the effective backlog is 128. Check cat /proc/sys/net/core/somaxconn.

  6. Correlate with GC activity if the issue is intermittent. A long full GC pauses the acceptor thread. Connections back up in the OS queue and, if the pause is long enough, the queue overflows. Check GC logs or run jstat -gcutil <pid> 1000 during the incident window.

  7. Do not rely on kernel SYN flood messages. Messages such as “Possible SYN flooding” track the SYN backlog of half-open connections, not the accept backlog of established connections waiting for accept(); these are different kernel queues, and modern kernels do not reliably log accept backlog overflow. Rely on ss or client-side monitoring instead.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Accept queue Recv-Q (ss -tnl)Direct measurement of the OS backlog; the only signal for this failure modeRecv-Q approaching Send-Q, sustained
connectionCount / maxConnections (JMX)Tells you when the NIO poller is about to stop acceptingRatio sustained above 0.8
currentThreadsBusy / maxThreads (JMX)Thread exhaustion is the usual upstream cause of connection pile-upRatio sustained at 1.0
Client-side connection error rateThe only reliable end-to-end signal; Tomcat logs nothing hereSpike in “connection refused” or connect timeouts
net.core.somaxconnCaps the effective acceptCountLower than configured acceptCount
GC pause timeLong pauses stall the acceptor and back up the OS queueFull GC pauses long enough to fill the accept queue
File descriptor countEach connection consumes an fd; FD exhaustion produces similar symptomsCount above 80% of ulimit

Fixes

Thread pool exhaustion is the upstream cause

If currentThreadsBusy == maxThreads is driving the connection pile-up, the fix is not to raise maxConnections or acceptCount. Connections are piling up because requests cannot be processed. Raising limits just delays the refusal and makes the eventual failure larger.

  • Take a thread dump and identify what worker threads are blocked on. The stack trace tells you which backend is slow.
  • Set timeouts on outbound calls: JDBC query timeouts, HTTP client socket and connect timeouts, connection acquire timeouts. Defaults are often infinite, which guarantees thread consumption on any backend stall.
  • If a backend is genuinely down, shed load at the load balancer rather than letting Tomcat accept connections it cannot process.
  • Only after the backend issue is fixed, evaluate whether maxThreads is correctly sized for steady-state load. See the maxThreads and minSpareThreads guide.

Keepalive or slow clients filling the poller

If connectionCount is high relative to request rate, idle keepalive connections are consuming poller slots.

  • Tighten connectionTimeout (default 60000ms) and keepAliveTimeout so idle connections are reaped faster.
  • If behind a reverse proxy, coordinate the proxy’s upstream keepalive pool size with Tomcat’s maxConnections. A proxy holding 200 idle keepalive connections to each of 50 Tomcat instances consumes 10000 poller slots across the fleet.
  • For slowloris-style attacks, ensure connectionTimeout is set and consider rate-limiting at the edge.

acceptCount or somaxconn too low for burst traffic

If connectionCount never approaches maxConnections but the accept queue still fills during bursts, the OS backlog is the bottleneck.

  • Raise acceptCount on the Connector. This is the cheapest change and is safe up to the level your kernel supports.
  • Raise net.core.somaxconn to match. On systemd-managed hosts, set this via a sysctl drop-in under /etc/sysctl.d/ so it persists across reboots.
  • On kernel 5.4 and later, somaxconn defaults to 4096, which is usually sufficient. On older kernels the default is 128, which is far too low for production.

WebSocket connection leak

If connectionCount climbs monotonically and never drops, suspect a WebSocket leak.

  • Check whether the Tomcat version is vulnerable to CVE-2024-23672, a WebSocket DoS via incomplete cleanup. Fixed in 11.0.0-M17, 10.1.19, 9.0.86, and 8.5.99. Upgrade if below those.
  • For application-level WebSocket leaks, ensure server-side close handlers are invoked when clients disconnect uncleanly.

Disabling the limit entirely (NIO and NIO2 only)

For NIO and NIO2 connectors, setting maxConnections="-1" removes the poller-side limit and lets the acceptor drain the OS queue continuously. This shifts the bottleneck entirely to the OS accept queue and file descriptors. Use this only if you have monitoring for fd count and Recv-Q, and only if the upstream cause is already fixed. Removing the limit without fixing the root cause just moves the cliff.

Prevention

  • Monitor accept queue Recv-Q at the OS level. This is the only direct signal for this failure mode. There is no JMX counter.
  • Monitor client-side connection error rates. Because Tomcat logs nothing when the kernel refuses connections, client-side or synthetic check monitoring is the most reliable detection.
  • Treat connectionCount approaching maxConnections as a leading indicator, not a page on its own. It means the poller is about to stop draining the OS queue.
  • Set timeouts on all outbound calls. Infinite timeouts are the most common root cause of thread exhaustion that cascades into connection refusal.
  • Verify somaxconn is not at the legacy default of 128 on any production host.
  • Do not rely on kernel SYN flood messages. They are not a reliable signal for accept backlog overflow on modern kernels.

How Netdata helps

  • Netdata’s Linux networking collectors surface TCP listen socket backlog depth and overflow counters at per-second resolution. This is the direct signal for accept queue overflow and is not available via JMX.
  • The Tomcat collector surfaces connectionCount, maxConnections, currentThreadsBusy, and maxThreads per connector, so you can watch the poller fill up before the OS queue behind it overflows.
  • JVM collectors surface GC pause duration, letting you correlate acceptor stalls with full GC events in the same timeline.
  • ML anomaly detection on connectionCount and listen-socket backlog catches the slow monotonic climb of a WebSocket or keepalive leak before it hits the limit.
  • Correlating client-side synthetic check failures with server-side backlog depth and connectionCount in a single view shortens diagnosis from “Tomcat looks fine, must be the network” to “accept queue is full because the poller is full because the thread pool is stuck on the database.”