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 / haproxy / haproxy-listen-queue-overflow-somaxconn

Operations Guides

HAProxy kernel accept-queue overflow: silent SYN drops and somaxconn

Clients report connection timeouts. You open the HAProxy stats page and everything looks fine: session rate is normal, no 5xx spike, servers are UP, Idle_pct is healthy. The network team sees nothing. The clients insist the load balancer is dropping them.

Both sides are right. The kernel is silently dropping SYN packets in the accept queue before they ever reach HAProxy’s event loop. From HAProxy’s perspective, those connections never existed. There is no log line, no error counter, no stat field that increments. The only evidence lives in two kernel counters, ListenOverflows and ListenDrops, that almost nobody graphs.

This guide shows how to confirm it in under five minutes, how to size the fix, and how to monitor the right signals so it never becomes invisible again.

What this means

When a client opens a TCP connection to HAProxy, the path through the kernel looks like this:

flowchart LR
  C[Client SYN] --> SQ[SYN queue]
  SQ --> AQ[Accept queue
capped by somaxconn] AQ -->|accept| HA[HAProxy event loop] AQ -.->|queue full| DROP[SYN silently dropped
ListenOverflows +1] DROP --> CT[Client sees timeout] HA --> HB[HAProxy stats
show nothing wrong]

A new connection first lands in the SYN queue while the three-way handshake completes. Once the handshake finishes, the kernel moves the connection into the accept queue for the listening socket, where it waits for HAProxy to call accept(). The size of that accept queue is the backlog value the application passes to listen(), and here is the part that bites operators: if the backlog is larger than net.core.somaxconn, the kernel silently truncates it to somaxconn. No error, no log, no warning in haproxy -c.

When the accept queue is full, the kernel drops incoming SYNs (or the completed handshakes waiting in the queue, depending on the state). The client retransmits, eventually gives up, and reports a connection timeout. HAProxy never sees any of it.

Three things make the queue fill up:

  • The queue is too small for the burst. somaxconn (and net.ipv4.tcp_max_syn_backlog) is sized below the peak connection arrival rate.
  • HAProxy cannot call accept() fast enough. The event loop is saturated (check Idle_pct) or there are too few threads, so completed connections pile up in the kernel waiting to be accepted.
  • A genuine connection flood. DDoS, a misbehaving client retrying aggressively, or a thundering herd after an upstream outage.

One more trap: net.core.somaxconn is namespaced. If HAProxy runs in a container with its own network namespace, the container gets the kernel default, not the host’s tuned value. Tuning the host sysctl does nothing for the container’s sockets.

Common causes

CauseWhat it looks likeFirst thing to check
somaxconn too low for peak connection rateListenOverflows increments during traffic bursts only; fine at off-peakcat /proc/sys/net/core/somaxconn vs peak ConnRate
Kernel default still in effect (128 on old kernels, 4096 on modern)Overflow at surprisingly modest connection ratessysctl net.core.somaxconn; check container net namespace separately
Event loop too busy to accept fast enoughIdle_pct low or near zero, Recv-Q on listen sockets grows under loadshow info Idle_pct, show activity per-thread skew
Too few threads for the accept rateOne thread doing most accepts; overflow despite low global CPUshow activity per-thread loop and wakeup counters
Connection flood / SYN burstConnRate far above baseline, ListenDrops climbing fastConnRate vs SessRate in show info, stick-table conn_rate per source
Backlog silently truncatedHAProxy configured/derived backlog above somaxconn, kernel capped it without errorCompare intended backlog to ss -tln Send-Q on the listen socket

Quick checks

All of these are read-only and safe to run during an incident.

# 1. The smoking gun: listen overflow and drop counters
nstat -az | grep -i listen
# Look for TcpExtListenOverflows and TcpExtListenDrops.
# These are cumulative; take two samples a few seconds apart to get a rate.

# 2. Current accept-queue depth on HAProxy's listen sockets
ss -tln | grep -E ":(80|443|8404) "
# Recv-Q = connections currently waiting in the accept queue.
# Send-Q = the effective backlog (after kernel truncation to somaxconn).
# Recv-Q persistently near Send-Q means the queue is filling.

# 3. Effective backlog for a specific port, with process info
ss -plnt sport = :443

# 4. What the kernel cap actually is
cat /proc/sys/net/core/somaxconn
cat /proc/sys/net/ipv4/tcp_max_syn_backlog

