GitHub Support Contact Sales Log In
Netdata
Live Demo
Netdata
  • Product
  • Features
  • Solutions
Live Demo
    • Netdata Agents
    • Netdata Parents
    • Netdata Cloud SaaS
    • Netdata Cloud On-Premises
    • Netdata UI
    • Netdata Mobile Apps
    • Product Roadmap
      • Unsupervised ML
      • Anomaly Detection
      • Anomaly Advisor
      • Root Cause Analysis
      • Blast Radius Detection
      • AI Co-Engineer
      • AI Reporting
      • AI Chat (MCP)
      • AIOps Overview
      • Zero Configuration
      • Algorithmic Dashboards
      • Zero Downtime
      • Distributed Pipeline
      • Edge Computing
      • Tiered Retention
      • Real-Time at Scale
      • Infinite Scalability
      • Extreme Cardinality
      • Metrics Management
      • eBPF Monitoring
      • Tiered Retention
      • Logs Management
      • Zero Pipeline Logs
      • OpenTelemetry
      • Distributed Alerting
      • Notifications
      • Mobile Apps
      • Network Monitoring Dashboard
      • Network Topology Viewer
      • NetFlow Traffic Analyzer
      • SNMP Device Monitoring
      • Network Device Auto-Discovery
      • SNMP Trap Monitoring
      • Zero Configuration
      • Troubleshooting
      • AI Co-Engineer
      • Algorithmic Dashboards
      • Live
      • Anomaly Advisor
      • No Query Language
      • Custom Dashboards
      • Root Cause Analysis
      • Access Control
      • Zero Code Instrumentation
      • Zero Downtime
      • Data Sovereignty
      • Alerts & Notifications
      • Team Collaboration
      • Cost Efficiency
    • Integrations
      • Platform Engineers
      • DevOps
      • SREs
      • Developers
      • SysAdmins
      • CISOs
      • Operations Centers
      • DBAs
      • Network Engineers
      • MSPs
      • Freelancers
      • AI & ML
      • Technology
      • Finance
      • Gaming
      • Robotics
      • EV Charging
      • Healthcare
      • Retail
      • POS & Kiosks
      • Manufacturing
      • Telecom
      • Government
      • Education
      • School Devices
      • Kubernetes
      • OpenTelemetry
      • Linux
      • AWS
      • GCP
      • Azure
      • Windows
      • Docker
      • Proxmox
      • VMware
      • Red Hat
      • Hybrid Cloud
      • Hetzner
      • HPC
      • LLM Monitoring
      • Infrastructure Monitoring
      • Container Monitoring
      • Synthetic Checks
      • Application Performance
      • Database Monitoring
      • Troubleshooting
      • Network Monitoring
      • Web Server Monitoring
      • Systemd Journal Logs
      • Data Centers
      • Windows Event Logs
      • IoT Monitoring
      • Edge & Fleet Monitoring
      • Service Mesh
      • Continuous Operations
      • Unified Observability
      • Azure → Azure Local
    • Customer Stories
    • Pricing Plans
    • ROI Calculator
    • Contact Sales
    • Ask Nedi
    • Blog
    • Support
    • Documentation
      • Academy
      • Operations Guides
      • Monitoring 101
      • Webinars
      • Netdata Tutorial
      • Best Infrastructure Monitoring Tools
      • Best Container Monitoring Tools
      • AI Observability Ebook
      • Case Studies
      • YouTube Channel
      • GitHub Discussions
      • Discord
      • Forums
      • Reddit
      • X / Twitter
      • Open Source
    • Compare To
    • About Us
    • Our Values
    • Open Source
    • Join Us
    • Events
    • Contact Us
    • For Enthusiasts
Netdata Agents Netdata Parents Netdata Cloud SaaS Netdata Cloud On-Premises Netdata UI Netdata Mobile Apps Product Roadmap

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
Try it now
Linux Docker Kubernetes Google Cloud macOS Windows
Open source
Github 76k
668M+ docker pulls

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
Data Pipeline Infinite Scalability Netdata 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
Sign In Pricing Plans Data Sovereignty

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
Contact Sales Data Sovereignty Government Solutions

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
Custom Dashboards Algorithmic Dashboards Troubleshooting

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
App Store Google Play Alerts & Notifications

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
GitHub Releases Request a Briefing Changelog

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

