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-dump-jstack ▌

Operations Guides

Tomcat thread dumps: reading jstack to find what the pool is waiting on

When currentThreadsBusy reaches maxThreads, Tomcat stops processing new requests even though the JVM is healthy. The thread pool gauge tells you the pool is full. It does not tell you why. The only diagnostic that shows exactly what every worker thread is doing at that moment is a JVM thread dump.

jstack <pid> (or the modern equivalent jcmd <pid> Thread.print) is the primary first response for thread-related Tomcat failures. A single dump shows whether each http-nio-exec thread is idle and parked in the task queue, blocked in a native socket read against a slow backend, waiting to acquire a database connection, or contending on a Java monitor. Many threads parked in the same stack frame is the stuck path. A cluster of threads BLOCKED on the same lock is contention, or a deadlock.

Thread count alone is not diagnostic. A pool of 200 threads can be at maxThreads because traffic is genuinely heavy, because a backend is slow, because the application is deadlocked, or because someone leaked database connections. The dump distinguishes these in seconds.

What this captures

A JVM thread dump is a snapshot of every live thread, its name, its java.lang.Thread.State, and its current stack trace. On a Tomcat NIO connector with maxThreads=200, the dump typically contains roughly 200 http-nio-<port>-exec-<n> worker threads, where <port> is the connector port (for example http-nio-8080-exec-42). It also contains the acceptor thread, poller threads, GC threads, JIT threads, and any threads your application or frameworks started.

For an exhausted-pool investigation, the dump answers three questions:

  • Are the workers actually busy? Idle workers park in TaskQueue.take or TaskQueue.poll. If 180 of 200 threads sit there, the pool is not exhausted, and you should look at the acceptor, poller, OS accept queue, or GC instead.
  • If busy, where are they? The top application frame (or the native frame just above it) names the resource: socketRead0 against a backend, getConnection against a JDBC pool, Object.wait on a monitor, a frame inside your own code.
  • Are they contending or deadlocked? A thread in state BLOCKED waiting on a specific lock ID, with a known owning thread, is lock contention. A cycle of such threads is a deadlock.

jstack -l (long listing) additionally prints ownable synchronizers (for example ReentrantLock) per thread, which is what reveals CompletableFuture or ReentrantLock contention that ordinary monitor dumps miss.

Prerequisites

  • The JDK tooling on the Tomcat host. jstack and jcmd ship with the JDK, not the JRE. On container images that ship a JRE only, neither tool is present; use kill -3 <pid> to dump to the JVM stdout instead.
  • Attach permission. The dumping process must run as the same UID as the Tomcat process, or as root. This is the standard HotSpot attach permission model.
  • The Tomcat PID. pgrep -f 'org.apache.catalina.startup.Bootstrap' for standalone Tomcat; for embedded (Spring Boot) use the application jar name or container PID 1.
  • Confirmation of exhaustion first. A thread dump is most useful when currentThreadsBusy == maxThreads. Confirm via the Manager status XML or the Catalina:type=ThreadPool,name="http-nio-8080" MBean before dumping.

Procedure

1. Confirm the pool is actually exhausted

# Find the Tomcat PID
pgrep -f 'org.apache.catalina.startup.Bootstrap'

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

If currentThreadsBusy is well below maxThreads, the symptom is not pool exhaustion and the dump answers a different question. Look at the acceptor thread, the NIO poller, GC pause time, or the OS accept queue instead.

2. Capture the dump

# Preferred: jcmd, lower overhead, JDK 8+
jcmd $(pgrep -f 'catalina.startup.Bootstrap') Thread.print -l > /tmp/tomcat-threads-1.txt

# Equivalent: jstack with long listing (ownable synchronizers included)
jstack -l $(pgrep -f 'catalina.startup.Bootstrap') > /tmp/tomcat-threads-1.txt

