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-503-service-unavailable

Operations Guides

HAProxy 503 Service Unavailable: no server is available to handle this request

Clients are getting 503 Service Unavailable with the message no server is available to handle this request. HAProxy generated this error. Unlike a 500 from your application or a 502 from a broken backend response, a 503 with this message never touched a backend server. HAProxy looked at its own state, concluded it had nowhere to send the request, and answered on its own.

That narrows the diagnostic question to: why did HAProxy believe no server was available? The honest answers are a short list. Every server in the backend is DOWN or in MAINT. The request waited in queue too long and expired. The queue overflowed. The frontend had no matching backend at all. Or connection admission was saturated and the request was rejected before dispatch.

This page walks through distinguishing those causes using the stats socket and log termination codes, and separating a HAProxy-generated 503 from backend 5xx errors and from the neighboring 502 and 504 codes.

What this means

HAProxy returns a 503 to the client in these situations:

  • No UP server exists in the backend. All servers are DOWN, in MAINT, or DRAIN. The backend’s aggregate status flips to DOWN, and 100% of requests routed to it get a 503. In TCP mode the equivalent is a connection reset, not a 503.
  • The request expired in the queue. The chosen server and backend were at their connection limits, the request waited in queue, and timeout queue fired before a slot opened. The log shows the sQ termination state. If timeout queue is unset, it defaults to the value of timeout connect.
  • The queue overflowed. If maxqueue is set on a server and the queue reaches that limit, further requests are refused rather than queued. With the default maxqueue 0, the queue is unlimited, so overflow-driven 503s only happen when an operator has set a bound.
  • No backend was selected. ACLs did not match any use_backend rule and no default_backend exists, or the named backend does not exist. The log shows <NOSRV> as the server name.
  • Admission was saturated. Global or per-frontend maxconn was reached, so the connection was rejected before a server was ever considered.

The signature that ties all of these together is the frontend-vs-backend 5xx delta. A HAProxy-generated 503 increments hrsp_5xx on the frontend row but not on any backend or server row, because no server responded. If frontend 5xx is climbing while backend 5xx stays flat, HAProxy is the source.

flowchart TD
  A[Client gets 503] --> B{Frontend 5xx rising,
backend 5xx flat?} B -- No --> C[Errors come from backends.
Not a HAProxy 503 problem.] B -- Yes --> D{Backend aggregate
status UP?} D -- DOWN --> E[All servers DOWN or MAINT.
Check per-server status and last_chk.] D -- UP --> F{qcur nonzero or
sQ in logs?} F -- Yes --> G[Queue expiry or overflow.
Check scur/slim, maxqueue, timeout queue.] F -- No --> H{<NOSRV> in logs?} H -- Yes --> I[Routing gap: no ACL match,
missing default_backend.] H -- No --> J[Admission saturation:
scur at slim, maxconn reached.]

Common causes

CauseWhat it looks likeFirst thing to check
All servers DOWNBackend row status = DOWN, act = 0, last_chk shows L4TOUT/L4CON/L7STSPer-server status and last_chk in show stat
Servers in MAINT or DRAINact count lower than configured servers, statuses MAINT/DRAINshow servers state for who set it and when
Queue expiryqcur nonzero, qtime elevated, sQ termination in logsqcur, scur/slim per server, timeout queue config
maxqueue overflow503s under burst load only, maxqueue set in configServer maxqueue value and queue depth at incident time
maxconn saturationscur at slim, frontend rejecting connections, possibly low CPUCurrConns vs Maxconn in show info
Routing gap<NOSRV> in logs, 503 on specific URL patterns onlyFrontend ACLs and default_backend in the config
Health checks green, app brokenBackend 5xx tracks frontend 5xx, servers all UPPer-server hrsp_5xx; see the dedicated guide below

Quick checks

All read-only, run against the runtime socket. Adjust the socket path if yours differs.

# 1. Prove the event loop is alive before trusting any stats
echo "show info" | socat unix-connect:/var/run/haproxy.sock stdio | head -1

# 2. Backend aggregate status: DOWN means every request gets a 503
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 == "BACKEND" {print $1": status="$18" act="$20" bck="$21}'

# 3. Per-server status and last health check result
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 != "FRONTEND" && $2 != "BACKEND" {print $1"/"$2": status="$18" last_chk="$37}'

# 4. Queue depth and session saturation per backend/server
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 != "FRONTEND" {print $1"/"$2": qcur="$3" scur="$5" slim="$7}'

# 5. Frontend vs backend 5xx: is HAProxy generating the errors?
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '{print $1"/"$2": 5xx="$43}'

# 6. Global connection saturation
echo "show info" | socat unix-connect:/var/run/haproxy.sock stdio | \
  grep -E "^(CurrConns|Maxconn|Uptime_sec|Stopping):"

# 7. Termination codes and server names from the log
# Look for sQ (queue expiry), SC/sC (connect refused/timeout), <NOSRV> (no backend)
grep " 503 " /var/log/haproxy.log | tail -20