# 5. If HAProxy runs in a container, check the namespace it actually uses
nsenter -t $(pgrep -x haproxy | head -1) -n cat /proc/sys/net/core/somaxconn

# 6. Can the event loop keep up? (proxy side)
echo "show info" | socat unix-connect:/var/run/haproxy.sock stdio | grep -E "^(Idle_pct|ConnRate|SessRate|CurrConns|Maxconn):"

# 7. Per-thread skew
echo "show activity" | socat unix-connect:/var/run/haproxy.sock stdio

Two things to keep in mind while reading these. First, ListenOverflows and ListenDrops are per-network-namespace counters, not per-socket and not HAProxy-specific. If the host (or namespace) runs other listening services, they contribute too; use ss Recv-Q per port to confirm HAProxy’s sockets are the ones filling. Second, SYN cookies (enabled by default via net.ipv4.tcp_syncookies=1) protect the SYN queue from SYN floods but do not prevent accept-queue overflow. The ListenDrops counter still increments with SYN cookies on, so “syncookies are enabled” is not a reason this cannot be happening.

How to diagnose it

  1. Confirm the symptom is pre-accept loss. Take two nstat -az | grep -i listen samples 10 seconds apart while clients report timeouts. If ListenOverflows or ListenDrops is incrementing at a nonzero rate, you have kernel-level drops. If both are flat, this article is not your problem; look at HAProxy connection errors (econ) or HAProxy 503 Service Unavailable instead.

  2. Confirm it is HAProxy’s sockets. Run ss -tln against HAProxy’s ports. If Recv-Q is hovering at or near Send-Q during the incident window, HAProxy’s accept queue is the one overflowing. Send-Q also tells you the effective backlog after kernel truncation, which is often smaller than you think.

  3. Determine whether the queue is too small or the consumer is too slow. Check Idle_pct in show info. If Idle_pct is below ~20% (and busy-polling is not enabled), the event loop is saturated and cannot accept fast enough; raising somaxconn will only buy a bigger buffer that drains too slowly. If Idle_pct is healthy and the queue still overflows during bursts, the queue is genuinely undersized for the arrival rate.

  4. Check the ConnRate vs SessRate gap. In show info, ConnRate counts connections arriving and SessRate counts sessions established. A persistent gap means connections are being lost or rejected before becoming sessions. The gap is not exclusively caused by accept-queue overflow (ACL denials and rate limits also contribute, via dcon/dses on frontend rows), but combined with incrementing ListenDrops it corroborates pre-accept loss.

  5. Check for thread skew. If nbthread > 1, run show activity and compare per-thread counters such as loop iterations and run-queue depth. One thread running far hotter than the others is a distribution problem; SO_REUSEPORT (via HAProxy’s shards bind option, available since 2.5) or thread tuning addresses it, not a bigger queue.

  6. Rule out a flood. If ConnRate is far above baseline, you may be absorbing a connection flood rather than a sizing problem. Check stick-table conn_rate per source if you track it, and frontend dcon/dses for TCP-level denials.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
TcpExtListenOverflows / TcpExtListenDrops (nstat, /proc/net/netstat)The only direct counter for silent pre-accept dropsAny sustained increment; normally zero or near-static
ss -tln Recv-Q vs Send-Q on HAProxy portsReal-time queue depth vs effective backlogRecv-Q persistently approaching Send-Q
ConnRate vs SessRate (show info)Gap hints at connections lost or rejected before sessionsGap growing during incident windows
Idle_pct (show info)Whether the event loop can drain the accept queueBelow ~20% sustained (invalid if busy-polling is on)
show activity per-thread countersHot-thread skew limits accept throughputOne thread doing most of the work
Frontend scur / slimSaturation backpressure slows acceptancescur approaching slim; see scur approaching slim
Frontend dcon / dsesTCP-level denials also widen the ConnRate/SessRate gapSpikes coinciding with the gap

Note the mirror-image failure on the other side: HAProxy’s own ctime (connect time to backends) rises when a backend’s accept queue overflows. Same kernel mechanism, opposite direction. If your symptom is high ctime rather than client-side timeouts, see HAProxy connect time (ctime) high.

Fixes

Raise net.core.somaxconn (and tcp_max_syn_backlog)