# JRE-only hosts (no jstack/jcmd): SIGQUIT prints the dump to JVM stdout.
# On HotSpot this triggers a thread dump; it does not stop the process.
kill -3 $(pgrep -f 'catalina.startup.Bootstrap')
# Read it from catalina.out (or wherever stdout is redirected)

Take at least two dumps, 5 to 10 seconds apart, before restarting or failing over. A single snapshot cannot distinguish “permanently stuck” from “momentarily in a slow call.” Three dumps a few seconds apart is the minimum useful series; the same stack across all three is a stuck thread.

3. Locate the worker threads

# Count http-nio-exec threads in the dump
grep -c 'http-nio-.*-exec-' /tmp/tomcat-threads-1.txt

# Show thread name and state for each worker
awk '/http-nio-.*-exec-/{name=$0} /java.lang.Thread.State/{print name, "=>", $0}' \
  /tmp/tomcat-threads-1.txt

Expect roughly currentThreadCount matches. If the count is far below maxThreads, either load has not yet forced thread creation, or the connector is sharing an executor (in which case thread attributes on the Connector are ignored).

4. Classify workers by state

The state distribution tells the story before you read a single stack frame.

flowchart TD
    A[http-nio-exec worker] --> B{Thread.State}
    B -->|WAITING / TIMED_WAITING| C{Top frame?}
    B -->|RUNNABLE| D{Native or app frame?}
    B -->|BLOCKED| E[Lock contention or deadlock]
    C -->|TaskQueue.take / poll| F[Idle: pool not exhausted]
    C -->|socketRead0| G[Stuck on backend I/O]
    C -->|getConnection / pool acquire| H[DB pool exhaustion]
    C -->|Object.wait| I[Monitor or condition wait]
    D -->|socketRead0| G
    D -->|app frame| J[CPU-bound in application]

Idle workers in WAITING (parking) at TaskQueue.take are normal. A pool reported as exhausted should not be dominated by this frame; if it is, the exhaustion is upstream of the pool.

5. Group stacks to find the dominant blocking pattern

# Top frames across all workers, line numbers stripped so duplicates collapse
grep -A 30 'http-nio-.*-exec-' /tmp/tomcat-threads-1.txt | \
  grep -E '^\s+at ' | awk '{print $2}' | sed 's/([^()]*)//' | \
  sort | uniq -c | sort -rn | head -20

