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-session-count-growing ▌

Operations Guides

Tomcat activeSessions growing without plateau: the session leak

The chart shows activeSessions from Catalina:type=Manager,host=localhost,context=/<app> climbing in a near-straight line. No plateau. You restarted Tomcat this morning, and by midafternoon the count is already back to where it was before the restart. Sessions are being created faster than they expire, and with the default 30-minute session-timeout, expiry is slow enough that the slope looks gentle until you compare it to the request rate.

This is a session leak, not a traffic spike. A spike produces a step up that plateaus at roughly peak_creation_rate * session_timeout. A leak has no plateau: the line keeps rising after traffic drops because sessions that should have expired are still pinned, or because new sessions are being minted faster than the background expiry loop can clear them.

The end state is mechanical. Tomcat’s default StandardManager keeps sessions as in-memory objects on the heap. Monotonic session growth is monotonic heap growth. Eventually the post-GC heap baseline rises to the point that Full GCs dominate execution, throughput collapses, and the JVM either throws OutOfMemoryError or livelocks. The session leak is rarely the incident you get paged for; the GC death spiral is. By the time you see the spiral, the session chart has been telling the story for hours.

The diagnostic path: confirm the leak is real (not a slow-expiry lag), then bucket the cause into one of three: the application never invalidates, expiry is blocked, or session creation is pathological.

What this means

A Tomcat session under StandardManager is a StandardSession held in a ConcurrentHashMap keyed by session ID. It exists from createSession() until expire() runs. Expiry is triggered in three ways:

  1. The container background process expires sessions whose lastAccessedTime + maxInactiveInterval is in the past. With default settings this runs roughly every minute: the engine background thread fires every 10 seconds and the session manager runs the expiry check on every sixth pass.
  2. Application code calls HttpSession.invalidate().
  3. The webapp is undeployed, expiring every session for that context.

If activeSessions is rising without plateau, one of these is failing to keep up with creation. Read the Manager MBean directly. activeSessions is not in the Manager status XML; you need JMX. Adjust the host and context in the object name to match your deployment.

# Read active and expired session counts for the ROOT context
echo 'get -b Catalina:type=Manager,host=localhost,context=/ activeSessions expiredSessions' | \
  java -jar jmxterm.jar -l localhost:9090 -n -v silent

Pair activeSessions with expiredSessions. The cumulative expiredSessions counter tells you whether expiry is happening at all:

  • expiredSessions is rising, but activeSessions still climbs: expiry is working, but creation is outpacing it. Look at the creation side (bots, JSP defaults, login churn).
  • expiredSessions is flat or barely moving while activeSessions climbs: expiry is broken or blocked. Look at the background thread, listener deadlocks, or a misconfigured timeout.

The rejectedSessions counter tells you whether maxActiveSessions is set. With the default of -1 (unlimited), there is no backstop; the count climbs until the heap runs out. rejectedSessions > 0 means a limit is configured and Tomcat is shedding new session creations. Users see errors, but the heap is protected.

flowchart td
    A[activeSessions rising, no plateau] --> B{expiredSessions rising too?}
    B -- Yes --> C[Creation outpaces expiry: bots, JSP session=true, login churn]
    B -- No --> D[Expiry broken: jstack background thread]
    D --> E{Thread blocked in listener?}
    E -- Yes --> F[HttpSessionListener deadlock]
    E -- No --> G[Verify session-timeout in web.xml]
    C --> H[Confirm slope drops after fix]
    F --> H
    G --> H

Common causes

CauseWhat it looks likeFirst thing to check
Application never calls invalidate() on logoutactiveSessions tracks active users, sessionMaxAliveTime is close to the configured timeout, expiredSessions rises slowlyGrep application code for session.invalidate() and audit logout paths
Crawler or bot session mintingHigh correlation between bot request volume and activeSessions slope; access log shows many requests with no JSESSIONID cookieFilter access log by user-agent and session-cookie presence
HttpSessionListener deadlock blocking expiryexpiredSessions flat; thread dump shows the container background processor thread BLOCKED inside a session listenerjstack the JVM and inspect the container background processor thread
JSP pages creating implicit sessionsEvery JSP hit mints a session, even for anonymous content; slope tracks total hits, not authenticated hitsGrep .jsp files for <%@ page session= directives
maxActiveSessions not configuredrejectedSessions always 0; no backstop before heap exhaustsConfirm context.xml or <Manager> has no maxActiveSessions attribute
Session timeout far longer than user activitysessionMaxAliveTime very high relative to typical sessions; long-running idle sessions accumulateInspect <session-timeout> in web.xml and any per-context overrides

