أهم النقاط
- A 503 is temporary: maintenance, overload or limits.
- Delete a leftover WordPress .maintenance file to fix a stuck update.
- Caching and blocking abusive bots prevent most traffic-related 503s.
A 503 Service Unavailable response says the server is reachable but can’t serve the request right now. Unlike a 500, a 503 is meant to be temporary.
Common causes
- Maintenance mode. WordPress shows a 503 while it updates, using a
.maintenancefile. If an update was interrupted, that file can stay behind. - Resource limits. On shared hosting, each account has limits on processes and memory. When a traffic spike or a heavy script hits them, new requests get a 503.
- Overloaded application. On a VPS, the app or PHP workers are all busy.
- Bots and abusive traffic consuming all available workers.
How to fix it
- Remove a stuck maintenance file. In File Manager, delete
.maintenancefrom the WordPress root folder, then finish the interrupted update. - Check resource usage. In cPanel, open Resource Usage. If you see limits being hit at the time of the errors, identify what consumed them — usually a plugin, a cron job or a crawler.
- Add caching. Serving cached pages uses a fraction of the resources of building each page in PHP. A caching plugin or a CDN often removes 503s caused by traffic spikes.
- Block bad bots. Check access logs (Metrics → Raw Access) for single IPs or user agents making thousands of requests, and block them.
- Scale up. If real traffic regularly exceeds your plan, move to a higher plan or a VPS with more workers.