AI & ML Architecture Data Platform Network Visualization Enterprise Integrations

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.
Learn & Detect
Correlate
Understand & Act
Unsupervised ML Anomaly Advisor AI Co-Engineer Anomaly Detection Root Cause Analysis AI Reporting
Blast Radius Detection AI Chat
AI-powered observability, always enabled, always running

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.
Automated
Distributed
Scalable
Zero Configuration Distributed Pipeline Real-Time at Scale Algorithmic Dashboards Edge Computing Infinite Scalability Zero Downtime Tiered Retention Extreme Cardinality
Linear scaling, zero single point of failure

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.
Metrics
Logs
Alerts
Metrics Management Logs Management Distributed Alerting eBPF Monitoring Zero Pipeline Logs Notifications Tiered Retention OpenTelemetry Mobile Apps
Your data stays on-premises; only views stream to the cloud

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.
Topology
Traffic
SNMP
Network Topology Viewer NetFlow Traffic Analyzer SNMP Device Monitoring Network Monitoring Dashboard
SNMP Trap Monitoring
Network Device Auto-Discovery
Unified network monitoring — no separate NPM tool

Single Pane of Glass

Eliminate SSH access for monitoring and troubleshooting systems and applications.
Simple
Powerful
Intelligent
Zero Configuration Troubleshooting AI Co-Engineer Algorithmic Dashboards Live Anomaly Advisor No Query Language Custom Dashboards Root Cause Analysis
Turn junior engineers into experts with guided troubleshooting

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.
Access
Governance
Operations
Access Control Data Sovereignty Team Collaboration Zero Code Instrumentation Alerts & Notifications Cost Efficiency Zero Downtime
See the Architecture

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
AI Automation
Model Context Protocol

Connect any MCP-compatible AI to your observability data. Automate workflows, playbooks, and incident response.

Deploy Anywhere
Multi-Cloud

AWS, GCP, Azure—unified observability across all providers.

Hybrid Cloud

On-prem and cloud infrastructure in a single view.

Data Sovereignty

Your metrics stay on your infrastructure. Always.

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.

Network, Reimagined
Live Topology

Real-time connection and device maps, built in the agent — no scheduled discovery scans.

One Platform

SNMP, flows, traps, and topology unified with your full-stack observability.

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 Industries Technologies Use Cases Customer Stories

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.
Platform Engineers DevOps SREs Developers SysAdmins CISOs Operations Centers DBAs Network Engineers MSPs Freelancers
Ask AI about your next incident

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.
AI & ML Technology Finance Gaming Robotics EV Charging Healthcare Retail POS & Kiosks Manufacturing Telecom Government Education School Devices
Built for Operation Centers

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
Kubernetes OpenTelemetry Linux AWS GCP Azure Windows Docker Proxmox VMware Red Hat Hybrid Cloud Hetzner HPC
See all 800+ integrations

Complete Visibility. Total Control.

From install to "what broke and why" in under five minutes—no queries, no guesswork.
LLM Monitoring Infrastructure Monitoring Container Monitoring Synthetic Checks Application Performance Database Monitoring Troubleshooting Network Monitoring Web Server Monitoring Systemd Journal Logs Data Centers Windows Event Logs IoT Monitoring Edge & Fleet Monitoring Service Mesh Cloud Monitoring Continuous Operations Unified Observability Azure → Azure Local
See the live demo

Don't Take Our Word for It

From 99% less downtime to 30-second troubleshooting—see how they did it.
Falkland Islands Government

Government

Falkland Islands Government

99% less downtime, 30% cloud cost reduction

TMB Barcelona

Transportation

TMB Barcelona

"A rare unicorn that obeys the Pareto rule"

Nodecraft

Gaming

Nodecraft

Troubleshooting in 30 seconds, not 3 minutes

Codyas

Technology

Codyas

46% cost reduction, 67% less monitoring staff

Browse all case studies
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

Pricing Plans ROI Calculator Contact Sales Partnerships For Enthusiasts Referral Program

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
> 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
> 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
> 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
> 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
> 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
> 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

Ask Nedi Blog Support Documentation Education Community Compare To

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
> Ask Nedi now

