登录用户每5分钟出现一次常规503错误

时间:2017-10-28 作者:sw123456

我的wordpress网站上经常出现503个错误(每5分钟一次),包括我作为管理员的所有登录用户,这在过去几周一直在发生。我和GoDaddy在不同的日子里打了好几个小时的电话,GoDaddy让他们的后端团队运行了许多测试,并试图诊断问题。他们认为服务器运行良好(我的另一个站点位于同一台服务器上,没有遇到任何问题)。他们认为这是一个主题或插件问题,但在停用所有插件并更改主题后,问题仍然存在。

同样,只有登录的用户在登录5分钟后才会遇到此问题。等待几分钟(有时可以解决问题)或从其他浏览器访问主页(未登录)总是会使错误消失,直到接下来的5分钟结束。

这感觉就像是有一个循环过程在消耗资源,可能是由一个插件(即使在停用后也会继续)造成的,因为它只会影响登录的用户,如果它似乎与数据库连接问题有关?!

我真是不知所措,希望大家能帮助我解决这个问题。

下面是我尝试找出任何可能模式的日志:

Logging started at 12.37 GMT
All Plugins Disabled
Spacious Theme Active
Logged in and refreshing dashboard page every 3 seconds (using a chrome auto refresh addon):
12.39 - 503 error (error remains until I load homepage from another browser where I am not logged in)
12.45 - 503 error (error remains until I load homepage from another browser where I am not logged in)
12.50 - 503 error (error remains until I load homepage from another browser where I am not logged in)

12.50 Theme changed to AWADA (plugins still all deactivated)
Logged in and refreshing dashboard page every 3 seconds (using a chrome auto refresh addon):
12.56 - 503 error (error remains until I load homepage from another browser where I am not logged in)

12.57 Theme changed to HappenStance (plugins still all deactivated)
Logged in and refreshing dashboard page every 3 seconds (using a chrome auto refresh addon):
13.01 - 503 error (error remains until I load homepage from another browser where I am not logged in)

13.01 Theme changed back to Spacious (plugins still all deactivated)
Logged in and refreshing dashboard page every 3 seconds (using a chrome auto refresh addon):
13.06 - 503 error (error remains until I load homepage from another browser where I am not logged in)
13.12 - 503 error (error remains until I load homepage from another browser where I am not logged in)
13.17 - 503 error (error remains until I load homepage from another browser where I am not logged in)


Conclusion - This error occurs after 5 minutes and remains for the logged in user until the site is accessed by another - which seems to reset the issue.
All plugins were disabled and various themes used with the error continuing on a timed basis - plugins and themes therefore don\'t seem to be to blame.
请帮忙

编辑:这些是网站使用的插件:

高级Cron管理器

Akismet反垃圾邮件

联系人表格7

下载管理器

文件管理器

Google XML站点地图生成器

对非管理员隐藏管理栏

从CSV导入用户

使用Ajax登录

模式窗口(免费版)

付费会员资格Pro

付费会员资格Pro-添加PayPal Express加载项

付费会员资格Pro-从CSV加载项导入用户

Qwizcards-在线测验和抽认卡

搜索引擎可见性

切片发票

切片发票(&P);联系人表格7

SOGO添加脚本页眉页脚

推荐小部件

WooCommerce公司

WooCommerce结账经理

WooCommerce助手

WooCommerce PDF水印WooCommerce条带网关

Wordfence安全

WordPress用户注释

WP弹跳器

WP全条纹自由

WP Pro测验

WPDM-按钮模板

WPDM-图像按钮

WPDM-PDF压模

Yoast搜索引擎优化

1 个回复
SO网友:Alexander Holsgrove

根据我的经验,你的插件太多了。禁用所有内容,请选择twenty**** 默认主题,然后重试。

您还应该检查您的服务器日志,看看是否可以在其中看到任何有帮助的内容(并将其张贴在此处)。

最后,备份整个站点(代码、上载、数据库),然后用干净的数据库干净地安装最新的Wordpress版本,看看是否仍然存在问题。您的主机或帐户上的某些配置可能仍然存在问题。

结束

相关推荐

Creating custom login errors

我希望能够创建自定义登录错误。例如,如果用户未登录就访问了受限区域,那么我将重定向到wp-login.php?ref=access 我想输出Restricted area, please login to continue. 或者类似的东西。你知道怎么做吗。我发现有过滤器login_errors 但是我在出现的代码中找不到其他地方,除了登录页面本身。最后,我真的不想为了做到这一点而改变任何核心文件。我花费了大量的时间和精力来确保wordpress的核心完全没有受到影响,以便我可以升级它。有人有什么想法吗?