The site can’t be reached, showing 503 response
-
Hello Team,
I hosted a WordPress site on AWS Lightsail last year, and for the past year, it has been working fine. However, starting from last month, the site has been going down multiple times a day. Each time it shows an ‘HTTP Error 503 Service Unavailable.’ When we check the instance, the CPU usage is high. After rebooting the instance, it works fine again. I’m not sure what is causing this issue.
Below you can find error logs
Mon Jul 10 05:45:54.595799 2023] [authz_core:error] [pid 846:tid 139813910988544] [client 44.210.245.139:45196] AH01630: client denied by server configuration: /opt/bitnami/wordpress/.htaccess
[Mon Jul 10 05:45:54.609416 2023] [authz_core:error] [pid 834:tid 139814481299200] [client 44.210.245.139:45222] AH01630: client denied by server configuration: /opt/bitnami/wordpress/.htaccess.BAK
[Mon Jul 10 05:46:00.963884 2023] [authz_core:error] [pid 834:tid 139814296659712] [client 44.210.245.139:45896] AH01630: client denied by server configuration: /opt/bitnami/wordpress/.user.ini
[Mon Jul 10 06:44:47.286502 2023] [autoindex:error] [pid 835:tid 139814464513792] [client 20.253.242.138:56423] AH01276: Cannot serve directory /opt/bitnami/wordpress/wp-admin/css/: No matching DirectoryIndex (index.html,index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive, referer: binance.com
[Mon Jul 10 07:48:02.326708 2023] [mpm_event:notice] [pid 827:tid 139815391861632] AH00493: SIGUSR1 received. Doing graceful restart
[Mon Jul 10 07:48:02.385702 2023] [ssl:warn] [pid 827:tid 139815391861632] AH01909: https://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 10 07:48:02.387405 2023] [mpm_event:notice] [pid 827:tid 139815391861632] AH00489: Apache/2.4.53 (Unix) OpenSSL/1.1.1n configured — resuming normal operations
[Mon Jul 10 07:48:02.387422 2023] [core:notice] [pid 827:tid 139815391861632] AH00094: Command line: ‘/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf’
[Mon Jul 10 08:17:03.383429 2023] [autoindex:error] [pid 13690:tid 139814598797056] [client 157.230.32.156:51185] AH01276: Cannot serve directory /opt/bitnami/wordpress/wp-admin/css/: No matching DirectoryIndex (index.html,index.html,index.htm,index.php) found, and server-generated directory index forbidden by Options directive, referer: binance.com
[Mon Jul 10 09:55:24.942661 2023] [proxy_fcgi:error] [pid 13951:tid 139814254696192] [client 52.4.52.157:45538] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 29360128) (tried to allocate 20480 bytes) in /bitnami/wordpress/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php on line 158PHP message: PHP Fatal error: Out of memory (allocated 29360128) (tried to allocate 20480 bytes) in /bitnami/wordpress/wp-content/plugins/webp-converter-for-media/vendor/composer/ClassLoader.php on line 582’
[Mon Jul 10 09:55:43.549362 2023] [proxy_fcgi:error] [pid 12915:tid 139814682724096] [client 196.6.208.24:53355] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 31457280) (tried to allocate 20480 bytes) in /opt/bitnami/wordpress/wp-includes/functions.php on line 4811PHP message: PHP Fatal error: Out of memory (allocated 31457280) (tried to allocate 20480 bytes) in /opt/bitnami/wordpress/wp-includes/class-wp-hook.php on line 301’, referer: https://www.encryptionconsulting.com/what-is-the-certificate-chain-of-trust
[Mon Jul 10 09:55:50.621701 2023] [proxy_fcgi:error] [pid 13951:tid 139814430942976] [client 86.6.184.78:53507] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 29360128) (tried to allocate 327680 bytes) in /bitnami/wordpress/wp-content/plugins/wp-rocket/inc/Engine/Optimization/Minify/CSS/Minify.php on line 215’, referer: https://www.google.com/
[Mon Jul 10 09:55:50.676625 2023] [proxy_fcgi:error] [pid 13951:tid 139814430942976] [client 86.6.184.78:53507] AH01071: Got error ‘PHP message: PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0’, referer: https://www.google.com/
[Mon Jul 10 09:58:34.774690 2023] [proxy_fcgi:error] [pid 13689:tid 139814380586752] [client 52.4.52.157:33354] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 31457280) (tried to allocate 20480 bytes) in /opt/bitnami/wordpress/wp-includes/rest-api/class-wp-rest-server.php on line 907PHP message: PHP Fatal error: Out of memory (allocated 31457280) (tried to allocate 20480 bytes) in /bitnami/wordpress/wp-content/plugins/wordpress-seo/src/models/indexable.php on line 0’
[Mon Jul 10 09:58:50.702992 2023] [proxy_fcgi:error] [pid 12904:tid 139814380586752] [client 122.174.254.245:37181] AH01071: Got error ‘PHP message: WordPress database error Commands out of sync; you can’t run this command now for query SELECT COUNT(*) FROM wp_bv_fw_requests; made by BVFW->log, BVLogger->log, MCWPDb->rowsCount, MCWPDb->getVarPHP message: WordPress database error Commands out of sync; you can’t run this command now for query SHOW FULL COLUMNS FROMwp_bv_fw_requests
made by BVFW->log, BVLogger->log, MCWPDb->replaceIntoBVTable’, referer: https://www.google.com/Additionally, I modified the php.ini file to increase the memory_limit to 1024M.
I am sorry, this is my first question, I don’t know, what is causing the issue, so I pasted all error_logs
Could you please assist me in identifying the cause of these issues and provide steps to resolve them?
- The topic ‘The site can’t be reached, showing 503 response’ is closed to new replies.