Engineering Insights & Product Updates

Deep dives into monitoring, infrastructure, and what's new in Netdata.
Introducing Infrastructure Knowledge: Teach Netdata AI What Your Metrics Can't Show

Sep 2026

Introducing Infrastructure Knowledge: …

Netdata AI sees everything your …

Chart Annotations: Pin the Deploy, the Incident, or the Config Change Right on the Chart

Aug 2026

Chart Annotations: Pin the Deploy, the …

A chart shows you that CPU jumped at 15:57. …

Introducing MCP Connections: Netdata AI Now Reads From the Tools You Already Run

Aug 2026

Introducing MCP Connections: Netdata AI …

Netdata AI can now connect outward to the …

Native macOS Monitoring: Logs, Sensors, GPU & Hardware Health

Jul 2026

Native macOS Monitoring: Logs, Sensors, …

We’ve overhauled macOS monitoring in …

Explore all articles

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
> 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
> Read our documentation

Level Up Your Monitoring

Real problems. Real solutions. 112+ guides from basic monitoring to AI observability.
Academy Operations Guides Monitoring 101 Webinars Netdata Tutorial Best Infrastructure Monitoring Tools Best Container Monitoring Tools AI Observability Ebook Case Studies YouTube Channel
> Explore all 112+ guides

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.
GitHub Discussions Discord Forums Reddit X / Twitter Open Source
See where 76K+ engineers connect

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
> Browse all comparisons
Nedi Can Help With
Paste Logs & Errors

Trace issues directly in the source code

Deploy & Size Parents

Get architecture recommendations

Live Status
Netdata Cloud Status

Real-time operational status, incident history, and uptime for all Netdata Cloud services.

> Check system status
Quick Start
One-Command Install

Copy, paste, monitoring in 60 seconds

850+ Integrations

Every collector documented

Learn Path
112+ Technical Guides

PostgreSQL, NGINX, K8s, and more

AI Observability Ebook

Maturity model and implementation

Built in the Open
Star Us on GitHub

76k+ stars and growing daily

Active Discussions

Engineers helping engineers

Migration Program
Migrating from SolarWinds?

Netdata is modern, fast, full-stack observability with per-second metrics, AI-powered troubleshooting, and predictable pricing.

> See migration program
About Us Our Values and Promises Open Source Join Us Events Contact Us Terms & Policies
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
> 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
> 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
> 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
> 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
> 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
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Terms of Use Terms of Service Privacy Policy Fair Usage Policy
Request a DPA or security package
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

Recent Events
Tech Show London 2026

March 4–5, London, UK

India DevOps Show 2026

February 13, Bengaluru, India

Gartner IT IOCs 2025

November 17–19, Las Vegas

Get in Touch
Talk to Sales

Pricing, volume discounts, and enterprise needs

Technical Support

Docs, community, and expert help

Trust Center
SOC 2 Type 2 Certified

Continuous compliance monitoring by Drata. View our live security posture and audit reports.

> View trust center
$ guides / tomcat ▌
TOMCAT · OPERATIONS PLAYBOOK

Tomcat keeps accepting connections long after it has run out of threads to serve them

A Java servlet container where the NIO connector will happily queue thousands of connections while every one of its 200 worker threads sits blocked on a slow database call — so the process looks alive, CPU reads near idle, and nothing is being served. We trace how a request actually flows from the accept queue to a worker to your servlet, why the heap and Metaspace fail in completely different ways, and what to do when each limit is hit.

> Start with the monitoring checklist → # Jump to the full guide list
"

Tomcat's defaults get you to production quickly, then hand you a set of limits that most teams only meet during an incident.

The defaults work. Until currentThreadsBusy reaches maxThreads (still 200) and requests hang while the JVM sits at low CPU, because the real problem is a backend call with no timeout. Until a hot redeploy leaks a WebappClassLoader, Metaspace climbs step by step, and with MaxMetaspaceSize unset the OS OOM-killer takes the process with no Java error at all. Until live data outgrows -Xmx and java.lang.OutOfMemoryError: Java heap space arrives after GC has already spent minutes freeing nothing. Until the NIO poller hits maxConnections, the accept queue (acceptCount, still 100) fills, and the kernel starts refusing connections with nothing logged. Until the default ulimit of 1024 file descriptors runs out and Tomcat can neither accept a socket nor rotate a log.