Quick checks

All read-only except the heap dump. Run these before changing anything. If multiple Tomcat instances run on the host, target the correct PID instead of relying on pgrep.

# Per-context session attributes via JMX
echo 'get -b Catalina:type=Manager,host=localhost,context=/ activeSessions expiredSessions rejectedSessions sessionMaxAliveTime sessionAverageAliveTime' | \
  java -jar jmxterm.jar -l localhost:9090 -n -v silent

# Confirm expiry is actually happening: sample twice, 5 minutes apart
for i in 1 2; do
  echo 'get -b Catalina:type=Manager,host=localhost,context=/ expiredSessions' | \
    java -jar jmxterm.jar -l localhost:9090 -n -v silent
  sleep 300
done

# Heap pressure correlate: post-GC old gen baseline
jstat -gcutil $(pgrep -f 'catalina.startup.Bootstrap') 1000 5

# Thread state of the container background processor
jstack $(pgrep -f 'catalina.startup.Bootstrap') | \
  grep -A 5 -E "Catalina-utility|ContainerBackgroundProcessor"
# Top client IPs by request volume (proxy for bot/crawler activity)
awk '{print $1}' /var/log/tomcat/localhost_access_log.$(date +%Y-%m-%d).txt | \
  sort | uniq -c | sort -rn | head

# To check JSESSIONID cookie presence per request, the access log Valve must
# include %{Cookie}i in its pattern. The default pattern does not log cookies.

# Find JSP pages that do not opt out of session creation
grep -rni '<%@.*page.*session' $CATALINA_BASE/webapps/ 2>/dev/null | grep -v 'session="false"'

