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 / apache-httpd / apache-httpd-ssl-session-cache ▌

Operations Guides

Apache SSL session cache: shmcb sizing, sharing, and silent eviction

A full TLS handshake is the most CPU-intensive thing Apache does per connection. Session resumption exists to avoid paying that cost on every reconnect: a client that recently completed a handshake can resume instead of redoing the asymmetric cryptography. When resumption silently stops working, every connection pays full price, and the only symptom is rising CPU with no error in the log.

The most common way resumption breaks in Apache 2.4 is the server-side session cache: it was never configured (the default is no cache at all), it is not shared across child processes, or it has quietly filled up. A full shmcb cache logs nothing. It evicts old sessions, the resumption rate drops, and CPU climbs. This article covers how the cache works, how session IDs differ from session tickets, how to size shmcb, and how to detect the silent-full condition from resumption rate and cache statistics.

What the session cache is and why it matters

TLS offers two resumption mechanisms with completely different server-side requirements:

Session IDs (server-side cache). After a full handshake, the server stores the negotiated session parameters under an ID and hands that ID to the client. On reconnect, the client presents the ID; the server looks it up and, if found, resumes. The critical property: the lookup happens in server memory. Apache runs many child processes, and a reconnecting client will very likely land on a different child than the one that created the session. Unless the cache is shared memory, resumption only works within the originating child. On a server with dozens of children, most resumption attempts miss and fall back to a full handshake.

Session tickets (RFC 5077). The server encrypts the session state into a ticket and hands it to the client. On reconnect, the client presents the ticket; the server decrypts it and resumes. No server-side storage is involved, so tickets work across child processes automatically, with no shmcb cache at all. In Apache 2.4.11 and later, SSLSessionTickets defaults to on.

The catch with tickets is key management. Without SSLSessionTicketKeyFile, mod_ssl generates random ticket keys at startup, so tickets are invalidated by every restart and cannot be shared across a cluster of Apache nodes behind a load balancer. The mod_ssl documentation also warns that using tickets without restarting the web server with appropriate frequency (for example daily) compromises perfect forward secrecy, because the same ticket key protects all resumed sessions. Session IDs in a shared cache do not have that property.

The operational position for most deployments: use shmcb for session IDs, and make a deliberate decision about tickets rather than inheriting the default.

How shmcb works

shmcb is a shared-memory cyclic buffer provided by mod_socache_shmcb. You configure it with:

SSLSessionCache shmcb:/var/run/httpd/ssl_scache(512000)
SSLSessionCacheTimeout 300

The path is a data file used to coordinate the shared segment; the size in parentheses is the buffer size in bytes. SSLSessionCacheTimeout defaults to 300 seconds and controls how long a cached session stays valid. Since Apache 2.4.10, the same timeout also applies to session tickets.

Three behaviors matter operationally:

  1. The buffer is cyclic. When it fills, old entries are scrolled out to make room for new ones, before they would have expired naturally. Eviction is first-in, first-out: the mod_socache_shmcb source walks the queue forward from the oldest entry, discarding one after another until space frees, and appends the new entry at the end. There is no LRU behavior. It is eviction by overwrite, not an error condition as far as Apache is concerned.

  2. Eviction is silent. Nothing is logged when sessions are scrolled out. The only symptoms are a falling resumption rate and rising CPU from full handshakes: everything looks configured, and nothing complains.

  3. The socache module must be loaded. In Apache 2.2 the shmcb cache was built into mod_ssl itself; 2.4 moved it to the separate mod_socache_shmcb module. Most distribution packages load it by default, but if it is missing, configuring SSLSessionCache shmcb:... fails at startup with SSLSessionCache: 'shmcb' session cache not supported … Maybe you need to load the appropriate socache module (mod_socache_shmcb?). This is the classic 2.2-to-2.4 migration trap. There is also a related failure, AH00820: shared memory segment too small, reported by operators when the configured size cannot accommodate the session volume; one reported case was resolved by explicitly setting SSLSessionCacheTimeout 300 so entries expired instead of accumulating.

flowchart TD
  C[Client reconnects] --> D{Resumption offered}
  D -->|Session ID| L[shmcb lookup in shared memory]
  L -->|Hit| R[Resumed session, cheap]
  L -->|Miss or evicted| F[Full handshake, expensive]
  L -->|Cache full: oldest scrolled out| F
  D -->|Session ticket| T[Decrypt ticket with ticket key]
  T -->|Key valid| R
  T -->|Key rotated or restart| F
  F --> CPU[Rising TLS CPU, no error logged]

Note the structural difference: the ticket path never touches the cache. The session-ID path depends entirely on it.

Where this shows up in production

After any restart. The session cache lives in memory. Every restart, graceful or hard, empties it, and the server takes a burst of full handshakes while it refills. This is normal cold-start behavior, but on a CPU-constrained box it can be a visible latency event. Frequent restarts (aggressive config management, log rotation that signals Apache to restart) make it a recurring tax rather than a one-time one.

