HTTPfy

508 Loop Detected

WebDAV: the server found an infinite loop while processing a Depth: infinity request.

508 at a glance

Code
508
Name
Loop Detected
Class
5xx Server error
Status
IANA-registered standard code
Defined in
RFC 5842, Section 7.2
Cacheable by default
No by default. Caches store it only when the response carries explicit freshness (Cache-Control max-age, s-maxage or Expires).

What 508 means

508 Loop Detected (RFC 5842) means the server aborted an operation because the resource graph contains a cycle, typically through WebDAV bindings. Outside WebDAV, shared hosts running CloudLinux use 508 for "Resource Limit Is Reached" when an account exceeds its process or CPU limits.

What typically causes a 508

  • WebDAV bindings forming a cycle during PROPFIND or COPY with Depth: infinity.
  • CloudLinux LVE limits on cPanel shared hosting (entry processes, CPU) showing "508 Resource Limit Is Reached".

Fix it on the server

  • WebDAV: report already-seen members with 208 Already Reported instead of failing.
  • Shared hosting: reduce concurrent PHP processes (caching, fewer heavy plugins) or upgrade the plan limits.

Fix it as a client or visitor

  • Retry later; on shared hosting the limit resets once concurrent load drops.

Example response

HTTP/1.1 508 Loop Detected
Content-Type: application/xml; charset=utf-8

Opens the HTTP headers tool with your URL filled in; it shows the status line and headers of every redirect hop.