These guides are written for engineers who already run Tomcat, not for people learning what a servlet is. The goal is the mental model of how the container actually behaves under load, the failure patterns that keep recurring, the monitoring story that catches them before they page anyone, and the runbooks you wish someone had handed you before your last incident.

How Tomcat actually runs in production

Tomcat is not one thing that is 'up' or 'down'. It is a chain: the OS hands sockets to a connector, an NIO poller multiplexes thousands of live connections, a bounded worker pool actually processes requests, a container hierarchy routes each one to a webapp, and everything the app allocates lands in the heap or in native memory the JVM manages separately. Most production failures live between these layers, not inside any one of them.

01
clients + reverse proxy
Browsers, API clients, and the nginx or load balancer in front of Tomcat. Each connection is a socket and a file descriptor; a proxy's keepalive pool means <code>connectionCount</code> reflects the proxy, not end users. Mismatched keepalive timers surface here as connection resets.
CLIENT
▼ accept
02
connector + acceptor
The <code>&lt;Connector&gt;</code> binds the port (8080/8443) and an acceptor thread pulls sockets off the OS listen backlog. That backlog is <code>acceptCount</code> (default 100), itself capped by <code>net.core.somaxconn</code>. If the port is already taken the connector never starts — <code>BindException</code> — while the JVM stays alive.
ACCEPT
▼ poll / multiplex
03
NIO poller + maxConnections
The poller multiplexes every accepted connection up to <code>maxConnections</code> (default 8192 for NIO). A connection slot is not a worker — a live connection can sit here, idle or slow, consuming a poller slot and an FD without ever occupying a thread.
POLL
▼ assign worker
04
worker thread pool (executor)
The real capacity model. Up to <code>maxThreads</code> (default 200) worker threads each process one request start to finish. <code>currentThreadsBusy</code> is the headline gauge — when it equals <code>maxThreads</code>, new requests queue behind the poller and time out, no matter how healthy the JVM is.
WORKER
▼ route
05
engine · host · context · servlet
The container hierarchy that routes a request to the right webapp <code>Context</code> and <code>Servlet</code>. A context in FAILED or STOPPED serves 404s while the process and connectors look perfectly healthy — easily misread as a missing route rather than a dead app.
ROUTE
▼ load classes
06
webapp classloader
Each <code>Context</code> gets its own <code>WebappClassLoader</code>. A hot redeploy should discard the old one; a <code>ThreadLocal</code>, an un-deregistered JDBC driver, or an uncancelled timer pins it, so every deploy accumulates another full copy of the app's classes in Metaspace.
CLASSLOAD
▼ allocate / GC
07
JVM heap + GC
Objects, caches, and HTTP sessions (<code>StandardManager</code>, on heap) live here under G1GC. The instantaneous sawtooth is meant to fill before GC runs; only the post-GC baseline is the truth. A rising baseline is a leak; a spiralling one ends in <code>OutOfMemoryError: Java heap space</code>.
HEAP
▼ reserve native + FDs
08
JVM native memory + OS
Metaspace, thread stacks, direct and mmap buffers, and file descriptors all live outside the heap. The Linux OOM killer decides on RSS, not heap, so a native-heavy Tomcat can be killed with heap 'fine'. ulimits bound both file descriptors and threads.
NATIVE

Why this matters: 'Tomcat is hung' can mean the worker pool is exhausted behind a slow backend, the poller is full of slow clients, a GC death spiral is eating CPU, Metaspace is silently OOM-killing the process, a context failed to start, or the file-descriptor ceiling has been hit. The symptom rhymes but each layer has a different signal — and a different fix.

The failures you'll actually see

Most Tomcat incidents fall into a small set of recurring patterns. Recognise the shape, and triage gets dramatically faster.

CRITICAL

Thread pool exhaustion

