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-thread-pool-exhaustion ▌

Operations Guides

Tomcat thread pool exhaustion: currentThreadsBusy at maxThreads and requests hanging

Tomcat is up: the JVM process is running, the HTTP port is open, health checks pass. But requests hang or return 503. The dashboard shows currentThreadsBusy pinned at maxThreads (default 200). CPU is low. Heap is stable. No OutOfMemoryError in the logs.

This is thread pool exhaustion. Every worker thread is occupied and no thread is available to process new requests. The JVM is healthy; the application is just not being served.

The cause is almost always a slow or hung backend, not Tomcat itself. Threads block waiting for a database query, a downstream HTTP call, or a JDBC connection that never arrives. Each blocked thread is held far longer than normal, and the pool drains until nothing is left.

Do not restart Tomcat as a first response. Threads re-accumulate the moment traffic returns, because the underlying cause is unchanged. Take a thread dump first.

What this means

With the NIO connector (the default since Tomcat 8.5), there are two layers of buffering between a client and a worker thread:

  • Worker thread pool (maxThreads, default 200): every active request occupies one thread for its entire duration. When all threads are busy, new requests wait for a free thread.
  • NIO poller (maxConnections, default 8192 for NIO): a small number of poller threads multiplex thousands of TCP connections. The poller keeps accepting connections even when the thread pool is full. Idle keepalive connections consume a poller slot and a file descriptor, but not a worker thread.

This two-layer design means thread exhaustion does not immediately cause connection refusal. Clients can still open TCP connections (the poller accepts them), but their requests sit waiting for a worker thread. Only when maxConnections is also reached do connections queue in the OS accept queue (acceptCount, default 100). When that fills, the kernel sends RST and clients see “connection refused”.

From the outside, the service appears up at the TCP level but is unresponsive at the HTTP level. From inside the JVM, everything looks healthy: low CPU, stable heap, no exceptions. The threads are just waiting.