How to diagnose it

  1. Confirm the 503 is HAProxy-generated. Compare hrsp_5xx on the frontend row against the backend and server rows for the same window. If the frontend count climbs and backend rows do not, HAProxy produced the errors. If they climb together, the backends are returning the 5xx and this is an application problem, not an availability problem. These counters reset on reload; use Uptime_sec to sanity-check your deltas.

  2. Check backend aggregate status. A BACKEND row with status = DOWN means zero available servers and a guaranteed 503 for every routed request. If DOWN, move to per-server rows: status plus last_chk tells you why each server was marked out. L4TOUT and L4CON mean HAProxy cannot reach the server at all. L7STS means the health check got the wrong HTTP status. Also check act: a backend can show UP with one surviving server while capacity is critically low.

  3. If the backend is UP, look at the queue. Nonzero qcur with sQ termination codes in the log means requests waited in queue past timeout queue and were expired with a 503. The upstream cause is server saturation: every server at scur == slim, so nothing frees a slot in time. Check per-server scur/slim and rtime. Slow responses hold slots longer and feed the queue.

  4. Check for routing gaps. If the log shows <NOSRV> as the server name for the 503 requests, HAProxy never selected a backend. Typical reasons: an ACL did not match, default_backend is missing, or a use_backend rule names a backend that does not exist. This often appears after a config change and affects only specific URL patterns or hosts.

  5. Check admission limits. CurrConns approaching Maxconn in show info, or a frontend scur at its slim, means connections were rejected before routing. A useful tell: Idle_pct may look healthy because HAProxy is not overloaded with work, it is simply full. High scur with low req_rate points at idle or long-lived connections holding slots.

  6. Separate from 502 and 504. The termination code in the log disambiguates: SC means the connection to the server was actively refused (likely a 502 or 503), sC means timeout connect fired (503 or 504), sQ means queue expiry (503), and SH/sH with a full timeout points at timeout server (504). If you are seeing 504s with servers UP and rtime climbing, that is the timeout cascade, not a 503 availability problem.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Backend row statusDOWN means 100% of routed requests get 503Any production backend DOWN
act per backendActive server count; cascade risk when shrinkingBelow 50% of configured servers, or 1 remaining
Frontend minus backend hrsp_5xx deltaIsolates HAProxy-generated errors from backend errorsDelta rising while backend 5xx flat
qcur / qtimeRequests waiting for a server slot; precedes sQ expiriesAny sustained nonzero value
Per-server scur/slimServers at maxconn feed the queueRatio above 90% on all servers in a backend
CurrConns vs MaxconnGlobal admission limitRatio above 90%
last_chk per serverExact health check failure reasonL4TOUT, L4CON, L7STS appearing
wretr / wredisHAProxy masking instability before it becomes 503sSustained nonzero rate

Fixes

All servers DOWN

Fix the health check failure reason, not HAProxy. L4CON/L4TOUT means a network, port, or process problem on the server side. L7STS means the health check endpoint is returning an unexpected status, so verify the endpoint against the application. If several servers are flapping and redistributing load onto survivors, put the worst offenders into MAINT to stop the flap loop while you fix the root cause:

# Disruptive: takes the server out of rotation. Use deliberately.
echo "set server <backend>/<server> state maint" | socat unix-connect:/var/run/haproxy.sock stdio

Queue expiry and overflow

The 503s are a symptom of backend saturation, so the durable fix is capacity: more servers, higher per-server maxconn if the application can absorb it, or faster backend responses. Shorter term, raising timeout queue lets requests wait longer instead of failing, at the cost of longer client-visible latency under saturation. Removing a tight maxqueue converts instant 503s into queued waiting, which is usually better for users but delays the failure signal. Do not just raise every limit without watching qcur and qtime afterward; you can convert fast, visible failures into slow, invisible ones.

Routing gaps

Fix the config: add the missing default_backend, correct the ACL, or point use_backend at a backend that exists. Validate with haproxy -c -f /etc/haproxy/haproxy.cfg before reloading. Config validation catches a nonexistent backend reference, but it cannot catch an ACL that simply never matches your traffic.

maxconn saturation

Determine whether connections are busy or idle. High scur with high req_rate is a genuine traffic surge: raise maxconn (remember the file descriptor budget, roughly maxconn x 2 plus overhead) or scale horizontally. High scur with low req_rate is idle connections holding slots: tighten timeout client and timeout http-request, and investigate long-lived connections with show sess. Remember maxconn is enforced at four levels (global, frontend, backend, per-server); a per-server limit can cause 503s while the global limit has plenty of headroom.

Prevention

  • Alert on backend aggregate DOWN with traffic confirmation. Page when a backend is DOWN and the frontend has req_rate > 0 or a rising 5xx rate, sustained past a short grace period, with an Uptime_sec gate to ignore cold start.
  • Alert on the frontend-minus-backend 5xx delta. It catches every HAProxy-generated error class (503, 504, 502) faster than per-backend investigation.
  • Watch act per backend, not just aggregate status. A backend at one surviving server is one failure from a 503 storm. Page-worthy when survivors are also loaded (scur/slim high or qcur > 0).
  • Track qcur and qtime as leading indicators. Queuing appears before sQ expiries. Any sustained nonzero queue in a system that normally runs at zero deserves a ticket.
  • Watch wretr/wredis. Rising retries mean HAProxy is compensating for instability that will become visible 503s when compensation runs out.
  • Set timeout queue and per-server maxconn deliberately. Defaults are permissive in different ways: unlimited queue time falls back to timeout connect, and servers have no connection limit unless you set one. Both decisions shape how saturation surfaces.

How Netdata helps

  • Netdata collects the HAProxy stats CSV continuously, so hrsp_5xx per frontend, backend, and server becomes a time series. The frontend-minus-backend delta that identifies a HAProxy-generated 503 is a direct chart correlation instead of a manual diff during an incident.
  • Per-server status, act, and chkdown trends show a backend losing servers over hours, which is the most common path to the all-DOWN 503 storm.
  • qcur, qtime, and per-server scur/slim on the same dashboard let you see queue-driven 503s forming before timeout queue starts expiring requests.
  • Counter resets on reload are handled automatically, so reload storms do not produce phantom 5xx drops or spikes in the middle of your diagnosis.
  • Correlating econ, wretr, and rtime per server alongside 5xx rates separates “server unreachable” from “server slow” from “server failing fast” without log diving as the first step.
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.