currentThreadsBusy reaches maxThreads (default 200) and every worker is occupied. The NIO poller keeps accepting connections up to maxConnections while requests queue for a free thread, then time out. The JVM is healthy and CPU is often low — the app just is not being served. It is almost always a slow or hung backend, not Tomcat. Take a thread dump before any restart; the threads re-accumulate until the backend is fixed.

  • currentThreadsBusy at or equal to maxThreads (default 200)
  • Requests queuing then timing out while CPU sits near idle
  • jstack shows http-nio-exec threads blocked in socketRead0 or connection acquire
  • A restart clears it, then it returns within minutes
Investigate →
CRITICAL

Heap exhaustion and the GC death spiral

The post-GC heap baseline climbs toward -Xmx, Full GCs become frequent and long, throughput oscillates between zero and brief bursts, and CPU runs high on the GC threads — the opposite signature of thread starvation. It ends in java.lang.OutOfMemoryError: Java heap space (or GC overhead limit exceeded just before). Capture a heap dump before the recovery restart; fix the retainer offline.

  • java.lang.OutOfMemoryError: Java heap space in catalina.out
  • Rising post-GC heap valley over hours or days, not the sawtooth peak
  • Frequent or lengthening Full GC pauses with CPU high
  • Throughput collapsing to near zero between GC bursts
Investigate →
CRITICAL

Connection refused at the door

The NIO poller reaches maxConnections (default 8192) and the OS accept queue (acceptCount, still 100) fills, so the kernel RSTs new connections. There is no JMX counter and Tomcat logs nothing — clients just see connection refused. This is the last buffer before users are locked out entirely, and it is invisible unless you watch it at the OS level.

  • Client-side connection refused while the process is still up
  • connectionCount at or near maxConnections (8192 NIO)
  • ss -tnl showing Recv-Q at the listen socket's backlog limit
  • No corresponding Tomcat log line at all
Investigate →
ACTIVE

Stuck threads on a hung backend

A worker blocks past a threshold on a downstream call with no timeout — a database, an HTTP API, DNS, or NFS — and the StuckThreadDetectionValve logs that a thread has been active too long and may be stuck. Each stuck thread is one fewer worker; enough of them and the pool exhausts. The valve is not enabled by default and emits a log line, not a first-class gauge, so it is easy to miss until threads run out.

  • 'has been active for [N] milliseconds ... and may be stuck' in the logs
  • currentThreadsBusy creeping up with no matching rise in traffic
  • jstack showing many threads parked in the same backend call
  • Latency bimodal: most requests fast, a tail hanging for seconds
Investigate →
IMMINENT

The Metaspace redeploy leak

Each hot redeploy should let the old WebappClassLoader be collected. A ThreadLocal, an un-deregistered JDBC driver, an uncancelled timer, or a logging appender pins it, so every deploy accumulates another full copy of the app's classes. Metaspace rises step by step; with MaxMetaspaceSize unset the OS OOM-kills the process with no Java error at all.

  • java.lang.OutOfMemoryError: Metaspace, or a silent OS OOM-kill in dmesg
  • Metaspace and LoadedClassCount stepping up with each redeploy
  • 'appears to have started a thread ... but has failed to stop it' warnings
  • NoClassDefFoundError appearing after a redeploy
Investigate →
IMMINENT

File descriptor exhaustion

Every socket, JAR handle, and log file is a file descriptor, and NIO selectors add more. The default ulimit of 1024 or 4096 is far too low; at the limit Tomcat can neither accept a connection nor open or rotate a log — a hard cliff that is routinely misread as a disk or network fault. FD growth without matching connection growth is a leak building toward that cliff.

  • java.net.SocketException: Too many open files
  • OpenFileDescriptorCount approaching MaxFileDescriptorCount
  • FD count growing without matching connection growth (a leak)
  • New connections refused while the process stays up
Investigate →
Choosing a tool

Best Apache Tomcat Monitoring Tools in 2026

A ranked review of the tools teams actually shortlist here, what each one is genuinely good at, and how the pricing behaves as you scale.

Read the buyer's guide →

Tomcat monitoring maturity levels

Tomcat observability works in four practical levels. Each is a complete operation, not a stepping stone. Pick the level that matches how much your instance matters. Most production instances should land at the second level.

Level 1: Survival

Know that something is wrong