# Check configured session timeout and any per-context session limits
grep -A 2 'session-config' $CATALINA_BASE/conf/web.xml
grep -rni 'session-timeout\|maxActiveSessions' \
  $CATALINA_BASE/conf/ $CATALINA_BASE/webapps/*/WEB-INF/web.xml 2>/dev/null

How to diagnose it

  1. Confirm the slope is real, not a traffic artifact. Plot activeSessions alongside the request rate. A leak has the session line rising while the request rate is flat or dropping. A pure traffic spike plateaus within roughly one session-timeout of the traffic peak.

  2. Confirm expiry is happening. Sample expiredSessions twice, a few minutes apart. If the counter does not move at all, expiry is blocked; go to step 4. If it moves but activeSessions keeps rising, expiry is overwhelmed; go to step 3.

  3. If expiry is overwhelmed, identify the creation source. The fastest signal is the access log. Group requests by client IP and user-agent and count how many arrive without a JSESSIONID cookie. Crawlers that ignore cookies are the classic offender; each request mints a new session. If the application uses JSPs, verify that pages not needing a session have <%@ page session="false" %>.

  4. If expiry is blocked, take a thread dump immediately. The container runs session expiry on a background thread. A thread dump showing that thread BLOCKED inside an HttpSessionListener.sessionDestroyed call means listener code is holding a lock or deadlocking with a request thread. Frameworks that wrap the session lifecycle (Vaadin Flow is a documented case, vaadin/flow issue #12316) have hit this pattern.

  5. If neither creation nor expiry is obviously wrong, capture a heap dump before restarting.

    # WARNING: the :live option triggers a Full GC and pauses the JVM.
    # On JDK 11+ prefer: jcmd <pid> GC.heap_dump /path/to/heap.hprof
    jmap -dump:live,format=b,file=heap.hprof $(pgrep -f 'catalina.startup.Bootstrap')
    

    Inspect with Eclipse MAT. Look for retained StandardSession instances and what holds them. The leak is occasionally a custom HttpSessionActivationListener or a static collection caching session references.

  6. Do not restart as the first move. A restart clears the symptom and destroys the evidence. The thread dump and heap dump are what tell you which fix to deploy.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
activeSessions (per context)Direct measure of in-memory session countMonotonic rise without plateau over multiple session-timeout windows
expiredSessions (per context)Confirms the expiry loop is runningFlat or near-flat while activeSessions rises
rejectedSessions (per context)Tells you whether maxActiveSessions is set and being hitNon-zero means a limit exists and is shedding load
sessionMaxAliveTimeLongest-lived session observedClose to session-timeout suggests sessions live until forced expiry; far higher suggests a listener defect
JVM old gen post-GC baselineSessions are heap-resident; this is where leaks surfaceValley of the sawtooth trending up over hours
Full GC frequencyLate-stage signal of heap pressureAny sustained Full GC on G1 warrants investigation
Request rate without JSESSIONIDProxy for new-session creation rateDisproportionate to expected first-visit traffic

Fixes

Application never calls invalidate()

Add explicit session.invalidate() to logout and session-abandonment paths. Verify by watching expiredSessions rise during a controlled logout test. If session-timeout is long (hours) and most sessions are abandoned rather than logged out, lower the timeout to match actual user dwell time.

Tradeoff: lowering session-timeout shortens the idle window before users are forced to log in again. Coordinate with product.

Crawler or bot session minting

Install CrawlerSessionManagerValve in server.xml or context.xml. It identifies crawler user-agents and binds all their requests to a single session per client, collapsing the per-request session explosion (example: <Valve className="org.apache.catalina.valves.CrawlerSessionManagerValve" crawlerUserAgents=".*[bB]ot.*" sessionInactiveInterval="60" />).

Alternatively, mark crawler-facing pages with <%@ page session="false" %> so they do not mint a session at all. For endpoints that genuinely need no session (health checks, static content), ensure they do not call getSession(true).

HttpSessionListener deadlock

This requires code or framework changes. If the deadlock is in a framework, upgrade past the affected version. If the deadlock is in application listener code, remove the blocking work from sessionDestroyed: do it asynchronously, or before invalidation.

Tradeoff: moving work out of sessionDestroyed means it no longer runs under the session’s transactional context. Refactor accordingly.

Implicit JSP session creation

Audit JSPs and add <%@ page session="false" %> to any page that does not read or write session state. This is cheap and prevents the most common content-page leak.

Configure maxActiveSessions as a backstop

Set <Manager maxActiveSessions="..." /> in context.xml to a value sized to your heap. This does not fix the leak; it converts an OOM into user-visible errors and increments rejectedSessions, which your monitoring can alert on. Use it as a safety net, not a fix.

Prevention

  • Alert on monotonic growth. The cleanest rule: slope of activeSessions is positive across three consecutive session-timeout windows. This eliminates false positives from a single traffic spike.
  • Alert on expiry flatness. If expiredSessions is not moving over a window of a few minutes during which traffic is arriving, expiry is broken.
  • Alert on rejectedSessions > 0. Even one rejected session means a configured limit is being hit and real users are seeing failures.
  • Always set maxActiveSessions. It is the difference between slow degradation and a hard OOM. Size it from (post-GC heap headroom) / (average session size).
  • Audit JSPs for session="false" as part of deployment review.
  • Track framework session lifecycle bugs. For frameworks that hook session lifecycle, monitor upstream issue trackers for known deadlock or retention bugs.
  • Capture heap dumps on OOM. Use -XX:+HeapDumpOnOutOfMemoryError. The session leak shows up clearly in retained StandardSession objects.

How Netdata helps

  • Per-second JMX collection of activeSessions, expiredSessions, and rejectedSessions per context makes the slope visible before GC pressure starts.
  • Correlate session counts with the old-gen post-GC baseline in the same time window to confirm whether sessions are the heap consumer or a coincident signal.
  • Alert directly on rejectedSessions > 0 to catch when maxActiveSessions is being hit, rather than discovering it during an incident.
  • Per-second resolution distinguishes “expiry is slow” from “expiry is blocked”; minute-level granularity can hide the difference.