If the queue is undersized for your peak connection arrival rate and the event loop has headroom, raise the ceiling:

# Runtime (takes effect for sockets whose backlog exceeds the old cap;
# a HAProxy reload may be needed for the new value to apply to existing listeners)
sysctl -w net.core.somaxconn=65535
sysctl -w net.ipv4.tcp_max_syn_backlog=65535

Persist both in /etc/sysctl.conf or a drop-in under /etc/sysctl.d/. Sizing guidance: the queue absorbs bursts, so size it for the peak connection arrival rate multiplied by the worst-case accept latency you can tolerate, with margin. Modern kernels (5.4+) default to 4096; older kernels defaulted to 128, and many inherited configs still carry that. There is no meaningful cost to a larger cap: memory is only consumed by connections actually queued.

Two caveats. If HAProxy runs in a container, set the sysctl inside the container’s network namespace (or via the orchestrator’s sysctl support), because the namespace does not inherit the host value. And remember the truncation is silent: whatever backlog HAProxy requests, the effective value is min(backlog, somaxconn). Verify the result with ss -tln Send-Q after the change.

Add accept capacity: nbthread and SO_REUSEPORT

If the event loop cannot accept fast enough, a bigger queue just delays the drop. Spread the accept work:

  • Raise nbthread to use more cores, if the host has spare CPU and Idle_pct shows saturation.
  • Use shards on the bind line (HAProxy 2.5+) to create multiple listening sockets on the same address with SO_REUSEPORT. Each shard gets its own kernel accept queue, multiplying total queue depth and distributing accepts across threads. Verify with ss -tln that you now see multiple listeners.
  • nbproc is the legacy approach and is deprecated in favor of threads plus shards; do not build new deployments on it.

Reduce the burst at the source

If a flood is the cause, queue tuning treats the symptom. Options include rate limiting new connections per source IP with a stick table (conn_rate), fixing a retry-storming client, or absorbing the burst at an upstream layer. During an active flood, raising somaxconn still helps legitimate clients get through, but do not mistake that for the fix.

Do not restart HAProxy first

A restart will drain the queue and make the symptom briefly disappear, which is why this failure so often gets “fixed” without being diagnosed. It also costs you the nstat correlation window and resets all HAProxy counters. Check the counters first, then act.

Prevention

  • Graph ListenOverflows and ListenDrops on every HAProxy host. Alert on any sustained increment. This single panel converts the invisible failure into a 30-second diagnosis.
  • Alert on Recv-Q near Send-Q for HAProxy listen sockets as a leading indicator, before drops begin.
  • Graph ConnRate and SessRate together. A widening gap, correlated with dcon/dses and ListenDrops, tells you where connections are dying.
  • Size somaxconn and tcp_max_syn_backlog deliberately for peak connection rate, in the same sysctl drop-in, in every environment including container namespaces, and verify with ss Send-Q after every deploy.
  • Watch Idle_pct (or show activity run-queue depth under busy-polling) so you know whether accept capacity is a queue problem or a consumer problem before the next burst.
  • Load-test the accept path, not just request throughput. A burst of N new connections per second is a different workload than N requests over keep-alive sessions, and only the former exercises this queue.

How Netdata helps

  • Netdata collects the TCP extended counters from /proc/net/netstat, including ListenOverflows and ListenDrops, per second and per node, so the silent drop becomes a visible, alertable timeseries instead of a counter nobody reads.
  • The HAProxy collector pulls show info and stats CSV over the runtime socket, putting ConnRate, SessRate, Idle_pct, scur/slim, and dcon/dses on the same dashboard as the kernel counters, which is exactly the correlation this diagnosis needs.
  • Anomaly detection on ConnRate and session rate surfaces the burst that triggered the overflow, and anomaly flags on ListenDrops catch the first increments before clients notice.
  • Because Netdata monitors the host and HAProxy together, you can see in one view whether the event loop was saturated (Idle_pct collapsing) or idle (queue purely undersized) at the moment drops started, which determines which fix to apply.
The Netdata solution

HAProxy load balancer monitoring with Netdata

Netdata monitors HAProxy with per-second frontend, backend, and queue metrics plus ML-powered anomaly detection. Correlate maxconn saturation, queue buildup, health-check cascades, 5xx attribution, and file-descriptor exhaustion against the backend and host signals behind them, so you catch the incidents in these runbooks before they page anyone.