Survival monitoring is the floor. With these signals you can answer one question: is Tomcat alive and is it serving requests? You will not learn what broke, but you will learn that something broke before users do. Survival is enough for dev instances and non-critical apps.

  • JVM process alive Is the Bootstrap/app JVM actually running, and not stuck in D state?
  • Connector serves a real request An application endpoint returns 200 — not just a TCP connect succeeding.
  • Web application context STARTED A FAILED context returns 404 while Tomcat looks healthy.
  • OutOfMemoryError in the log Any OOM string in catalina.out is a page, day one.
  • 5xx error rate Server-side failures, isolated from 4xx crawler noise.
↓

Level 2: Operational

Diagnose most incidents on your own

Operational monitoring is what most production instances should target. Survival tells you something is wrong; operational tells you what. With this coverage your team can usually diagnose an incident on its own: thread starvation, GC pressure, backlogs, resource limits, error spikes.

  • Thread pool utilisation currentThreadsBusy / maxThreads — the headline gauge; keep peak under 0.6.
  • Post-GC heap baseline The valley after GC, not the sawtooth peak.
  • GC time ratio Cumulative GC time / wall clock; over 10% is trouble.
  • Request throughput requestCount rate as a reset-aware delta against a time-of-day baseline.
  • Average request processing time processingTime delta divided by requestCount delta.
  • 4xx vs 5xx split errorCount lumps them together; separate to alert safely.
  • File descriptor usage ratio Cliff-edge; alert past 0.8 of the ulimit.
  • Active session count Monotonic growth without a plateau is a leak.
  • JDBC pool numActive / maxActive The second bounded resource behind the thread pool.
↓

Level 3: Mature

Catch problems before they become incidents

Mature monitoring catches problems before they wake anyone up. Threads slowly sticking on a degrading backend, Metaspace stepping up across deploys, RSS drifting away from heap, the accept queue filling during spikes. None of these page you on day one. They become page-out incidents on day thirty.

  • Stuck thread detection StuckThreadDetectionValve warnings, ideally per endpoint.
  • Metaspace usage Tracked separately from heap; steps up per redeploy.
  • Process RSS vs heap RSS climbing while heap is flat means native growth.
  • connectionCount vs maxConnections Poller saturation, distinct from worker saturation.
  • Accept queue depth (Recv-Q) OS-only signal; a sustained queue means Tomcat cannot accept fast enough.
  • Per-endpoint p95/p99 latency From the access log with %D; the average hides the tail.
  • LoadedClassCount across deploys Rising across redeploys confirms a classloader leak.
  • JDBC pool waitCount Threads blocking in getConnection() — a double cliff.
↓

Level 4: Expert

Reactive instrumentation after real incidents

Expert signals enter your stack the day after a specific incident proved you needed them. Native memory growth, GC allocation pressure, container CPU throttling stretching pauses, a certificate about to expire, virtual-thread pools that no longer report the gauge every dashboard relies on. Most teams never need every signal here. Add the ones your incident history says you do.

  • Native memory tracking (NMT) jcmd VM.native_memory for off-heap growth the heap metrics never show.
  • Allocation and promotion rate What drives GC frequency before the baseline moves.
  • G1 region occupancy Humongous allocations and region exhaustion.
  • cgroup CPU throttling Container throttling stretches GC pauses invisibly.
  • Scheduled thread dumps Periodic jstack to catch transient stuck states.
  • Keepalive / connectionTimeout alignment Coordinated with the reverse proxy's keepalive to avoid resets.
  • TLS certificate expiry A silent, total outage; an external check, not a broker metric.
  • Virtual-thread connection signals On JDK 21+ currentThreadsBusy reports -1; watch connections instead.

Operating mistakes worth avoiding

The traps Tomcat teams keep falling into. Each has a clear, well-known fix. Most teams only learn it after an incident.

⚠

Alerting on the heap sawtooth instead of the post-GC baseline

Instantaneous heap is meant to climb until GC runs, so a 'heap > 80%' alert fires constantly on a perfectly healthy JVM. Only the post-GC valley matters — a baseline that rises over days is the real leak. Correlate heap with GC events or read <code>jstat -gcutil</code>; the Manager status XML gives free/total snapshots only.

⚠

Trusting a TCP-connect health check