Behind a load balancer with multiple Apache nodes. A client resumed on node A may reconnect to node B. shmcb is per-host shared memory; it is not shared across servers. Session tickets with a shared SSLSessionTicketKeyFile (a 48-byte key distributed to all nodes) are the standard answer for cross-node resumption. Without a shared key file, each node generates random keys at startup and cross-node resumption fails silently. Ticket key rotation requires a restart, and all existing tickets become invalid at that point.

As a CPU mystery. The signature is high CPU plus a high SSL connection rate plus an underperforming resumption rate. There is no dedicated Apache metric for handshake cost; you infer it from connection rate to port 443, CPU patterns, and the resumption rate itself.

Sizing the cache

The official mod_ssl documentation gives no sizing formula. The commonly used example, 512000 (500 KB), is a starting point, not a recommendation for your traffic. The honest method is empirical: configure a size, watch the cache statistics, and grow it until eviction stops.

The inputs to your estimate:

  • New full handshakes per second. Each one inserts an entry. This is your insertion rate.
  • SSLSessionCacheTimeout. Entries live for this long (default 300 s). Target capacity is roughly insertion rate times timeout, times per-entry size. Official sources give no per-entry size; operator estimates put a session entry at roughly 200-300 bytes, so validate against your own mod_status numbers.
  • Headroom for bursts. A reconnect storm (mobile clients moving networks, a client fleet restarting after an outage) inserts at many times the steady-state rate.

Worked example with the unverified per-entry estimate above: at 50 new sessions per second and a 300 s timeout, you need capacity for about 15,000 live entries. At ~250 bytes each, that is roughly 3.75 MB, so the default-ish 500 KB example would evict aggressively under this load. Size up, then confirm with the counters below rather than trusting the arithmetic.

Do not overcorrect by setting an enormous timeout to avoid eviction. Long timeouts keep stale sessions in the buffer, increase the working set, and weaken the security property that old sessions die. Grow the buffer, keep the timeout sane.

Detecting the silent-full condition

mod_status exposes the socache statistics when the SSL session cache information is enabled (ExtendedStatus On). The counters you care about are: shared memory size, current entries, cache usage percentage, and the store/retrieve/eviction counters, including entries scrolled out before expiry and retrieve hits versus misses.

# The SSL cache block appears in the HTML status page, not the ?auto output
curl -s http://localhost/server-status | grep -iA25 "session cache"

# Direct resumption test against the live server:
# reconnects 5 times over one control connection and counts reused sessions
openssl s_client -connect localhost:443 -servername $(hostname) -reconnect 2>/dev/null | grep -c "Reused"

The openssl s_client -reconnect check is the ground truth: it performs repeated handshakes and reports how many were resumed. On a healthy cache you should see 5 of 5 reused (the control connection negotiates the session, then all reconnects resume it). Fewer means resumption is failing. Zero usually means no shared cache is configured at all (SSLSessionCache none is the 2.4 default, so a server that was never explicitly configured will fail this test).

Interpreting the mod_status counters:

Counter patternMeaning
Cache usage near 100%, scrolled-out counter increasingCache is full and evicting. Grow the buffer.
Retrieve misses dominating hits, usage lowClients are not returning (short revisit intervals) or timeout too short.
Retrieve misses high, usage highEviction is destroying sessions before clients come back.
All misses, usage near zero after trafficCache effectively unused. Check that SSLSessionCache is actually set and the socache module is loaded.

Correlate with two signals: CPU per connection on port 443 trending up while connection rate is flat, and time-to-first-byte creeping up as full handshakes get more common. Neither has an error log entry attached. That absence is the detection gap you have to close with monitoring.

Signals to watch in production

SignalWhy it mattersWarning sign
shmcb cache usage %Direct measure of fill levelSustained near 100%
Pre-expiry scrolled-out entriesThe eviction counter; the only record of silent evictionAny sustained increase
Retrieve hit/miss ratioEffective resumption rateHit rate below ~80% on a site with repeat visitors
openssl s_client -reconnect reuse countGround-truth resumption checkFewer than 5 of 5 reused
Apache CPU vs port-443 connection rateFull handshakes are the cost eviction createsCPU rising while connection rate is flat
Restart frequencyEvery restart empties the cacheMore restarts than deployments justify

How Netdata helps

  • Netdata charts Apache CPU utilization and connection counts per second, which makes the “CPU rising, connections flat” divergence visible as two curves separating, rather than something you infer during an incident.
  • The Apache collector samples server-status, so scoreboard and throughput context sit on the same dashboard as system CPU when you are ruling out other handshake-cost causes like a traffic spike or a new cipher configuration.
  • Because the silent-full condition logs nothing, the practical alerting path is this correlation: resumption proxies (cache statistics where collected, CPU per connection trend) against a baseline, with an alert on sustained deviation.
  • Netdata’s Apache HTTP Server monitoring with Netdata brings these signals together with per-second metrics and ML anomaly detection.
The Netdata solution

Apache HTTP Server monitoring with Netdata

Netdata monitors Apache HTTP Server with per-second metrics from mod_status, pre-built dashboards, and ML-powered anomaly detection. Watch busy versus idle workers and the scoreboard state mix, requests per second, bytes served per second, and request processing duration alongside the rest of your stack, so you catch the worker-exhaustion, slow-backend, and memory incidents in these runbooks before they page anyone.