503
HighWeb Server

Service Unavailable

What 503 Means

The 503 error on the Nginx Server-Errors indicates service unavailable. This typically occurs due to nginx worker connection limits reached.

Within Nginx, a 503 is primarily dispatched when the server is actively refusing connections due to intentional rate limits or when backend upstream servers are temporarily taken out of the pool.

Technical Background

Unlike a 502 Bad Gateway where Nginx tries to connect and fails, a 503 means Nginx knows it shouldn't even attempt to serve the request right now.

It heavily signifies a temporary capacity issue rather than a fundamentally broken software path.

Common Causes

  • Nginx worker connection limits reached
  • Upstream server is temporarily down for maintenance
  • Rate limiting module triggered actively

Typical Scenarios

  • A massive surge of traffic maxes out the `worker_connections` setting.
  • The `limit_req` directive aggressively kicks in during a DDoS attempt.
  • An upstream proxy is manually marked as 'down' in the upstream block.

What to Know

Monitor Nginx worker limits and review `limit_req` zones if this happens during normal traffic flows.

Frequently Asked Questions

Common questions about Nginx 503 error

A 502 means Nginx tried to reach the backend app and it crashed. A 503 means Nginx is intentionally refusing traffic due to overload or maintenance.

Related Error Codes