A successful TCP connect only proves the OS accepted the socket into the queue — it says nothing about whether a worker thread will ever serve it. A thread-exhausted or GC-spiralling Tomcat accepts connections and answers none. Health checks must exercise the servlet pipeline through a real application endpoint, not just probe the port.

⚠

Leaving MaxMetaspaceSize unset

Without <code>-XX:MaxMetaspaceSize</code>, Metaspace grows until the OS OOM-killer takes the process — no <code>OutOfMemoryError</code>, no Tomcat log, just a dead JVM you find in <code>dmesg</code>. Setting a bound converts a silent kill into a catchable <code>OutOfMemoryError: Metaspace</code> you can alert on, and Metaspace must be watched separately because heap metrics never cover it.

⚠

Reading average latency instead of percentiles

<code>processingTime / requestCount</code> is a mean: a p50 of 100ms with a p99 of 15s still averages to a 'healthy' 200ms while one request in a hundred waits fifteen seconds. Stuck threads averaged against fast requests vanish entirely. Percentiles need the access log with <code>%D</code> or <code>%T</code> — neither is in the default or 'combined' pattern.

⚠

Leaving outbound calls without timeouts

The default socket timeouts in many HTTP clients, <code>HttpURLConnection</code>, and JDBC drivers are infinite, so a single hung downstream pins a worker thread forever and pool exhaustion becomes inevitable. Thread-pool exhaustion is almost always a backend problem, not a Tomcat one. Set connect and read timeouts on every outbound call, and add the StuckThreadDetectionValve to catch the ones you missed.

⚠

Running the default file-descriptor ulimit

The default ulimit of 1024 (or 4096) is exhausted quickly — every socket, JAR, log file, and NIO selector is an FD — and at the limit Tomcat can neither accept a connection nor rotate a log, which is routinely misdiagnosed as a disk or network fault. Production wants 65535, raised in both the OS limits and the systemd unit, with an alert past 80% usage.

⚠

Alerting on errorCount as if it were 5xx

The JMX <code>errorCount</code> lumps every status at or above 400 together, so 404 crawler noise inflates it and it can never safely page. A 503 from Tomcat means thread or connector saturation; a 500 is an application exception; a flood of 401/403 is auth probing. Splitting 5xx from 4xx requires parsing the access log by status code.

⚠

Leaving the Manager app, AJP, and shutdown port at defaults

The Manager app can deploy a WAR — remote code execution — so default credentials in <code>tomcat-users.xml</code> are the most exploited Tomcat vector; the AJP connector was unauthenticated before 9.0.31 (Ghostcat, <code>CVE-2020-1938</code>); and anyone who reaches port 8005 can send <code>SHUTDOWN</code> and stop the server. Restrict them with <code>RemoteAddrValve</code>, bind to localhost, or remove them entirely in production.

Tomcat runbooks in this section

Each guide is a focused runbook for one symptom or topic. Pick one when you have an incident, or use the categories to learn the area.

▸

Start here

  • ▸ Tomcat monitoring checklist →
  • ▸ How Tomcat works in production →
  • ▸ Tomcat monitoring maturity model →
▸

Process, connector, and availability

  • ▸ Process not running →
  • ▸ Accepts connections but never responds →
  • ▸ BindException: Address already in use →
▸

Thread pool and request capacity

  • ▸ Thread pool exhaustion →
  • ▸ HTTP 503 Service Unavailable →
  • ▸ maxThreads and minSpareThreads tuning →
  • ▸ Threads busy but CPU idle →
  • ▸ Virtual threads (JDK 21+) →
▸

Heap, GC, and OutOfMemoryError

  • ▸ OutOfMemoryError: Java heap space →
  • ▸ OutOfMemoryError: GC overhead limit exceeded →
  • ▸ GC death spiral →
  • ▸ Heap: watch the post-GC baseline →
  • ▸ Frequent Full GC →
  • ▸ Heap dump before restart →
▸

Metaspace, classloaders, and redeploy leaks

  • ▸ OutOfMemoryError: Metaspace →
  • ▸ Classloader leak on redeploy →
  • ▸ Failed to stop thread on undeploy →
  • ▸ NoClassDefFoundError after redeploy →
  • ▸ MaxMetaspaceSize unset →
▸