The frame with the highest count is the dominant path. If 140 of 200 workers share the same top application frame, that frame is where the pool is being held. Map the frame to its resource:

  • java.net.SocketInputStream.socketRead0 (or equivalent NIO read): blocked on a network read with no read timeout. The backend is slow or unreachable. Check outbound latency, retransmits, and the backend’s own saturation.
  • GenericObjectPool.borrowObject / HikariPool.getConnection: waiting for a database connection. Cross-check the JDBC pool (numActive == maxActive, waitCount > 0). This is the most common secondary exhaustion in Tomcat.
  • ReentrantLock / synchronized / Object.wait: lock contention. Find the matching - locked <0x...> (or - <0x...> (a ...) line and identify which thread holds it. A cycle of such waits is a deadlock.
  • A frame inside your own application package: a long-running or infinite loop in business logic. Common causes are unbounded loops, missing pagination, busy spins, or unintentional Thread.sleep in a request path.

6. Check for deadlock explicitly

# jstack prints deadlock info at the bottom when detected
jstack $(pgrep -f 'catalina.startup.Bootstrap') | grep -A 30 -i 'deadlock'

jstack (and Thread.print) reports Java-level monitor deadlocks, and with -l it also reports AbstractOwnableSynchronizer deadlocks, automatically at the end of the output. If the JVM prints “Found … deadlock”, the only safe recovery is a restart; finer triage will not change the outcome.

Verifying it works

A successful dump against a healthy but loaded Tomcat should show:

  • A timestamp line near the top.
  • A worker thread count close to what currentThreadCount reports.
  • A spread of states: some RUNNABLE workers actively processing requests, some WAITING (parking) workers in TaskQueue.take waiting for the next request.
  • No BLOCKED workers, or only a small number contending on a known lock.

If the dump shows almost every worker in WAITING (parking) at TaskQueue.take, the pool is idle and the perceived outage is elsewhere: the acceptor, the poller, the OS accept queue (Recv-Q on the listen socket), GC, or a connector that never started.

Common pitfalls

jstack -l is slow on large heaps. The -l flag walks the heap to enumerate ownable synchronizers. On heaps in the tens of GB or larger it can take tens of seconds and may itself stall application threads. If the JVM is already in distress, capture a plain jstack <pid> first (monitors only), then follow with -l only if you need lock detail.

jstack -F is a last resort. The force flag attaches to an unresponsive JVM and can leave the target unstable. Try jcmd Thread.print and kill -3 first; both go through the normal attach or signal path.

Idle WAITING is not stuck. A worker parked in TaskQueue.take is healthy and waiting for work. Operators frequently misread a row of these as a stuck pool. The stuck signature is a non-TaskQueue top frame, repeated across snapshots.

One dump is a snapshot, not a verdict. A thread in socketRead0 for the 50 ms you happened to capture is normal. The same frame across three dumps 10 seconds apart is stuck. Always capture a series.

Shared executors change the thread name. If a named <Executor> is referenced by a Connector, the worker threads are named for the executor, not the connector, and Connector thread attributes are ignored. Confirm the actual prefix in the dump before grepping.

Virtual threads change the model. On JDK 21+, virtual threads are enabled with the useVirtualThreads="true" connector attribute (available since Tomcat 9.0.76, 10.1.10, and 11.0.0-M7) or an explicit <Executor class="org.apache.catalina.core.StandardVirtualThreadExecutor">; both use org.apache.tomcat.util.threads.VirtualThreadExecutor. currentThreadsBusy reports -1, and maxThreads is no longer meaningful. The worker name prefix is tomcat-virt- when using StandardVirtualThreadExecutor, or <connector-name>-virt- (e.g. http-nio-8080-virt-) with the internal executor. Carrier threads appear in the dump alongside virtual threads; the relevant stacks are on the virtual threads themselves. Use connectionCount - keepAliveCount as the proxy for active work in this configuration.

Signals to monitor

SignalWhy it mattersWarning sign
currentThreadsBusy / maxThreadsDecides whether a dump is warrantedSustained ratio at or near 1.0
JVM CPU (ProcessCpuLoad)Distinguishes I/O-blocked from CPU-bound exhaustionPool full and CPU low means a backend wait
GC pause time and frequencyA long GC freezes every worker at oncePauses align with throughput drops
JDBC pool numActive / maxActive, waitCountDB pool exhaustion cascades into thread exhaustionwaitCount > 0 matches getConnection frames
OS accept queue Recv-QConfirms connections arrive but are not acceptedNon-zero Recv-Q on the listen socket
maxTime on GlobalRequestProcessorWatermark for the slowest single requestMinutes-long maxTime implies stuck threads

How Netdata helps

Netdata surfaces the per-second signals that tell you when to capture a dump and which frame to expect when you do.

  • Per-second currentThreadsBusy, currentThreadCount, and maxThreads from the Catalina:type=ThreadPool MBeans, so the climb to saturation is visible the second it begins.
  • JVM CPU, GC pause time, and post-GC heap baseline alongside thread pool gauges, so the CPU-low-and-threads-high pattern reads at a glance.
  • JDBC pool metrics (numActive, numIdle, waitCount) when the pool is exposed via JMX, so the getConnection stack you find in the dump has a matching metric timeline.
  • Anomaly detection on thread pool utilization that flags excursions even when the static threshold has not tripped.
  • OS-side listen-socket queue depth and file descriptor count to confirm or rule out the layers below the pool.