503 Service Temporarily Unavailable

发布时间 2023-06-15 10:11:16作者: 刘俊涛的博客

请求不可用

基本处理步骤

1.Restart/reboot the servers
2.Check for unexpected automatic maintenance
3.Check on your bandwidth
4.Check server connectivity on the server chain
5.Check the firewalls
6.Check the logs
7.Check the code


1.重新启动/重新启动服务器
2.检查意外自动维护
3.检查您的带宽
4.检查服务器链上的服务器连接
5.检查防火墙
6.检查日志
7.检查代码

其他方法

1.放开防火墙
2.检查最新是否有安装新的插件或扩展
3.资源监控日志
4.flush DNS缓存

资源问题:可考虑磁盘、网络、内存等

Origin server does not have enough capacity to support the request rate

resource constraints at the edge location

down for maintenance or that is overloaded.

修复任何问题之前 ,记得备份你的应用;

检查logs

  • 应用日志

  • 服务器日志

如果使用的是WordPress

Browser cache
Incorrect database login credentials
Corrupted database
Corrupted files in your WordPress installationo Issues with your database server
Corrupted WordPress core files
Corrupted.htaccess file and PHP memory limit
Issues with third-party plugins and themes

PHP timing out or fatal PHP errors
Wrong file and folder permissions
Exhausted PHP memory limit on your server 
Corrupted or broken .htaccess file
Errors in CGl and Perl script

Deactivating your plugins
Switching to a default theme
Disabling your CDN
Limiting the WordPress Heartbeat APi
Increasing your server's resources
Enabling WP_DEBUG


There is a high number of requests being sent to the server, exhausting all the available resources.
The server is experiencing technical issues or maintenance work.
The server could be under a Denial of Service (DDoS) attack.


浏览器缓存
数据库登录凭证不正确
损坏的数据库
您的WordPress安装中损坏的文件
数据库服务器出现问题
WordPress核心文件损坏
损坏的.htaccess文件和PHP内存限制
第三方插件和主题问题

PHP超时或致命的PHP错误
文件和文件夹权限不正确
您的服务器上PHP内存限制已用尽
损坏或损坏的.htaccess文件
CGI和Perl脚本中的错误

停用插件
切换到默认主题
禁用CDN
限制WordPress Heartbeat API
增加服务器资源
启用WP_DEBUG


向服务器发送大量请求,耗尽所有可用资源。服务器出现技术问题或需要进行维护。
有可能是因为遭受了拒绝服务(DDoS)攻击。



欢迎关注公-众-号【TaonyDaily】、留言、评论,一起学习。

Don’t reinvent the wheel, library code is there to help.

文章来源:刘俊涛的博客


若有帮助到您,欢迎点赞、转发、支持,您的支持是对我坚持最好的肯定(_)