Connectors, connections, and the accept queue

  • ▸ Connection refused →
  • ▸ maxConnections saturation →
  • ▸ Accept queue overflow →
  • ▸ Slowloris slow-client attack →
  • ▸ Keepalive and connectionTimeout →
▸

Latency, throughput, and error rates

  • ▸ Request processing time climbing →
  • ▸ Average latency lies (p95/p99) →
  • ▸ Request throughput dropping →
  • ▸ Access log setup (%D and %T) →
  • ▸ 5xx error rate →
▸

Stuck threads, backends, and JDBC pools

  • ▸ Stuck threads (StuckThreadDetectionValve) →
  • ▸ JDBC pool exhaustion →
  • ▸ JDBC connection leak →
  • ▸ Missing outbound timeout →
  • ▸ Reading thread dumps with jstack →
▸

HTTP sessions and session memory

  • ▸ activeSessions growing (session leak) →
  • ▸ Sessions eating the heap →
  • ▸ Session timeout and maxActiveSessions →
▸

File descriptors, native memory, and OS limits

  • ▸ Too many open files →
  • ▸ File descriptor usage vs the ulimit →
  • ▸ OutOfMemoryError: unable to create new native thread →
  • ▸ RSS growing while heap looks flat →
▸

Deployment, contexts, and app lifecycle

  • ▸ Context in FAILED state →
  • ▸ SEVERE Error deploying web application →
  • ▸ Hot redeploy vs clean restart →
▸

Manager app, AJP, TLS, and ports

  • ▸ Manager app exposed →
  • ▸ Ghostcat (CVE-2020-1938) →
  • ▸ Shutdown port 8005 exposed →
  • ▸ Weak TLS on 8443 →
  • ▸ 401 flood / Manager brute force →
WHERE TO GO NEXT

Setting up Tomcat monitoring, or putting out a fire?

If you're starting from scratch, the monitoring checklist is the path of least regret. If you're mid-incident, jump straight to the symptom that matches what you're seeing.

> Start with the checklist > Back to Operations Guides
  • Tomcat
  • Java
  • Troubleshooting
  • Web Server Monitoring
  • Memory
  • Incident Response
  • Alerts

Observability without surprise bills starts now.

Why keep guessing what your observability will cost—when you can monitor everything at a flat, predictable price?

No surprise bills

No usage-based traps

No compromises on visibility

Product

Live Demo Netdata Agents Netdata Parents Netdata Cloud SaaS Netdata Cloud On-Prem Netdata UI Mobile Apps
  Integrations
 

Pricing

Pricing Plans ROI Calculator Contact Sales Partnerships For Enthusiasts Referral Program

AI & ML

AIOps AI Co-Engineer AI Reporting AI Chat (MCP) Root Cause Analysis Blast Radius Detection Anomaly Advisor

Architecture

Zero Configuration Algorithmic Dashboards Real-Time at Scale Infinite Scalability

Data Platform

Metrics Management Logs Management Alerts & Notifications OpenTelemetry

Network

Network Monitoring Dashboard Topology Viewer NetFlow Traffic Analyzer SNMP Trap Monitoring SNMP Device Monitoring Network Device Auto-Discovery

Built For

DevOps SREs DBAs SysAdmins Platform Engineers Operations Centers Developers Freelancers MSPs

Enterprise

Access Control Team Collaboration Data Sovereignty Zero Downtime

Success Stories

Case Studies

Industries

AI & ML Finance Healthcare Gaming Government Technology

Technologies

Kubernetes AWS Linux Windows

Use Cases

Infrastructure Monitoring Container Monitoring Database Monitoring Application Performance Azure → Azure Local

Resources

Ask Nedi Documentation Blog Academy Operations Guides Monitoring 101 Support Community Comparisons Best Infrastructure Monitoring Tools Best Container Monitoring Tools

Company

About Us Our Values Open Source Join Us Contact Us Terms of Service Privacy Policy Fair Usage Policy
Netdata

© 2026 Netdata Inc.

Ask Nedi GitHub LinkedIn YouTube Twitter Facebook Reddit Discord

© 2026 Netdata Inc.

Book Your Free Demo

See how Netdata can improve visibility, reduce downtime, and simplify monitoring — no commitment required.

↑↓ navigate ↵ open esc close Search by Algolia