How to Fix HTTP 503 Service Unavailable Error

77 views
Short answer: Delete the .maintenance file from public_html, inspect cPanel Resource Usage for CPU/memory throttling, and switch PHP version to restart active worker pools.

Diagnose and resolve HTTP 503 errors caused by CloudLinux resource throttling, server load spikes, or active WordPress maintenance locks.

Before you start: Back up your site files and database and download the backup to your own computer. How to take a full backup

Quick reference

Common Causes 1. CloudLinux LVE limits reached | 2. LiteSpeed worker pool exhausted | 3. Leftover .maintenance file
Monitoring Tool cPanel > Metrics > Resource Usage
Fast Cache Defense LiteSpeed Cache (drops server load by 90%)

Quick diagnosis

Scenario & Suspected Cause Immediate Action & Remedy
Lingering WordPress maintenance lock Delete the .maintenance file from public_html via File Manager.
Account hit CloudLinux LVE limits (CPU/EP) Inspect Resource Usage in cPanel and throttle heavy backend cron loops or bot crawlers.
Stalled PHP worker processes Switch PHP version back and forth in Select PHP Version to restart user worker pools.
Layer-7 DDoS or aggressive traffic spikes Review raw visitors log in cPanel and block malicious IP ranges using IP Blocker.

Steps

  1. Check for Stuck Maintenance Mode: In File Manager, check if .maintenance exists in public_html. If so, delete it.
  2. Check Resource Usage: Go to Metrics > Resource Usage. If your site breached CPU or Entry Process (EP) quotas, LiteSpeed serves a temporary 503 to prevent server-wide instability.
  3. Purge LiteSpeed Cache: In cPanel, navigate to Advanced > LiteSpeed Web Cache Manager and click Flush All.

Troubleshooting and tips

  • Recurring 503 at Specific Times: Look for scheduled database backups or high-frequency cron jobs running during peak hours. Reschedule heavy tasks to off-peak times (e.g. 2:00 AM).
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket
Was this article helpful?
No, I need more help
Didn't find your answer?
Under 3 minutes
Submit Support Ticket