"优雅重启"前,Lightsail服务器宕机了几个小时。

0

【以下的问题经过翻译处理】 连续两周,我接收到JetPack消息称我的网站已经宕机,在每天自动重启前数小时内(AH00493: SIGUSR1 received. Doing graceful restart)。我不确定该重启是否为自动重启或与宕机有 关。 错误日志每隔几秒钟出现与WP-Fastest Cache相关的连续错误,以下是一些错误日志信息:

最后几行错误信息

[Sun Mar 13 22:35:38.295213 2022] [proxy_fcgi:error] [pid 24517:tid xxx] [client xxxx] AH01071: Got error 'PHP message: PHP Warning: include_once(/bitnami/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /bitnami/wordpress/wp-content/advanced-cache.php on line 22PHP message: PHP Warning: include_once(): Failed opening '/bitnami/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase1.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /bitnami/wordpress/wp-content/advanced-cache.php on line 22'

服务器宕机?

[Mon Mar 14 00:00:01.635219 2022] [mpm_event:notice] [pid xx:tid xxxx] AH00493: SIGUSR1 received. Doing graceful restart [Mon Mar 14 00:00:01.644021 2022] [mpm_event:notice] [pid xxx:tid xxxx] AH00489: Apache/2.4.52 (Unix) OpenSSL/1.1.1d configured -- resuming normal operations [Mon Mar 14 00:00:01.644034 2022] [core:notice] [pid xxx:tid xxx] AH00094: Command line: '/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf'

服务器重启后,错误依然存在:

[Mon Mar 14 00:00:32.243839 2022] [proxy_fcgi:error] [pid xx:tid xxx] [client xxx:46500] AH01071: Got error 'PHP message: PHP Warning: include_once(/bitnami/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /bitnami/wordpress/wp-content/advanced-cache.php on line 22PHP message: PHP Warning: include_once(): Failed opening '/bitnami/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase1.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /bitnami/wordpress/wp-content/advanced-cache.php on line 22'
profile picture
专家
已提问 5 个月前13 查看次数
1 回答
0

【以下的回答经过翻译处理】 * Lightsail的服务等级协议低于99.99%,但高于或等于95.0%。https://aws.amazon.com/lightsail/sla-lightsail-instances-and-block-storage/

  • 建议使用带有两个实例(不同的可用区)的负载均衡器,这将帮助您支持容错。如果负载较高,请使用自动缩放。您将获得大于99.99%的服务等级协议。
profile picture
专家
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则