flowchart TD
    Client["Client connects"] --> Acceptor["Acceptor thread
accepts TCP"] Acceptor --> Poller["NIO poller
cap: maxConnections 8192"] Poller -->|dispatch request| Workers["Worker pool
cap: maxThreads 200"] Workers -->|process| Backend["Backend: DB, API, cache"] Backend -.->|slow or hung| Workers Workers -.->|currentThreadsBusy = maxThreads| Full["Pool exhausted"] Full -.->|requests queue for thread| Poller Poller -.->|maxConnections reached| Queue["OS accept queue
acceptCount 100"] Queue -.->|queue full| Refused["Connection refused / RST"]

The signature of this failure: low JVM CPU with all threads busy. If CPU is high, you are looking at a CPU-bound workload or GC death spiral, not thread starvation on I/O. See the Tomcat production mental model for the broader failure pattern catalogue.

Virtual threads caveat: On JDK 21+ with StandardVirtualThreadExecutor (Tomcat 10.1+/11, opt-in via server.xml), the thread pool model changes fundamentally. currentThreadsBusy reports -1 and maxThreads is not meaningful. Connection-based monitoring (connectionCount minus keepAliveCount) is the proxy for active virtual threads.

Async servlet caveat: If the application uses async servlets (AsyncContext), currentThreadsBusy undercounts actual concurrent requests. The thread is released to the pool during async processing while the request remains in-flight.

Common causes

CauseWhat it looks likeFirst thing to check
Slow or hung backendThread dump shows many threads WAITING on socket read to the same hostBackend latency metrics, database slow query log
Missing timeout on outbound callThreads stuck indefinitely in same stack frame; no recovery without restartThread dump for socketRead, getConnection frames
JDBC connection pool exhaustionThreads blocked in getConnection(); pool numActive at maxActiveJDBC pool JMX: numActive, maxActive, waitCount
Traffic spike or retry stormSudden jump in busy ratio over 30 seconds; throughput spike precedesRequest throughput vs baseline; upstream retry behavior
Stuck threads (deadlock, infinite loop)Busy count grows monotonically and never drops; thread dump shows BLOCKED threadsThread dump for BLOCKED state and lock ownership

Quick checks

These commands are read-only and safe to run during an active incident. pgrep -f 'catalina.startup.Bootstrap' matches the main class. If multiple Tomcat JVMs run on the same host, pin the PID explicitly to avoid acting on the wrong instance.

# Check thread pool state via Manager app (requires Manager app enabled with auth)
curl -s -u $USER:$PASS 'http://localhost:8080/manager/status?XML=true' | \
  grep -oP '(maxThreads|currentThreadsBusy|currentThreadCount)="[0-9]+"'

# Check via JMX (requires -Dcom.sun.management.jmxremote.port=9090 at JVM start)
# jmxterm has no -e execute flag (-e is exit-on-failure); pipe the command on stdin.
echo "get -b Catalina:type=ThreadPool,name=\"http-nio-8080\" currentThreadsBusy currentThreadCount maxThreads" | \
  java -jar jmxterm.jar -l localhost:9090 -n -v silent

# Take a thread dump BEFORE any restart - this is the most important diagnostic step
PID=$(pgrep -f 'catalina.startup.Bootstrap' | head -1)
jstack "$PID" > /tmp/tomcat-threads-$(date +%s).txt

# Check accept queue depth (Recv-Q = current backlog, Send-Q = max backlog = acceptCount)
ss -tnl 'sport = :8080'

# Check established connection count (compare to maxConnections=8192)
ss -tn state established '( sport = :8080 )' | wc -l

# Check JVM CPU - low CPU with all threads busy confirms I/O wait, not CPU saturation
ps -p "$PID" -o %cpu,%mem,etime

# Count http-nio worker threads in thread dump
jstack "$PID" | grep -c "http-nio-8080-exec"

# Check GC activity if CPU is high (distinguishes GC death spiral from thread starvation)
jstat -gcutil "$PID" 1000

# Check catalina.out for exceptions around the incident window
grep -cE "Exception|Error" /var/log/tomcat/catalina.out

How to diagnose it

  1. Confirm the symptom. Verify currentThreadsBusy == maxThreads sustained for more than 30 seconds. A brief spike during cold start or a traffic burst is normal. Gate on uptime > 120 seconds to avoid false positives from JVM warmup.

  2. Take a thread dump immediately. Run jstack <pid> before doing anything else. If you restart first, you lose the diagnostic evidence. Save the output to a file. Take two dumps 10 to 20 seconds apart to distinguish truly stuck threads (identical stack) from slow threads (stack changes between dumps).

  3. Group threads by stack trace. Look for patterns. If 150 of 200 threads show the same stack frame, that is your blocked code path. Common signatures:

    • java.net.SocketInputStream.socketRead0: blocked on an HTTP call to a backend with no read timeout
    • getConnection or pool acquire: JDBC connection pool exhaustion
    • Object.wait or BLOCKED on a specific lock: application deadlock or contention
    • Database driver internals: slow query or database unavailability
  4. Check whether threads are I/O-bound or CPU-bound. Low JVM CPU with all threads busy means threads are waiting on network, disk, or database I/O. High CPU means either a compute-heavy workload or GC thrashing. Run jstat -gcutil <pid> 1000 and look for Full GC frequency if CPU is high.

  5. Identify the specific backend. The thread dump tells you what the threads are waiting on. Cross-reference with backend monitoring: database latency, downstream service response times, JDBC pool metrics. The backend that became slow at the same time the thread pool filled is your root cause.

  6. Check the JDBC connection pool if applicable. If threads are blocked in getConnection(), check numActive vs maxActive and waitCount via JMX. A pool at capacity with waitCount > 0 confirms pool exhaustion. This can happen even when the database itself is healthy (connection leak, misconfigured maxActive).

Metrics and signals to monitor

SignalWhy it mattersWarning sign
currentThreadsBusy / maxThreadsThe primary capacity signal. Approaching 1.0 means exhaustion is imminent.Sustained > 0.80 for 5 minutes, or equals 1.0 for any sustained period
connectionCount / maxConnectionsShows whether connections are also saturating. With NIO, connections can far exceed threads (idle keepalive).Approaching 1.0 means the poller is full
Accept queue depth (ss -tnl Recv-Q)No JMX counter exists for this. Non-zero means connections are waiting to be accepted.Recv-Q approaching Send-Q (acceptCount) means connections are being refused
Request throughput (requests/sec)Throughput dropping while threads are at max means threads are stuck, not processing.Sudden drop with no corresponding traffic decrease upstream
Request processing timeRising processing time means threads are held longer, draining the pool faster.Upward trend, especially in p95/p99 from access logs
HTTP 503 rate503 from Tomcat itself (not the application) indicates the connector is rejecting requests.Any sustained 503 burst
JVM CPU utilizationLow CPU with threads at max confirms I/O wait. High CPU suggests CPU-bound work or GC issue.Low CPU during exhaustion points to a backend problem
JDBC pool numActive / maxActivePool exhaustion cascades into thread exhaustion. Threads block on getConnection().numActive == maxActive with waitCount > 0

Fixes

Backend slowdown (the most common cause)

If the thread dump shows threads blocked on a specific backend, fix that backend. Restarting Tomcat provides temporary relief, but threads re-accumulate when traffic returns. The real fixes are downstream: optimize slow queries, scale the backend, or add a circuit breaker that fails fast instead of holding threads indefinitely.

Missing timeouts on outbound connections

The default socket timeout in java.net.HttpURLConnection, Apache HttpClient, and most JDBC drivers is effectively infinite. A single hung downstream service will consume threads forever. Set explicit connect and read timeouts on every outbound call. This is the single highest-leverage prevention measure.

For JDBC: set connectTimeout and socketTimeout in the connection URL or pool configuration. For HTTP clients: set connect and read timeouts explicitly. Any finite timeout is better than infinite.

JDBC connection pool exhaustion

If the pool is at capacity with waitCount > 0:

  • Increase maxActive if the database can handle more concurrent connections
  • Fix connection leaks by enabling removeAbandoned=true and logAbandoned=true to identify the leaking code path
  • Size maxActive relative to what the database server can handle across all Tomcat instances

Insufficient thread pool sizing

Increasing maxThreads can help if the pool is genuinely undersized for legitimate concurrent traffic. But this is the wrong first move if threads are stuck on a slow backend. More threads means more concurrent pressure on the already-slow backend, potentially making things worse. Increase maxThreads only after confirming the backend is healthy and the pool is truly undersized.

Each thread reserves stack memory (default 512KB to 1MB via -Xss). With maxThreads=200 and -Xss1m, that is roughly 200MB of off-heap virtual address space reserved. Only pages actually touched get committed to RSS, so real memory usage is typically lower. Doubling maxThreads roughly doubles the reservation.

Immediate mitigation

If the service is down and you need to buy time:

  1. Block or shed traffic at the load balancer to reduce incoming load
  2. Take the thread dump first if you have not already
  3. Restart Tomcat as a last resort, knowing the problem will recur if the backend is still slow

Prevention

  • Set timeouts on every outbound call. Connect timeout, read timeout, query timeout. No exceptions. This is the most effective prevention measure.
  • Configure StuckThreadDetectionValve. Not enabled by default. Add it to server.xml with a threshold appropriate to your application (default is 600 seconds; 60 seconds is more useful for most services). It logs stuck threads, providing early warning before the pool drains.
  • Add processing time to the access log. The default AccessLogValve pattern omits timing. Add %D (milliseconds) to the pattern. Without it, per-request latency analysis is impossible.
  • Monitor the thread pool ratio. Alert on currentThreadsBusy / maxThreads > 0.80 sustained for 5 minutes. Page on == maxThreads with maxThreads > 50 and uptime > 120 seconds, sustained for more than 120 seconds.
  • Monitor the JDBC connection pool. Track numActive / maxActive and waitCount. Pool exhaustion cascades directly into thread exhaustion.
  • Gate alerts on uptime. Thread pool busy ratio spikes briefly on cold start as minSpareThreads (default 10) handles the first burst before more threads are created. Ignore alerts for the first 120 seconds after process start.

How Netdata helps

  • Per-second thread pool metrics. currentThreadsBusy, currentThreadCount, and maxThreads are collected every second. Thread exhaustion can develop in under a minute, and per-second resolution catches the ramp before it becomes a full outage.
  • Correlation with backend latency. When thread pool saturation and downstream service latency appear on the same timeline, the root cause is visible immediately rather than requiring a manual cross-reference between separate dashboards.
  • JVM CPU alongside thread pool utilization. Low CPU with high thread utilization is the I/O-wait signature. Seeing both signals together confirms “backend problem” vs “Tomcat problem” in seconds.
  • ML anomaly detection on request throughput and processing time. A slow drift in processing time, the leading indicator of future thread exhaustion, can trigger an alert before the pool fills.
  • OS-level accept queue and connection count visibility. These signals are invisible to JMX. Surfacing them alongside thread pool metrics shows the full cascade from thread saturation to connection refusal.